English
Language : 

TM4C129ENCZAD Datasheet, PDF (987/2037 Pages) Texas Instruments – Tiva Microcontroller
Tiva™ TM4C129ENCZAD Microcontroller
1. Enable F8 Mode by setting the F8 bit in the AES_CTRL register.
2. Select the counter width by programming the CTR_WIDTH field in the AES_CTRL register.
3. Set the key size to 128 bits by setting the KEY_SIZE field to 0x1 in the AES_CTRL register.
4. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
Subsequence: Initialize XTS AES Core Mode
The steps for XTS mode configuration are as follows:
1. Enable XTS Mode by configuring the XTS field in the AES_CTRL register.
2. If the XTS field in the AES_CTRL register indicates that the AAD length is required, load the
AAD length in the AES_AUTH_LENGTH register.
3. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
Subsequence: Initialize CFB AES Core Mode
To initialize the AES code for CFB mode:
1. Enable CFB Mode by setting the CFB bit in the AES_CTRL register.
2. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
Subsequence: Initialize ICM AES Core Mode
To initialize the AES code for ICM mode:
1. Enable ICM Mode by setting the ICM bit in the AES_CTRL register.
2. Configure for a 16-bit counter by programming the CTR_WIDTH to 0x0 in the AES_CTRL register.
3. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
Subsequence: Initialize CTR AES Core Mode
To initialize CTR mode:
1. Enable CTR Mode by setting the CTR bit in the AES_CTRL register.
2. Select counter width by programming the CTR_WIDTH in the AES_CTRL register.
3. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
Subsequence: Initialize CBC AES Core Mode
To configure CBC mode:
1. Enable CBC Mode by setting the MODE bit in the AES_CTRL register.
2. Load the AES Initialization Vector Input n (AES_IV_IN_n) registers at offset 0x040 to 0x04C.
June 18, 2014
987
Texas Instruments-Production Data