UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
47 of 1269
NXP Semiconductors
UM10503
Chapter 6: LPC43xx Security API
Remark:
The randomly generated and software defined keys are not retained during
Deep power-down and reset and must be reloaded.
Remark:
To update the Random Number Generator (RNG) and load a new random
number, first use the otp_GenRand() API call, and then the aes_LoadKeyRNG() call (see
).
6.4 AES API
The AES is controlled through a set of simple API calls located in the LPC43Sxx ROM.
The API calls to the ROM are performed by executing functions which are pointed to by
pointer within the ROM driver table.
6.4.1 AES function allocation
The ROM-based security API controls the AES block.
Fig 19. AES driver pointer structure
Ptr to ROM Driver table
Ptr to Device Table 0
…
aes_SetMode
aes_Init
Ptr to Function 2
Ptr to Function 0
Ptr to Function 1
…
Ptr to Function n
AES Driver
0x1040 0108
Device 0
ROM Driver Table
0x1040 0100
0x1040 0104
0x1040 0108
0x1040 010C
Ptr to AES driver table
Ptr to Device Table 1
Ptr to Device Table n
aes_LoadKey1
aes_LoadKey2
aes_LoadKeyRNG
aes_Operate
aes_ProgramKey1
aes_ProgramKey2
aes_LoadIVIC
aes_LoadIVSW
aes_LoadKeySW