Files in directory tests/test_vectors/Hash of check-in 45be9618dc901c4f
- all.tcl
- BLAKE2b512.test
- BLAKE2b512.txt
- BLAKE2s256.test
- BLAKE2s256.txt
- make_test.tcl
- MD2.test
- MD2.txt
- MD4.test
- MD4.txt
- MD5.test
- MD5.txt
- MDC2.test
- MDC2.txt
- Readme.txt
- RIPEMD128.test
- RIPEMD128.txt
- RIPEMD160.test
- RIPEMD160.txt
- RIPEMD256.test
- RIPEMD256.txt
- RIPEMD320.test
- RIPEMD320.txt
- SHA1.test
- SHA1.txt
- SHA1LongMsg.rsp
- SHA1LongMsg.test
- SHA1Monte.rsp
- SHA1Monte.txt
- SHA1ShortMsg.rsp
- SHA1ShortMsg.test
- SHA3-224.test
- SHA3-224.txt
- SHA3-256.test
- SHA3-256.txt
- SHA3-384.test
- SHA3-384.txt
- SHA3-512.test
- SHA3-512.txt
- SHA3_224LongMsg.rsp
- SHA3_224LongMsg.test
- SHA3_224Monte.rsp
- SHA3_224ShortMsg.rsp
- SHA3_224ShortMsg.test
- SHA3_256LongMsg.rsp
- SHA3_256LongMsg.test
- SHA3_256Monte.rsp
- SHA3_256ShortMsg.rsp
- SHA3_256ShortMsg.test
- SHA3_384LongMsg.rsp
- SHA3_384LongMsg.test
- SHA3_384Monte.rsp
- SHA3_384ShortMsg.rsp
- SHA3_384ShortMsg.test
- SHA3_512LongMsg.rsp
- SHA3_512LongMsg.test
- SHA3_512Monte.rsp
- SHA3_512ShortMsg.rsp
- SHA3_512ShortMsg.test
- SHA224.test
- SHA224.txt
- SHA224LongMsg.rsp
- SHA224LongMsg.test
- SHA224Monte.rsp
- SHA224Monte.txt
- SHA224ShortMsg.rsp
- SHA224ShortMsg.test
- SHA256.test
- SHA256.txt
- SHA256LongMsg.rsp
- SHA256LongMsg.test
- SHA256Monte.rsp
- SHA256Monte.txt
- SHA256ShortMsg.rsp
- SHA256ShortMsg.test
- SHA384.test
- SHA384.txt
- SHA384LongMsg.rsp
- SHA384LongMsg.test
- SHA384Monte.rsp
- SHA384Monte.txt
- SHA384ShortMsg.rsp
- SHA384ShortMsg.test
- SHA512-224.test
- SHA512-224.txt
- SHA512-256.test
- SHA512-256.txt
- SHA512.test
- SHA512.txt
- SHA512_224LongMsg.rsp
- SHA512_224LongMsg.test
- SHA512_224Monte.rsp
- SHA512_224Monte.txt
- SHA512_224ShortMsg.rsp
- SHA512_224ShortMsg.test
- SHA512_256LongMsg.rsp
- SHA512_256LongMsg.test
- SHA512_256Monte.rsp
- SHA512_256Monte.txt
- SHA512_256ShortMsg.rsp
- SHA512_256ShortMsg.test
- SHA512LongMsg.rsp
- SHA512LongMsg.test
- SHA512Monte.rsp
- SHA512Monte.txt
- SHA512ShortMsg.rsp
- SHA512ShortMsg.test
- SHAKE128.test
- SHAKE128.txt
- SHAKE128LongMsg.rsp
- SHAKE128LongMsg.test
- SHAKE128Monte.rsp
- SHAKE128ShortMsg.rsp
- SHAKE128ShortMsg.test
- SHAKE128VariableOut.rsp
- SHAKE256.test
- SHAKE256.txt
- SHAKE256LongMsg.rsp
- SHAKE256LongMsg.test
- SHAKE256Monte.rsp
- SHAKE256ShortMsg.rsp
- SHAKE256ShortMsg.test
- SHAKE256VariableOut.rsp
- SM3.test
- SM3.txt
- WHIRLPOOL.test
- WHIRLPOOL.txt
There are two sets of SHA example files: 1. The response (.rsp) files contain properly formatted CAVS response files. 2. The intermediate value (*Monte.txt) files for the Monte Carlo tests contain values for the inner loop as shown in the pseudocode in Figure 1 on page 9 of the SHA Validation System. The inner loop variable 'i' ranges in value from 3 to 1002. The intermediate values for the first five iterations of the inner loop therefore correspond to 'i' values of 3 to 7. The message (M) and the message digest (MDi) for each of these i are printed out, indented by one tab space. The final message digest (MD), not indented, is the last value printed for each count. The SHA Validation System document can be found at: http://csrc.nist.gov/groups/STM/cavp/documents/shs/SHAVS.pdf.