TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptDhNull.c
Go to the documentation of this file.
1
10#include "InternalCryptLib.h"
11
19VOID *
20EFIAPI
22 VOID
23 )
24{
25 ASSERT (FALSE);
26 return NULL;
27}
28
37VOID
38EFIAPI
40 IN VOID *DhContext
41 )
42{
43 ASSERT (FALSE);
44}
45
59BOOLEAN
60EFIAPI
62 IN OUT VOID *DhContext,
64 IN UINTN PrimeLength,
65 OUT UINT8 *Prime
66 )
67{
68 ASSERT (FALSE);
69 return FALSE;
70}
71
85BOOLEAN
86EFIAPI
88 IN OUT VOID *DhContext,
90 IN UINTN PrimeLength,
91 IN CONST UINT8 *Prime
92 )
93{
94 ASSERT (FALSE);
95 return FALSE;
96}
97
111BOOLEAN
112EFIAPI
114 IN OUT VOID *DhContext,
115 OUT UINT8 *PublicKey,
116 IN OUT UINTN *PublicKeySize
117 )
118{
119 ASSERT (FALSE);
120 return FALSE;
121}
122
138BOOLEAN
139EFIAPI
141 IN OUT VOID *DhContext,
142 IN CONST UINT8 *PeerPublicKey,
143 IN UINTN PeerPublicKeySize,
144 OUT UINT8 *Key,
145 IN OUT UINTN *KeySize
146 )
147{
148 ASSERT (FALSE);
149 return FALSE;
150}
UINT64 UINTN
#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
BOOLEAN EFIAPI DhGenerateParameter(IN OUT VOID *DhContext, IN UINTN Generator, IN UINTN PrimeLength, OUT UINT8 *Prime)
Definition: CryptDhNull.c:61
VOID *EFIAPI DhNew(VOID)
Definition: CryptDhNull.c:21
BOOLEAN EFIAPI DhGenerateKey(IN OUT VOID *DhContext, OUT UINT8 *PublicKey, IN OUT UINTN *PublicKeySize)
Definition: CryptDhNull.c:113
VOID EFIAPI DhFree(IN VOID *DhContext)
Definition: CryptDhNull.c:39
BOOLEAN EFIAPI DhSetParameter(IN OUT VOID *DhContext, IN UINTN Generator, IN UINTN PrimeLength, IN CONST UINT8 *Prime)
Definition: CryptDhNull.c:87
BOOLEAN EFIAPI DhComputeKey(IN OUT VOID *DhContext, IN CONST UINT8 *PeerPublicKey, IN UINTN PeerPublicKeySize, OUT UINT8 *Key, IN OUT UINTN *KeySize)
Definition: CryptDhNull.c:140