TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptRsaBasicNull.c
Go to the documentation of this file.
1
15#include "InternalCryptLib.h"
16
24VOID *
25EFIAPI
27 VOID
28 )
29{
30 //
31 // Allocates & Initializes RSA Context
32 //
33 ASSERT (FALSE);
34 return NULL;
35}
36
43VOID
44EFIAPI
46 IN VOID *RsaContext
47 )
48{
49 //
50 // Free RSA Context
51 //
52 ASSERT (FALSE);
53}
54
77BOOLEAN
78EFIAPI
80 IN OUT VOID *RsaContext,
81 IN RSA_KEY_TAG KeyTag,
82 IN CONST UINT8 *BigNumber,
83 IN UINTN BnSize
84 )
85{
86 ASSERT (FALSE);
87 return FALSE;
88}
89
109BOOLEAN
110EFIAPI
112 IN VOID *RsaContext,
113 IN CONST UINT8 *MessageHash,
114 IN UINTN HashSize,
115 IN CONST UINT8 *Signature,
116 IN UINTN SigSize
117 )
118{
119 ASSERT (FALSE);
120 return FALSE;
121}
UINT64 UINTN
RSA_KEY_TAG
Definition: BaseCryptLib.h:74
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID *EFIAPI RsaNew(VOID)
BOOLEAN EFIAPI RsaSetKey(IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, IN CONST UINT8 *BigNumber, IN UINTN BnSize)
VOID EFIAPI RsaFree(IN VOID *RsaContext)
BOOLEAN EFIAPI RsaPkcs1Verify(IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashSize, IN CONST UINT8 *Signature, IN UINTN SigSize)