SPRUJB6B November 2024 – May 2025 AM2612
The procedure in Table 7-155 creates a hash value from the key in only one pass.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Load the first part of the key. (Here, the key is like a message.) | S_DATAn_IN (i = 0 to 15) | – |
| Select the SHA-1 hash function. | S_MODE[2:0] ALGORTHM | 0x010 |
| Select a new hash operation. | S_MODE[3] ALGO_CONSTANT | 0x1 |
| Close the hash; the key is processed in single pass. | S_MODE[4] CLOSE_HASH | 0x1 |