3 # This script is used to process the Keccak testvectors, originally
4 # we used http://keccak.noekeon.org/KeccakKAT-3.zip.
5 # For the updated NIST version, test vectors can be found at
6 # https://github.com/gvanas/KeccakCodePackage/tree/master/TestVectors
12 printf("test_hash(&nettle_sha3_xxx, /* %d octets */\nSHEX(\"%s\"),\nSHEX(\"%s\"));\n",
13 len / 8, len ? msg : "", md);