TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptAeadAesGcmNull.c
Go to the documentation of this file.
1
9#include "InternalCryptLib.h"
10
35BOOLEAN
36EFIAPI
38 IN CONST UINT8 *Key,
39 IN UINTN KeySize,
40 IN CONST UINT8 *Iv,
41 IN UINTN IvSize,
42 IN CONST UINT8 *AData,
43 IN UINTN ADataSize,
44 IN CONST UINT8 *DataIn,
45 IN UINTN DataInSize,
46 OUT UINT8 *TagOut,
47 IN UINTN TagSize,
48 OUT UINT8 *DataOut,
49 OUT UINTN *DataOutSize
50 )
51{
52 ASSERT (FALSE);
53 return FALSE;
54}
55
81BOOLEAN
82EFIAPI
84 IN CONST UINT8 *Key,
85 IN UINTN KeySize,
86 IN CONST UINT8 *Iv,
87 IN UINTN IvSize,
88 IN CONST UINT8 *AData,
89 IN UINTN ADataSize,
90 IN CONST UINT8 *DataIn,
91 IN UINTN DataInSize,
92 IN CONST UINT8 *Tag,
93 IN UINTN TagSize,
94 OUT UINT8 *DataOut,
95 OUT UINTN *DataOutSize
96 )
97{
98 ASSERT (FALSE);
99 return FALSE;
100}
UINT64 UINTN
BOOLEAN EFIAPI AeadAesGcmDecrypt(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Iv, IN UINTN IvSize, IN CONST UINT8 *AData, IN UINTN ADataSize, IN CONST UINT8 *DataIn, IN UINTN DataInSize, IN CONST UINT8 *Tag, IN UINTN TagSize, OUT UINT8 *DataOut, OUT UINTN *DataOutSize)
BOOLEAN EFIAPI AeadAesGcmEncrypt(IN CONST UINT8 *Key, IN UINTN KeySize, IN CONST UINT8 *Iv, IN UINTN IvSize, IN CONST UINT8 *AData, IN UINTN ADataSize, IN CONST UINT8 *DataIn, IN UINTN DataInSize, OUT UINT8 *TagOut, IN UINTN TagSize, OUT UINT8 *DataOut, OUT UINTN *DataOutSize)
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284