English
Language : 

UM10430 Datasheet, PDF (34/1164 Pages) NXP Semiconductors – LPC18xx ARM Cortex-M3 microcontroller
NXP Semiconductors
Vpp 3V3
Vdd 1V2
JTAG
CPU
Fig 16. AES engine
OTP0
UM10430 COhTaPp1terD4R:AFLTPODCTRP1AD28FRTxADxFTRSADFeRTcADDFRuTRArAiFDtTFRyTADfDFReTRDAaARFDtTFARuTFADrTDFReTRDAsARDFTFDARTRFADTADFRTFRDATADRF
RNG
AES_key
OTP controller
AHB2APB
AHB
AES engine
Control Data
GPDMA
4.4 AES API calls
4.4.1 Security API
The security API controls the AES block.
Table 11. Security API calls
Function
AES_API_Set_Mode
Offset relative to
the API entry
point
0x00
Description
Defines AES engine operation mode
Parameter: unsigned cmd with values:
0 - Reserved. Do not use.
1 - AES_API_CMD_DECODE_ECB
2 - Reserved. Do not use.
3 - AES_API_CMD_DECODE_CBC
Return - unsigned: see general error
codes.
AES_API_Load_Key_1
0x04
Loads 128 bit AES user key 1
Parameter - void
Return - void
AES_API_Load_Key_2
0x08
Loads 128 bit AES user key 2
Parameter - void
Return - void
AES_API_Load_Key_RNG 0x0C
Loads randomly generated key in AES engine.
Parameter - void
Return - void
<Document ID>
User manual
All information provided in this document is subject to legal disclaimers.
Rev. 00.13 — 20 July 2011
© NXP B.V. 2011. All rights reserved.
34 of 1164