TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptHkdfNull.c
Go to the documentation of this file.
1
10#include <Library/DebugLib.h>
11
28BOOLEAN
29EFIAPI
31 IN CONST UINT8 *Key,
32 IN UINTN KeySize,
33 IN CONST UINT8 *Salt,
34 IN UINTN SaltSize,
35 IN CONST UINT8 *Info,
36 IN UINTN InfoSize,
37 OUT UINT8 *Out,
38 IN UINTN OutSize
39 )
40{
41 ASSERT (FALSE);
42 return FALSE;
43}
44
59BOOLEAN
60EFIAPI
62 IN CONST UINT8 *Key,
63 IN UINTN KeySize,
64 IN CONST UINT8 *Salt,
65 IN UINTN SaltSize,
66 OUT UINT8 *PrkOut,
67 UINTN PrkOutSize
68 )
69{
70 ASSERT (FALSE);
71 return FALSE;
72}
73
88BOOLEAN
89EFIAPI
91 IN CONST UINT8 *Prk,
92 IN UINTN PrkSize,
93 IN CONST UINT8 *Info,
94 IN UINTN InfoSize,
95 OUT UINT8 *Out,
96 IN UINTN OutSize
97 )
98{
99 ASSERT (FALSE);
100 return FALSE;
101}
102
119BOOLEAN
120EFIAPI
122 IN CONST UINT8 *Key,
123 IN UINTN KeySize,
124 IN CONST UINT8 *Salt,
125 IN UINTN SaltSize,
126 IN CONST UINT8 *Info,
127 IN UINTN InfoSize,
128 OUT UINT8 *Out,
129 IN UINTN OutSize
130 )
131{
132 ASSERT (FALSE);
133 return FALSE;
134}
135
150BOOLEAN
151EFIAPI
153 IN CONST UINT8 *Key,
154 IN UINTN KeySize,
155 IN CONST UINT8 *Salt,
156 IN UINTN SaltSize,
157 OUT UINT8 *PrkOut,
158 UINTN PrkOutSize
159 )
160{
161 ASSERT (FALSE);
162 return FALSE;
163}
164
179BOOLEAN
180EFIAPI
182 IN CONST UINT8 *Prk,
183 IN UINTN PrkSize,
184 IN CONST UINT8 *Info,
185 IN UINTN InfoSize,
186 OUT UINT8 *Out,
187 IN UINTN OutSize
188 )
189{
190 ASSERT (FALSE);
191 return FALSE;
192}
UINT64 UINTN
BOOLEAN EFIAPI HkdfSha256Extract(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Salt, IN UINTN SaltSize, OUT UINT8 *PrkOut, UINTN PrkOutSize)
Definition: CryptHkdfNull.c:61
BOOLEAN EFIAPI HkdfSha384ExtractAndExpand(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Salt, IN UINTN SaltSize, IN CONST UINT8 *Info, IN UINTN InfoSize, OUT UINT8 *Out, IN UINTN OutSize)
BOOLEAN EFIAPI HkdfSha384Extract(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Salt, IN UINTN SaltSize, OUT UINT8 *PrkOut, UINTN PrkOutSize)
BOOLEAN EFIAPI HkdfSha256Expand(IN CONST UINT8 *Prk, IN UINTN PrkSize, IN CONST UINT8 *Info, IN UINTN InfoSize, OUT UINT8 *Out, IN UINTN OutSize)
Definition: CryptHkdfNull.c:90
BOOLEAN EFIAPI HkdfSha256ExtractAndExpand(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Salt, IN UINTN SaltSize, IN CONST UINT8 *Info, IN UINTN InfoSize, OUT UINT8 *Out, IN UINTN OutSize)
Definition: CryptHkdfNull.c:30
BOOLEAN EFIAPI HkdfSha384Expand(IN CONST UINT8 *Prk, IN UINTN PrkSize, IN CONST UINT8 *Info, IN UINTN InfoSize, OUT UINT8 *Out, IN UINTN OutSize)
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284