TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptRsaExtNull.c
Go to the documentation of this file.
1
15#include "InternalCryptLib.h"
16
31BOOLEAN
32EFIAPI
34 IN OUT VOID *RsaContext,
35 IN RSA_KEY_TAG KeyTag,
36 OUT UINT8 *BigNumber,
37 IN OUT UINTN *BnSize
38 )
39{
40 ASSERT (FALSE);
41 return FALSE;
42}
43
57BOOLEAN
58EFIAPI
60 IN OUT VOID *RsaContext,
61 IN UINTN ModulusLength,
62 IN CONST UINT8 *PublicExponent,
63 IN UINTN PublicExponentSize
64 )
65{
66 ASSERT (FALSE);
67 return FALSE;
68}
69
80BOOLEAN
81EFIAPI
83 IN VOID *RsaContext
84 )
85{
86 ASSERT (FALSE);
87 return FALSE;
88}
89
105BOOLEAN
106EFIAPI
108 IN VOID *RsaContext,
109 IN CONST UINT8 *MessageHash,
110 IN UINTN HashSize,
111 OUT UINT8 *Signature,
112 IN OUT UINTN *SigSize
113 )
114{
115 ASSERT (FALSE);
116 return FALSE;
117}
UINT64 UINTN
RSA_KEY_TAG
Definition: BaseCryptLib.h:74
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
BOOLEAN EFIAPI RsaCheckKey(IN VOID *RsaContext)
BOOLEAN EFIAPI RsaGetKey(IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, OUT UINT8 *BigNumber, IN OUT UINTN *BnSize)
BOOLEAN EFIAPI RsaGenerateKey(IN OUT VOID *RsaContext, IN UINTN ModulusLength, IN CONST UINT8 *PublicExponent, IN UINTN PublicExponentSize)
BOOLEAN EFIAPI RsaPkcs1Sign(IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashSize, OUT UINT8 *Signature, IN OUT UINTN *SigSize)