TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptSha256Null.c
Go to the documentation of this file.
1
9#include "InternalCryptLib.h"
10
18EFIAPI
20 VOID
21 )
22{
23 ASSERT (FALSE);
24 return 0;
25}
26
39BOOLEAN
40EFIAPI
42 OUT VOID *Sha256Context
43 )
44{
45 ASSERT (FALSE);
46 return FALSE;
47}
48
62BOOLEAN
63EFIAPI
65 IN CONST VOID *Sha256Context,
66 OUT VOID *NewSha256Context
67 )
68{
69 ASSERT (FALSE);
70 return FALSE;
71}
72
91BOOLEAN
92EFIAPI
94 IN OUT VOID *Sha256Context,
95 IN CONST VOID *Data,
96 IN UINTN DataSize
97 )
98{
99 ASSERT (FALSE);
100 return FALSE;
101}
102
123BOOLEAN
124EFIAPI
126 IN OUT VOID *Sha256Context,
127 OUT UINT8 *HashValue
128 )
129{
130 ASSERT (FALSE);
131 return FALSE;
132}
133
152BOOLEAN
153EFIAPI
155 IN CONST VOID *Data,
156 IN UINTN DataSize,
157 OUT UINT8 *HashValue
158 )
159{
160 ASSERT (FALSE);
161 return FALSE;
162}
UINT64 UINTN
UINTN EFIAPI Sha256GetContextSize(VOID)
BOOLEAN EFIAPI Sha256Init(OUT VOID *Sha256Context)
BOOLEAN EFIAPI Sha256Final(IN OUT VOID *Sha256Context, OUT UINT8 *HashValue)
BOOLEAN EFIAPI Sha256Duplicate(IN CONST VOID *Sha256Context, OUT VOID *NewSha256Context)
BOOLEAN EFIAPI Sha256HashAll(IN CONST VOID *Data, IN UINTN DataSize, OUT UINT8 *HashValue)
BOOLEAN EFIAPI Sha256Update(IN OUT VOID *Sha256Context, IN CONST VOID *Data, IN UINTN DataSize)
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284