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
Field Bits What it does CTYPE 19:16 Counter Measure Type XORKEY 14 XOR Key Operation0 No effect1 The user keyword gets XORed with the previous keyword register content. KEYGEN 13 Last Key Generation0 No effect1 Start Computation of the last NK words of the expanded key LOD 12 Last Output Data Mode0 No effect1 Start encryption in Last Output Data mode STARTMODE 11 Start Mode Select0 Start Encryption / Decryption in Manual mode1 Start Encryption / Decryption in Auto mode CIPHER 10 Cipher Mode KEYSIZE 9:8 Encryption Key Size0 128-bit Key for Encryption / Decryption1 192-bit Key for Encryption / Decryption2 256-bit Key for Encryption / Decryption CFBS 7:5 Cipher Feedback Block Size0 128-bit Input data block for Encryption/Decryption in Cipher Feedback mode1 64-bit Input data block for Encryption/Decryption in Cipher Feedback mode2 32-bit Input data block for Encryption/Decryption in Cipher Feedback mode3 16-bit Input data block for Encryption/Decryption in Cipher Feedback mode4 8-bit Input data block for Encryption/Decryption in Cipher Feedback mode AESMODE 4:2 AES Modes of operation0 Electronic code book mode1 Cipher block chaining mode2 Output feedback mode3 Cipher feedback mode4 Counter mode5 CCM mode6 Galois counter mode ENABLE 1 Enable SWRST 0 Software Reset
CTRLBControl B
Address 0x42002404
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 GFMUL 2 EOM 1 NEWMSG 0 START 4 fields
Field Bits What it does GFMUL 3 GF Multiplication EOM 2 End of message NEWMSG 1 New message START 0 Start Encryption/Decryption
INTENCLRInterrupt Enable Clear
Address 0x42002405
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 GFMCMP 0 ENCCMP 2 fields
Field Bits What it does GFMCMP 1 GF Multiplication Complete Interrupt Enable ENCCMP 0 Encryption Complete Interrupt Enable
INTENSETInterrupt Enable Set
Address 0x42002406
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 GFMCMP 0 ENCCMP 2 fields
Field Bits What it does GFMCMP 1 GF Multiplication Complete Interrupt Enable ENCCMP 0 Encryption Complete Interrupt Enable
INTFLAGInterrupt Flag Status
Address 0x42002407
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 GFMCMP 0 ENCCMP 2 fields
Field Bits What it does GFMCMP 1 GF Multiplication Complete ENCCMP 0 Encryption Complete
DATABUFPTRData buffer pointer
Address 0x42002408
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 INDATAPTR1 0 INDATAPTR0 1 field
Field Bits What it does INDATAPTR 1:0 Input Data Pointer
DBGCTRLDebug control
Address 0x42002409
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DBGRUN 1 field
Field Bits What it does DBGRUN 0 Debug Run
KEYWORD0Keyword n
Address 0x4200240C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD1Keyword n
Address 0x42002410
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD2Keyword n
Address 0x42002414
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD3Keyword n
Address 0x42002418
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD4Keyword n
Address 0x4200241C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD5Keyword n
Address 0x42002420
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD6Keyword n
Address 0x42002424
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
KEYWORD7Keyword n
Address 0x42002428
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does KEYWORD 31:0 Key Word Value
INDATAIndata
Address 0x42002438
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does INDATA 31:0 Data Value
INTVECTV0Initialisation Vector n
Address 0x4200243C
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does INTVECTV 31:0 Initialization Vector Value
INTVECTV1Initialisation Vector n
Address 0x42002440
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does INTVECTV 31:0 Initialization Vector Value
INTVECTV2Initialisation Vector n
Address 0x42002444
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does INTVECTV 31:0 Initialization Vector Value
INTVECTV3Initialisation Vector n
Address 0x42002448
Reset 0x00000000
Access write only
Size 32-bit 1 field
Field Bits What it does INTVECTV 31:0 Initialization Vector Value
HASHKEY0Hash key n
Address 0x4200245C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does HASHKEY 31:0 Hash Key Value
HASHKEY1Hash key n
Address 0x42002460
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does HASHKEY 31:0 Hash Key Value
HASHKEY2Hash key n
Address 0x42002464
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does HASHKEY 31:0 Hash Key Value
HASHKEY3Hash key n
Address 0x42002468
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does HASHKEY 31:0 Hash Key Value
GHASH0Galois Hash n
Address 0x4200246C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Galois Hash Value
GHASH1Galois Hash n
Address 0x42002470
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Galois Hash Value
GHASH2Galois Hash n
Address 0x42002474
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Galois Hash Value
GHASH3Galois Hash n
Address 0x42002478
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does GHASH 31:0 Galois Hash Value
CIPLENCipher Length
Address 0x42002480
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CIPLEN 31:0 Cipher Length
RANDSEEDRandom Seed
Address 0x42002484
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does RANDSEED 31:0 Random Seed