LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
aes_18xx_43xx.h File Reference

Go to the source code of this file.

Enumerations

enum  CHIP_AES_OP_MODE_T { CHIP_AES_API_CMD_ENCODE_ECB, CHIP_AES_API_CMD_DECODE_ECB, CHIP_AES_API_CMD_ENCODE_CBC, CHIP_AES_API_CMD_DECODE_CBC }
 AES Engine operation mode. More...
 

Functions

void Chip_AES_Init (void)
 Initialize the AES Engine function.
 
uint32_t Chip_AES_SetMode (CHIP_AES_OP_MODE_T AesMode)
 Set operation mode in AES Engine.
 
void Chip_AES_LoadKey (uint32_t keyNum)
 Load 128-bit AES user key in AES Engine.
 
void Chip_AES_LoadKeyRNG (void)
 Load randomly generated key in AES engine.
 
void Chip_AES_LoadKeySW (uint8_t *pKey)
 Load 128-bit AES software defined user key in AES Engine.
 
void Chip_AES_LoadIV_SW (uint8_t *pVector)
 Load 128-bit AES initialization vector in AES Engine.
 
void Chip_AES_LoadIV_IC (void)
 Load IC specific 128-bit AES initialization vector in AES Engine.
 
uint32_t Chip_AES_Operate (uint8_t *pDatOut, uint8_t *pDatIn, uint32_t Size)
 Operate AES Engine.
 
uint32_t Chip_AES_ProgramKey (uint32_t KeyNum, uint8_t *pKey)
 Program 128-bit AES Key in OTP.