8.3.4.1 SHA Algorithm

The SHA can process SHA1, SHA224, SHA256, SHA384, SHA512 by configuring the ALGO field in the Mode register (SHA_MR).

The block size depends on the algorithm and determines the number of bytes to write per block into the SHA_IDATARx registers. See the following table.

Table 8-4. Block Sizes
AlgorithmBlock Size (Bytes)
SHA-164
SHA-22464
SHA-25664
SHA-384128
SHA-512128
SHA-512/224128
SHA-512/256128