| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
aes_18xx_43xx.c File Reference
`#include "chip.h"`

Go to the source code of this file.

## Macros
#define | BOOTROM_BASE 0x10400100
#define | AES_API_TABLE_OFFSET 0x2

## 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.

## Variables
static unsigned long * | BOOTROM_API_TABLE
static uint32_t(* | aes_SetMode )(CHIP_AES_OP_MODE_T AesMode)
static void(* | aes_LoadKey1 )(void)
static void(* | aes_LoadKey2 )(void)
static void(* | aes_LoadKeyRNG )(void)
static void(* | aes_LoadKeySW )(uint8_t *pKey)
static void(* | aes_LoadIV_SW )(uint8_t *pVector)
static void(* | aes_LoadIV_IC )(void)
static uint32_t(* | aes_Operate )(uint8_t *pDatOut, uint8_t *pDatIn, uint32_t size)
static uint32_t(* | aes_ProgramKey1 )(uint8_t *pKey)
static uint32_t(* | aes_ProgramKey2 )(uint8_t *pKey)

## Macro Definition Documentation

#define AES_API_TABLE_OFFSET 0x2

Definition at line 39 of file aes_18xx_43xx.c.

#define BOOTROM_BASE 0x10400100

Definition at line 38 of file aes_18xx_43xx.c.

## Variable Documentation

void(* aes_LoadIV_IC)(void)
| static

Definition at line 57 of file aes_18xx_43xx.c.

void(* aes_LoadIV_SW)(uint8_t *pVector)
| static

Definition at line 56 of file aes_18xx_43xx.c.

void(* aes_LoadKey1)(void)
| static

Definition at line 52 of file aes_18xx_43xx.c.

void(* aes_LoadKey2)(void)
| static

Definition at line 53 of file aes_18xx_43xx.c.

void(* aes_LoadKeyRNG)(void)
| static

Definition at line 54 of file aes_18xx_43xx.c.

void(* aes_LoadKeySW)(uint8_t *pKey)
| static

Definition at line 55 of file aes_18xx_43xx.c.

uint32_t(* aes_Operate)(uint8_t *pDatOut, uint8_t *pDatIn, uint32_t size)
| static

Definition at line 58 of file aes_18xx_43xx.c.

uint32_t(* aes_ProgramKey1)(uint8_t *pKey)
| static

Definition at line 59 of file aes_18xx_43xx.c.

uint32_t(* aes_ProgramKey2)(uint8_t *pKey)
| static

Definition at line 60 of file aes_18xx_43xx.c.

uint32_t(* aes_SetMode)(CHIP_AES_OP_MODE_T AesMode)
| static

Definition at line 51 of file aes_18xx_43xx.c.

unsigned long* BOOTROM_API_TABLE
| static

Definition at line 41 of file aes_18xx_43xx.c.