PIC32CZ5125CA70100 AES registers The 41 registers of AES (Advanced Encryption Standard), from 0x4006C000, with their reset value and every field. The PIC32CZ5125CA70100 has 2835 registers in 63 peripherals, one page each.
AES Advanced Encryption Standard AES_CRControl Register
Address 0x4006C000
Reset 0x00000000
Access write only
Size 32-bit 2 fields
Field Bits What it does SWRST 8 Software Reset START 0 Start Processing
AES_MRMode Register
Address 0x4006C004
Reset 0x00000000
Access read/write
Size 32-bit 10 fields
Field Bits What it does CKEY 23:20 Countermeasure Key14 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. CFBS 18:16 Cipher Feedback Data Size0 128-bit1 64-bit2 32-bit3 16-bit4 8-bit LOD 15 Last Output Data Mode OPMOD 14:12 Operating Mode0 ECB: Electronic Code Book mode1 CBC: Cipher Block Chaining mode2 OFB: Output Feedback mode3 CFB: Cipher Feedback mode4 CTR: Counter mode (16-bit internal counter)5 GCM: Galois/Counter mode KEYSIZE 11:10 Key Size0 AES Key Size is 128 bits1 AES Key Size is 192 bits2 AES Key Size is 256 bits SMOD 9:8 Start Mode0 Manual Mode1 Auto Mode2 AES_IDATAR0 access only Auto Mode (DMA) PROCDLY 7:4 Processing Delay DUALBUFF 3 Dual Input Buffer0 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. GTAGEN 1 GCM Automatic Tag Generation Enable CIPHER 0 Processing Mode
AES_IERInterrupt Enable Register
Address 0x4006C010
Reset 0x00000000
Access write only
Size 32-bit 3 fields
Field Bits What it does TAGRDY 16 GCM Tag Ready Interrupt Enable URAD 8 Unspecified Register Access Detection Interrupt Enable DATRDY 0 Data Ready Interrupt Enable
AES_IDRInterrupt Disable Register
Address 0x4006C014
Reset 0x00000000
Access write only
Size 32-bit 3 fields
Field Bits What it does TAGRDY 16 GCM Tag Ready Interrupt Disable URAD 8 Unspecified Register Access Detection Interrupt Disable DATRDY 0 Data Ready Interrupt Disable
AES_IMRInterrupt Mask Register
Address 0x4006C018
Reset 0x00000000
Access read only
Size 32-bit 3 fields
Field Bits What it does TAGRDY 16 GCM Tag Ready Interrupt Mask URAD 8 Unspecified Register Access Detection Interrupt Mask DATRDY 0 Data Ready Interrupt Mask
AES_ISRInterrupt Status Register
Address 0x4006C01C
Reset 0x00000000
Access read only
Size 32-bit 4 fields
Field Bits What it does TAGRDY 16 GCM Tag Ready URAT 15:12 Unspecified 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. URAD 8 Unspecified Register Access Detection Status (cleared by writing SWRST in AES_CR) DATRDY 0 Data 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
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR1Key Word Register
Address 0x4006C024
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR2Key Word Register
Address 0x4006C028
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR3Key Word Register
Address 0x4006C02C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR4Key Word Register
Address 0x4006C030
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR5Key Word Register
Address 0x4006C034
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR6Key Word Register
Address 0x4006C038
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_KEYWR7Key Word Register
Address 0x4006C03C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYW 31:0 Key Word
AES_IDATAR0Input Data Register
Address 0x4006C040
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IDATA 31:0 Input Data Word
AES_IDATAR1Input Data Register
Address 0x4006C044
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IDATA 31:0 Input Data Word
AES_IDATAR2Input Data Register
Address 0x4006C048
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IDATA 31:0 Input Data Word
AES_IDATAR3Input Data Register
Address 0x4006C04C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IDATA 31:0 Input Data Word
AES_ODATAR0Output Data Register
Address 0x4006C050
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does ODATA 31:0 Output Data
AES_ODATAR1Output Data Register
Address 0x4006C054
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does ODATA 31:0 Output Data
AES_ODATAR2Output Data Register
Address 0x4006C058
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does ODATA 31:0 Output Data
AES_ODATAR3Output Data Register
Address 0x4006C05C
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does ODATA 31:0 Output Data
AES_IVR0Initialization Vector Register
Address 0x4006C060
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IV 31:0 Initialization Vector
AES_IVR1Initialization Vector Register
Address 0x4006C064
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IV 31:0 Initialization Vector
AES_IVR2Initialization Vector Register
Address 0x4006C068
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IV 31:0 Initialization Vector
AES_IVR3Initialization Vector Register
Address 0x4006C06C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does IV 31:0 Initialization Vector
AES_AADLENRAdditional Authenticated Data Length Register
Address 0x4006C070
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does AADLEN 31:0 Additional Authenticated Data Length
AES_CLENRPlaintext/Ciphertext Length Register
Address 0x4006C074
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CLEN 31:0 Plaintext/Ciphertext Length
AES_GHASHR0GCM Intermediate Hash Word Register
Address 0x4006C078
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Intermediate GCM Hash Word x
AES_GHASHR1GCM Intermediate Hash Word Register
Address 0x4006C07C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Intermediate GCM Hash Word x
AES_GHASHR2GCM Intermediate Hash Word Register
Address 0x4006C080
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Intermediate GCM Hash Word x
AES_GHASHR3GCM Intermediate Hash Word Register
Address 0x4006C084
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Intermediate GCM Hash Word x
AES_TAGR0GCM Authentication Tag Word Register
Address 0x4006C088
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does TAG 31:0 GCM Authentication Tag x
AES_TAGR1GCM Authentication Tag Word Register
Address 0x4006C08C
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does TAG 31:0 GCM Authentication Tag x
AES_TAGR2GCM Authentication Tag Word Register
Address 0x4006C090
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does TAG 31:0 GCM Authentication Tag x
AES_TAGR3GCM Authentication Tag Word Register
Address 0x4006C094
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does TAG 31:0 GCM Authentication Tag x
AES_CTRRGCM Encryption Counter Value Register
Address 0x4006C098
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does CTR 31:0 GCM Encryption Counter
AES_GCMHR0GCM H Word Register
Address 0x4006C09C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does H 31:0 GCM H Word x
AES_GCMHR1GCM H Word Register
Address 0x4006C0A0
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does H 31:0 GCM H Word x
AES_GCMHR2GCM H Word Register
Address 0x4006C0A4
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does H 31:0 GCM H Word x
AES_GCMHR3GCM H Word Register
Address 0x4006C0A8
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does H 31:0 GCM H Word x