TianoCore EDK2 master
|
#include "InternalCryptLib.h"
Go to the source code of this file.
Functions | |
UINTN EFIAPI | AesGetContextSize (VOID) |
BOOLEAN EFIAPI | AesInit (OUT VOID *AesContext, IN CONST UINT8 *Key, IN UINTN KeyLength) |
BOOLEAN EFIAPI | AesEcbEncrypt (IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, OUT UINT8 *Output) |
BOOLEAN EFIAPI | AesEcbDecrypt (IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, OUT UINT8 *Output) |
BOOLEAN EFIAPI | AesCbcEncrypt (IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, IN CONST UINT8 *Ivec, OUT UINT8 *Output) |
BOOLEAN EFIAPI | AesCbcDecrypt (IN VOID *AesContext, IN CONST UINT8 *Input, IN UINTN InputSize, IN CONST UINT8 *Ivec, OUT UINT8 *Output) |
AES Wrapper Implementation which does not provide real capabilities.
Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CryptAesNull.c.
BOOLEAN EFIAPI AesCbcDecrypt | ( | IN VOID * | AesContext, |
IN CONST UINT8 * | Input, | ||
IN UINTN | InputSize, | ||
IN CONST UINT8 * | Ivec, | ||
OUT UINT8 * | Output | ||
) |
Performs AES decryption on a data buffer of the specified size in CBC mode.
Return FALSE to indicate this interface is not supported.
[in] | AesContext | Pointer to the AES context. |
[in] | Input | Pointer to the buffer containing the data to be encrypted. |
[in] | InputSize | Size of the Input buffer in bytes. |
[in] | Ivec | Pointer to initialization vector. |
[out] | Output | Pointer to a buffer that receives the AES encryption output. |
FALSE | This interface is not supported. |
Definition at line 149 of file CryptAesNull.c.
BOOLEAN EFIAPI AesCbcEncrypt | ( | IN VOID * | AesContext, |
IN CONST UINT8 * | Input, | ||
IN UINTN | InputSize, | ||
IN CONST UINT8 * | Ivec, | ||
OUT UINT8 * | Output | ||
) |
Performs AES encryption on a data buffer of the specified size in CBC mode.
Return FALSE to indicate this interface is not supported.
[in] | AesContext | Pointer to the AES context. |
[in] | Input | Pointer to the buffer containing the data to be encrypted. |
[in] | InputSize | Size of the Input buffer in bytes. |
[in] | Ivec | Pointer to initialization vector. |
[out] | Output | Pointer to a buffer that receives the AES encryption output. |
FALSE | This interface is not supported. |
Definition at line 121 of file CryptAesNull.c.
BOOLEAN EFIAPI AesEcbDecrypt | ( | IN VOID * | AesContext, |
IN CONST UINT8 * | Input, | ||
IN UINTN | InputSize, | ||
OUT UINT8 * | Output | ||
) |
Performs AES decryption on a data buffer of the specified size in ECB mode.
Return FALSE to indicate this interface is not supported.
[in] | AesContext | Pointer to the AES context. |
[in] | Input | Pointer to the buffer containing the data to be decrypted. |
[in] | InputSize | Size of the Input buffer in bytes. |
[out] | Output | Pointer to a buffer that receives the AES decryption output. |
FALSE | This interface is not supported. |
Definition at line 94 of file CryptAesNull.c.
BOOLEAN EFIAPI AesEcbEncrypt | ( | IN VOID * | AesContext, |
IN CONST UINT8 * | Input, | ||
IN UINTN | InputSize, | ||
OUT UINT8 * | Output | ||
) |
Performs AES encryption on a data buffer of the specified size in ECB mode.
Return FALSE to indicate this interface is not supported.
[in] | AesContext | Pointer to the AES context. |
[in] | Input | Pointer to the buffer containing the data to be encrypted. |
[in] | InputSize | Size of the Input buffer in bytes. |
[out] | Output | Pointer to a buffer that receives the AES encryption output. |
FALSE | This interface is not supported. |
Definition at line 68 of file CryptAesNull.c.
UINTN EFIAPI AesGetContextSize | ( | VOID | ) |
Retrieves the size, in bytes, of the context buffer required for AES operations.
Return zero to indicate this interface is not supported.
0 | This interface is not supported. |
Definition at line 21 of file CryptAesNull.c.
Initializes user-supplied memory as AES context for subsequent use.
Return FALSE to indicate this interface is not supported.
[out] | AesContext | Pointer to AES context being initialized. |
[in] | Key | Pointer to the user-supplied AES key. |
[in] | KeyLength | Length of AES key in bits. |
FALSE | This interface is not supported. |
Definition at line 43 of file CryptAesNull.c.