Paul Kehrer | b2dc477 | 2013-09-30 20:57:12 -0500 | [diff] [blame] | 1 | There are two sets of SHA example files:
|
| 2 |
|
| 3 | 1. The response (.rsp) files contain properly formatted CAVS response files.
|
| 4 |
|
| 5 | 2. The intermediate value (.txt) files for the Monte Carlo tests contain
|
| 6 | values for the inner loop as shown in the pseudocode in Figure 1 on page 9
|
| 7 | of the SHA Validation System. The inner loop variable 'i' ranges in value
|
| 8 | from 3 to 1002. The intermediate values for the first five iterations of
|
| 9 | the inner loop therefore correspond to 'i' values of 3 to 7. The message (M)
|
| 10 | and the message digest (MDi) for each of these i are printed out, indented
|
| 11 | by one tab space. The final message digest (MD), not indented, is the last
|
| 12 | value printed for each count.
|
| 13 |
|
| 14 |
|
| 15 | The SHA Validation System document can be found at:
|
| 16 |
|
| 17 | http://csrc.nist.gov/groups/STM/cavp/documents/shs/SHAVS.pdf. |