]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/RandomNumberGenerator/RngDxe/AesCore.h
2 Function prototype for AES Block Cipher support.
4 Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __AES_CORE_H__
16 #define __AES_CORE_H__
19 Encrypts one single block data (128 bits) with AES algorithm.
21 @param[in] Key AES symmetric key buffer.
22 @param[in] InData One block of input plaintext to be encrypted.
23 @param[out] OutData Encrypted output ciphertext.
25 @retval EFI_SUCCESS AES Block Encryption succeeded.
26 @retval EFI_INVALID_PARAMETER One or more parameters are invalid.
37 #endif // __AES_CORE_H__