TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | AesEncrypt (IN UINT8 *Key, IN UINT8 *InData, OUT UINT8 *OutData) |
Function prototype for AES Block Cipher support.
Copyright (c) 2013, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AesCore.h.
EFI_STATUS EFIAPI AesEncrypt | ( | IN UINT8 * | Key, |
IN UINT8 * | InData, | ||
OUT UINT8 * | OutData | ||
) |
Encrypts one single block data (128 bits) with AES algorithm.
[in] | Key | AES symmetric key buffer. |
[in] | InData | One block of input plaintext to be encrypted. |
[out] | OutData | Encrypted output ciphertext. |
EFI_SUCCESS | AES Block Encryption succeeded. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |