TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptHmacNull.c
Go to the documentation of this file.
1
9#include "InternalCryptLib.h"
10
19VOID *
20EFIAPI
22 VOID
23 )
24{
25 ASSERT (FALSE);
26 return NULL;
27}
28
37VOID
38EFIAPI
40 IN VOID *HmacSha256Ctx
41 )
42{
43 ASSERT (FALSE);
44 return;
45}
46
60BOOLEAN
61EFIAPI
63 OUT VOID *HmacSha256Context,
64 IN CONST UINT8 *Key,
65 IN UINTN KeySize
66 )
67{
68 ASSERT (FALSE);
69 return FALSE;
70}
71
83BOOLEAN
84EFIAPI
86 IN CONST VOID *HmacSha256Context,
87 OUT VOID *NewHmacSha256Context
88 )
89{
90 ASSERT (FALSE);
91 return FALSE;
92}
93
106BOOLEAN
107EFIAPI
109 IN OUT VOID *HmacSha256Context,
110 IN CONST VOID *Data,
111 IN UINTN DataSize
112 )
113{
114 ASSERT (FALSE);
115 return FALSE;
116}
117
130BOOLEAN
131EFIAPI
133 IN OUT VOID *HmacSha256Context,
134 OUT UINT8 *HmacValue
135 )
136{
137 ASSERT (FALSE);
138 return FALSE;
139}
140
161BOOLEAN
162EFIAPI
164 IN CONST VOID *Data,
165 IN UINTN DataSize,
166 IN CONST UINT8 *Key,
167 IN UINTN KeySize,
168 OUT UINT8 *HmacValue
169 )
170{
171 ASSERT (FALSE);
172 return FALSE;
173}
174
182VOID *
183EFIAPI
185 VOID
186 )
187{
188 ASSERT (FALSE);
189 return NULL;
190}
191
198VOID
199EFIAPI
201 IN VOID *HmacSha384Ctx
202 )
203{
204 ASSERT (FALSE);
205 return;
206}
207
224BOOLEAN
225EFIAPI
227 OUT VOID *HmacSha384Context,
228 IN CONST UINT8 *Key,
229 IN UINTN KeySize
230 )
231{
232 ASSERT (FALSE);
233 return FALSE;
234}
235
251BOOLEAN
252EFIAPI
254 IN CONST VOID *HmacSha384Context,
255 OUT VOID *NewHmacSha384Context
256 )
257{
258 ASSERT (FALSE);
259 return FALSE;
260}
261
282BOOLEAN
283EFIAPI
285 IN OUT VOID *HmacSha384Context,
286 IN CONST VOID *Data,
287 IN UINTN DataSize
288 )
289{
290 ASSERT (FALSE);
291 return FALSE;
292}
293
316BOOLEAN
317EFIAPI
319 IN OUT VOID *HmacSha384Context,
320 OUT UINT8 *HmacValue
321 )
322{
323 ASSERT (FALSE);
324 return FALSE;
325}
326
347BOOLEAN
348EFIAPI
350 IN CONST VOID *Data,
351 IN UINTN DataSize,
352 IN CONST UINT8 *Key,
353 IN UINTN KeySize,
354 OUT UINT8 *HmacValue
355 )
356{
357 ASSERT (FALSE);
358 return FALSE;
359}
UINT64 UINTN
BOOLEAN EFIAPI HmacSha384Update(IN OUT VOID *HmacSha384Context, IN CONST VOID *Data, IN UINTN DataSize)
BOOLEAN EFIAPI HmacSha384SetKey(OUT VOID *HmacSha384Context, IN CONST UINT8 *Key, IN UINTN KeySize)
VOID *EFIAPI HmacSha256New(VOID)
Definition: CryptHmacNull.c:21
BOOLEAN EFIAPI HmacSha256Duplicate(IN CONST VOID *HmacSha256Context, OUT VOID *NewHmacSha256Context)
Definition: CryptHmacNull.c:85
VOID *EFIAPI HmacSha384New(VOID)
BOOLEAN EFIAPI HmacSha384All(IN CONST VOID *Data, IN UINTN DataSize, IN CONST UINT8 *Key, IN UINTN KeySize, OUT UINT8 *HmacValue)
VOID EFIAPI HmacSha384Free(IN VOID *HmacSha384Ctx)
VOID EFIAPI HmacSha256Free(IN VOID *HmacSha256Ctx)
Definition: CryptHmacNull.c:39
BOOLEAN EFIAPI HmacSha384Duplicate(IN CONST VOID *HmacSha384Context, OUT VOID *NewHmacSha384Context)
BOOLEAN EFIAPI HmacSha384Final(IN OUT VOID *HmacSha384Context, OUT UINT8 *HmacValue)
BOOLEAN EFIAPI HmacSha256SetKey(OUT VOID *HmacSha256Context, IN CONST UINT8 *Key, IN UINTN KeySize)
Definition: CryptHmacNull.c:62
BOOLEAN EFIAPI HmacSha256Update(IN OUT VOID *HmacSha256Context, IN CONST VOID *Data, IN UINTN DataSize)
BOOLEAN EFIAPI HmacSha256All(IN CONST VOID *Data, IN UINTN DataSize, IN CONST UINT8 *Key, IN UINTN KeySize, OUT UINT8 *HmacValue)
BOOLEAN EFIAPI HmacSha256Final(IN OUT VOID *HmacSha256Context, OUT UINT8 *HmacValue)
#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