56.5.13 AES GCM Intermediate Hash Word Register n

Name: AES_GHASHRn
Offset: 0x78 + n*0x04 [n=0..3]
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
 GHASH[31:24] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 GHASH[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 GHASH[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 GHASH[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:0 – GHASH[31:0] Intermediate GCM Hash Word x

The four 32-bit Intermediate Hash Word registers expose the intermediate GHASH value. May be read to save the current GHASH value so processing can later be resumed, presumably on a later message fragment. Whenever a new key is written to the AES Key Register two automatic actions are processed:

  • GCM hash subkey generation
  • AES_GHASHRx Clear

Refer to the Key Writing and Automatic Hash Subkey Calculation for details.

If an application software-specific hash initial value is needed for the GHASH, it must be written to AES_GHASHRx:

  • After a write to the AES Key Register, if any,
  • Before starting the input data feed.