SLAU962A December 2025 – June 2026 MSPM33C321A , MSPM33C321A-Q1
The Hash/HMAC engine performs the SHA-2 hash computation with 512-bit data block. Additionally, an intermediate digest or initial digest value can also be loaded for hash computation.
When the hash core is idle or done, a new hash operation can be started. Any additional information needed by the hash core (mode, data to process, input digest if not starting from algorithm constants) must be provided by programming the SHA registers before the core starts a new operation. The input data must be submitted in multiples of the data block size. When the last block of data is provided, the message padding block in the core will automatically add the message padding according to the hash algorithm specification to finish the operation.