54.5.1 SHA Control Register

Name: SHA_CR
Offset: 0x00
Reset: 
Property: Write-only

Bit 3130292827262524 
        UNLOCK 
Access W 
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   WUIEHVWUIHV   SWRST 
Access WWW 
Reset  
Bit 76543210 
    FIRST   START 
Access WW 
Reset  

Bit 24 – UNLOCK Unlock Processing

SHA_WPSR must be cleared before performing the unlock command.

ValueDescription
0 No effect.
1 Unlocks the processing in case of abnormal event detection if SHA_WPMR.ACTION > 0.

Bit 13 – WUIEHV Write User Initial or Expected Hash Values

ValueDescription
0 SHA_IDATARx accesses are routed to the data registers.
1 SHA_IDATARx accesses are routed to the internal registers (IR1).

Bit 12 – WUIHV Write User Initial Hash Values

ValueDescription
0 SHA_IDATARx accesses are routed to the data registers.
1 SHA_IDATARx accesses are routed to the internal registers (IR0).

Bit 8 – SWRST Software Reset

ValueDescription
0 No effect.
1 Resets the SHA. A software-triggered hardware reset of the SHA interface is performed.

Bit 4 – FIRST First Block of a Message

ValueDescription
0 No effect.
1 Indicates that the next block to process is the first one of a message or the first block of a fragment of a message.

Bit 0 – START Start Processing

ValueDescription
0 No effect.
1 Starts manual hash algorithm process.