PIC32CX1025SG60100 AES registers

The 30 registers of AES (Advanced Encryption Standard), from 0x42002400, with their reset value and every field. The PIC32CX1025SG60100 has 2953 registers in 69 peripherals, one page each.

AES Advanced Encryption Standard

CTRLAControl A

Address
0x42002400
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
CTYPE19:16Counter Measure Type
XORKEY14XOR Key Operation
  • 0 No effect
  • 1 The user keyword gets XORed with the previous keyword register content.
KEYGEN13Last Key Generation
  • 0 No effect
  • 1 Start Computation of the last NK words of the expanded key
LOD12Last Output Data Mode
  • 0 No effect
  • 1 Start encryption in Last Output Data mode
STARTMODE11Start Mode Select
  • 0 Start Encryption / Decryption in Manual mode
  • 1 Start Encryption / Decryption in Auto mode
CIPHER10Cipher Mode
  • 0 Decryption
  • 1 Encryption
KEYSIZE9:8Encryption Key Size
  • 0 128-bit Key for Encryption / Decryption
  • 1 192-bit Key for Encryption / Decryption
  • 2 256-bit Key for Encryption / Decryption
CFBS7:5Cipher Feedback Block Size
  • 0 128-bit Input data block for Encryption/Decryption in Cipher Feedback mode
  • 1 64-bit Input data block for Encryption/Decryption in Cipher Feedback mode
  • 2 32-bit Input data block for Encryption/Decryption in Cipher Feedback mode
  • 3 16-bit Input data block for Encryption/Decryption in Cipher Feedback mode
  • 4 8-bit Input data block for Encryption/Decryption in Cipher Feedback mode
AESMODE4:2AES Modes of operation
  • 0 Electronic code book mode
  • 1 Cipher block chaining mode
  • 2 Output feedback mode
  • 3 Cipher feedback mode
  • 4 Counter mode
  • 5 CCM mode
  • 6 Galois counter mode
ENABLE1Enable
SWRST0Software Reset

CTRLBControl B

Address
0x42002404
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3GFMUL
  6. 2EOM
  7. 1NEWMSG
  8. 0START
4 fields
FieldBitsWhat it does
GFMUL3GF Multiplication
EOM2End of message
NEWMSG1New message
START0Start Encryption/Decryption

INTENCLRInterrupt Enable Clear

Address
0x42002405
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1GFMCMP
  8. 0ENCCMP
2 fields
FieldBitsWhat it does
GFMCMP1GF Multiplication Complete Interrupt Enable
ENCCMP0Encryption Complete Interrupt Enable

INTENSETInterrupt Enable Set

Address
0x42002406
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1GFMCMP
  8. 0ENCCMP
2 fields
FieldBitsWhat it does
GFMCMP1GF Multiplication Complete Interrupt Enable
ENCCMP0Encryption Complete Interrupt Enable

INTFLAGInterrupt Flag Status

Address
0x42002407
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1GFMCMP
  8. 0ENCCMP
2 fields
FieldBitsWhat it does
GFMCMP1GF Multiplication Complete
ENCCMP0Encryption Complete

DATABUFPTRData buffer pointer

Address
0x42002408
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INDATAPTR1
  8. 0INDATAPTR0
1 field
FieldBitsWhat it does
INDATAPTR1:0Input Data Pointer

DBGCTRLDebug control

Address
0x42002409
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGRUN
1 field
FieldBitsWhat it does
DBGRUN0Debug Run

KEYWORD0Keyword n

Address
0x4200240C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD1Keyword n

Address
0x42002410
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD2Keyword n

Address
0x42002414
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD3Keyword n

Address
0x42002418
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD4Keyword n

Address
0x4200241C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD5Keyword n

Address
0x42002420
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD6Keyword n

Address
0x42002424
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

KEYWORD7Keyword n

Address
0x42002428
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
KEYWORD31:0Key Word Value

INDATAIndata

Address
0x42002438
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
INDATA31:0Data Value

INTVECTV0Initialisation Vector n

Address
0x4200243C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
INTVECTV31:0Initialization Vector Value

INTVECTV1Initialisation Vector n

Address
0x42002440
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
INTVECTV31:0Initialization Vector Value

INTVECTV2Initialisation Vector n

Address
0x42002444
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
INTVECTV31:0Initialization Vector Value

INTVECTV3Initialisation Vector n

Address
0x42002448
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
INTVECTV31:0Initialization Vector Value

HASHKEY0Hash key n

Address
0x4200245C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
HASHKEY31:0Hash Key Value

HASHKEY1Hash key n

Address
0x42002460
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
HASHKEY31:0Hash Key Value

HASHKEY2Hash key n

Address
0x42002464
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
HASHKEY31:0Hash Key Value

HASHKEY3Hash key n

Address
0x42002468
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
HASHKEY31:0Hash Key Value

GHASH0Galois Hash n

Address
0x4200246C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Galois Hash Value

GHASH1Galois Hash n

Address
0x42002470
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Galois Hash Value

GHASH2Galois Hash n

Address
0x42002474
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Galois Hash Value

GHASH3Galois Hash n

Address
0x42002478
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
GHASH31:0Galois Hash Value

CIPLENCipher Length

Address
0x42002480
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CIPLEN31:0Cipher Length

RANDSEEDRandom Seed

Address
0x42002484
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
RANDSEED31:0Random Seed