TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptAesNull.c
Go to the documentation of this file.
1
9#include "InternalCryptLib.h"
10
20EFIAPI
22 VOID
23 )
24{
25 ASSERT (FALSE);
26 return 0;
27}
28
41BOOLEAN
42EFIAPI
44 OUT VOID *AesContext,
45 IN CONST UINT8 *Key,
46 IN UINTN KeyLength
47 )
48{
49 ASSERT (FALSE);
50 return FALSE;
51}
52
66BOOLEAN
67EFIAPI
69 IN VOID *AesContext,
70 IN CONST UINT8 *Input,
71 IN UINTN InputSize,
72 OUT UINT8 *Output
73 )
74{
75 ASSERT (FALSE);
76 return FALSE;
77}
78
92BOOLEAN
93EFIAPI
95 IN VOID *AesContext,
96 IN CONST UINT8 *Input,
97 IN UINTN InputSize,
98 OUT UINT8 *Output
99 )
100{
101 ASSERT (FALSE);
102 return FALSE;
103}
104
119BOOLEAN
120EFIAPI
122 IN VOID *AesContext,
123 IN CONST UINT8 *Input,
124 IN UINTN InputSize,
125 IN CONST UINT8 *Ivec,
126 OUT UINT8 *Output
127 )
128{
129 ASSERT (FALSE);
130 return FALSE;
131}
132
147BOOLEAN
148EFIAPI
150 IN VOID *AesContext,
151 IN CONST UINT8 *Input,
152 IN UINTN InputSize,
153 IN CONST UINT8 *Ivec,
154 OUT UINT8 *Output
155 )
156{
157 ASSERT (FALSE);
158 return FALSE;
159}
UINT64 UINTN
BOOLEAN EFIAPI AesInit(OUT VOID *AesContext, IN CONST UINT8 *Key, IN UINTN KeyLength)
Definition: CryptAesNull.c:43
UINTN EFIAPI AesGetContextSize(VOID)
Definition: CryptAesNull.c:21
BOOLEAN EFIAPI AesCbcEncrypt(IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, IN CONST UINT8 *Ivec, OUT UINT8 *Output)
Definition: CryptAesNull.c:69
BOOLEAN EFIAPI AesCbcDecrypt(IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, IN CONST UINT8 *Ivec, OUT UINT8 *Output)
Definition: CryptAesNull.c:97
VOID EFIAPI Input(IN CHAR16 *Prompt OPTIONAL, OUT CHAR16 *InStr, IN UINTN StrLen)
Definition: EdbSupportUI.c:187
#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 AesEcbDecrypt(IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, OUT UINT8 *Output)
Definition: CryptAesNull.c:94
BOOLEAN EFIAPI AesEcbEncrypt(IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, OUT UINT8 *Output)
Definition: CryptAesNull.c:68