TianoCore EDK2 master
Loading...
Searching...
No Matches
AesCore.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI AesEncrypt (IN UINT8 *Key, IN UINT8 *InData, OUT UINT8 *OutData)
 

Detailed Description

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.

Function Documentation

◆ AesEncrypt()

EFI_STATUS EFIAPI AesEncrypt ( IN UINT8 *  Key,
IN UINT8 *  InData,
OUT UINT8 *  OutData 
)

Encrypts one single block data (128 bits) with AES algorithm.

Parameters
[in]KeyAES symmetric key buffer.
[in]InDataOne block of input plaintext to be encrypted.
[out]OutDataEncrypted output ciphertext.
Return values
EFI_SUCCESSAES Block Encryption succeeded.
EFI_INVALID_PARAMETEROne or more parameters are invalid.

Definition at line 215 of file AesCore.c.