SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The procedure in Table 7-138 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 |