ATSAMS70J21B AES registers

The 41 registers of AES (Advanced Encryption Standard), from 0x4006C000, with their reset value and every field. The ATSAMS70J21B has 2129 registers in 52 peripherals, one page each.

AES Advanced Encryption Standard

AES_CRControl Register

Address
0x4006C000
Reset
0x00000000
Access
write only
Size
32-bit
3 fields
FieldBitsWhat it does
LOADSEED16Random Number Generator Seed Loading
SWRST8Software Reset
START0Start Processing

AES_MRMode Register

Address
0x4006C004
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
CKEY23:20Countermeasure Key
  • 14 This field must be written with 0xE to allow CMTYPx bit configuration changes. Any other values will abort the write operation in CMTYPx bits.Always reads as 0.
CFBS18:16Cipher Feedback Data Size
  • 0 128-bit
  • 1 64-bit
  • 2 32-bit
  • 3 16-bit
  • 4 8-bit
LOD15Last Output Data Mode
OPMOD14:12Operating Mode
  • 0 ECB: Electronic Code Book mode
  • 1 CBC: Cipher Block Chaining mode
  • 2 OFB: Output Feedback mode
  • 3 CFB: Cipher Feedback mode
  • 4 CTR: Counter mode (16-bit internal counter)
  • 5 GCM: Galois/Counter mode
KEYSIZE11:10Key Size
  • 0 AES Key Size is 128 bits
  • 1 AES Key Size is 192 bits
  • 2 AES Key Size is 256 bits
SMOD9:8Start Mode
  • 0 Manual Mode
  • 1 Auto Mode
  • 2 AES_IDATAR0 access only Auto Mode (DMA)
PROCDLY7:4Processing Delay
DUALBUFF3Dual Input Buffer
  • 0 AES_IDATARx cannot be written during processing of previous block.
  • 1 AES_IDATARx can be written during processing of previous block when SMOD = 2. It speeds up the overall runtime of large files.
GTAGEN1GCM Automatic Tag Generation Enable
CIPHER0Processing Mode

AES_IERInterrupt Enable Register

Address
0x4006C010
Reset
0x00000000
Access
write only
Size
32-bit
3 fields
FieldBitsWhat it does
TAGRDY16GCM Tag Ready Interrupt Enable
URAD8Unspecified Register Access Detection Interrupt Enable
DATRDY0Data Ready Interrupt Enable

AES_IDRInterrupt Disable Register

Address
0x4006C014
Reset
0x00000000
Access
write only
Size
32-bit
3 fields
FieldBitsWhat it does
TAGRDY16GCM Tag Ready Interrupt Disable
URAD8Unspecified Register Access Detection Interrupt Disable
DATRDY0Data Ready Interrupt Disable

AES_IMRInterrupt Mask Register

Address
0x4006C018
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
TAGRDY16GCM Tag Ready Interrupt Mask
URAD8Unspecified Register Access Detection Interrupt Mask
DATRDY0Data Ready Interrupt Mask

AES_ISRInterrupt Status Register

Address
0x4006C01C
Reset
0x00000000
Access
read only
Size
32-bit
4 fields
FieldBitsWhat it does
TAGRDY16GCM Tag Ready
URAT15:12Unspecified Register Access (cleared by writing SWRST in AES_CR)
  • 0 Input Data Register written during the data processing when SMOD = 0x2 mode.
  • 1 Output Data Register read during the data processing.
  • 2 Mode Register written during the data processing.
  • 3 Output Data Register read during the sub-keys generation.
  • 4 Mode Register written during the sub-keys generation.
  • 5 Write-only register read access.
URAD8Unspecified Register Access Detection Status (cleared by writing SWRST in AES_CR)
DATRDY0Data Ready (cleared by setting bit START or bit SWRST in AES_CR or by reading AES_ODATARx)

AES_KEYWR0Key Word Register

Address
0x4006C020
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR1Key Word Register

Address
0x4006C024
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR2Key Word Register

Address
0x4006C028
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR3Key Word Register

Address
0x4006C02C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR4Key Word Register

Address
0x4006C030
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR5Key Word Register

Address
0x4006C034
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR6Key Word Register

Address
0x4006C038
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_KEYWR7Key Word Register

Address
0x4006C03C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYW31:0Key Word

AES_IDATAR0Input Data Register

Address
0x4006C040
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IDATA31:0Input Data Word

AES_IDATAR1Input Data Register

Address
0x4006C044
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IDATA31:0Input Data Word

AES_IDATAR2Input Data Register

Address
0x4006C048
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IDATA31:0Input Data Word

AES_IDATAR3Input Data Register

Address
0x4006C04C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IDATA31:0Input Data Word

AES_ODATAR0Output Data Register

Address
0x4006C050
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
ODATA31:0Output Data

AES_ODATAR1Output Data Register

Address
0x4006C054
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
ODATA31:0Output Data

AES_ODATAR2Output Data Register

Address
0x4006C058
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
ODATA31:0Output Data

AES_ODATAR3Output Data Register

Address
0x4006C05C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
ODATA31:0Output Data

AES_IVR0Initialization Vector Register

Address
0x4006C060
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IV31:0Initialization Vector

AES_IVR1Initialization Vector Register

Address
0x4006C064
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IV31:0Initialization Vector

AES_IVR2Initialization Vector Register

Address
0x4006C068
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IV31:0Initialization Vector

AES_IVR3Initialization Vector Register

Address
0x4006C06C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
IV31:0Initialization Vector

AES_AADLENRAdditional Authenticated Data Length Register

Address
0x4006C070
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
AADLEN31:0Additional Authenticated Data Length

AES_CLENRPlaintext/Ciphertext Length Register

Address
0x4006C074
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CLEN31:0Plaintext/Ciphertext Length

AES_GHASHR0GCM Intermediate Hash Word Register

Address
0x4006C078
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Intermediate GCM Hash Word x

AES_GHASHR1GCM Intermediate Hash Word Register

Address
0x4006C07C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Intermediate GCM Hash Word x

AES_GHASHR2GCM Intermediate Hash Word Register

Address
0x4006C080
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Intermediate GCM Hash Word x

AES_GHASHR3GCM Intermediate Hash Word Register

Address
0x4006C084
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Intermediate GCM Hash Word x

AES_TAGR0GCM Authentication Tag Word Register

Address
0x4006C088
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
TAG31:0GCM Authentication Tag x

AES_TAGR1GCM Authentication Tag Word Register

Address
0x4006C08C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
TAG31:0GCM Authentication Tag x

AES_TAGR2GCM Authentication Tag Word Register

Address
0x4006C090
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
TAG31:0GCM Authentication Tag x

AES_TAGR3GCM Authentication Tag Word Register

Address
0x4006C094
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
TAG31:0GCM Authentication Tag x

AES_CTRRGCM Encryption Counter Value Register

Address
0x4006C098
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
CTR31:0GCM Encryption Counter

AES_GCMHR0GCM H Word Register

Address
0x4006C09C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
H31:0GCM H Word x

AES_GCMHR1GCM H Word Register

Address
0x4006C0A0
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
H31:0GCM H Word x

AES_GCMHR2GCM H Word Register

Address
0x4006C0A4
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
H31:0GCM H Word x

AES_GCMHR3GCM H Word Register

Address
0x4006C0A8
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
H31:0GCM H Word x