TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptSha1Null.c
Go to the documentation of this file.
1
9#include "InternalCryptLib.h"
10
18EFIAPI
20 VOID
21 )
22{
23 //
24 // Retrieves SHA Context Size
25 //
26 ASSERT (FALSE);
27 return 0;
28}
29
42BOOLEAN
43EFIAPI
45 OUT VOID *Sha1Context
46 )
47{
48 ASSERT (FALSE);
49 return FALSE;
50}
51
65BOOLEAN
66EFIAPI
68 IN CONST VOID *Sha1Context,
69 OUT VOID *NewSha1Context
70 )
71{
72 ASSERT (FALSE);
73
74 return FALSE;
75}
76
95BOOLEAN
96EFIAPI
98 IN OUT VOID *Sha1Context,
99 IN CONST VOID *Data,
100 IN UINTN DataSize
101 )
102{
103 ASSERT (FALSE);
104 return FALSE;
105}
106
127BOOLEAN
128EFIAPI
130 IN OUT VOID *Sha1Context,
131 OUT UINT8 *HashValue
132 )
133{
134 ASSERT (FALSE);
135 return FALSE;
136}
137
156BOOLEAN
157EFIAPI
159 IN CONST VOID *Data,
160 IN UINTN DataSize,
161 OUT UINT8 *HashValue
162 )
163{
164 ASSERT (FALSE);
165 return FALSE;
166}
UINT64 UINTN
BOOLEAN EFIAPI Sha1Final(IN OUT VOID *Sha1Context, OUT UINT8 *HashValue)
BOOLEAN EFIAPI Sha1Duplicate(IN CONST VOID *Sha1Context, OUT VOID *NewSha1Context)
Definition: CryptSha1Null.c:67
BOOLEAN EFIAPI Sha1Init(OUT VOID *Sha1Context)
Definition: CryptSha1Null.c:44
BOOLEAN EFIAPI Sha1HashAll(IN CONST VOID *Data, IN UINTN DataSize, OUT UINT8 *HashValue)
UINTN EFIAPI Sha1GetContextSize(VOID)
Definition: CryptSha1Null.c:19
BOOLEAN EFIAPI Sha1Update(IN OUT VOID *Sha1Context, IN CONST VOID *Data, IN UINTN DataSize)
Definition: CryptSha1Null.c:97
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284