Update test_hash.rs
@@ -2,6 +2,8 @@ use hacspec_gimli::*;
use hacspec_lib::prelude::*;
/*
+
+- Non-KAT test cases in this file have been generated randomly
- Python code to generate a random test case of `inlen` length:
inlen = 16 # length of random input
@@ -9,12 +11,6 @@ use hacspec_lib::prelude::*;
print("Input Array:", inp)
print("Hash:", gimli_hash(inp, inlen))
- - Test cases in this file have been generated randomly
- - KATs (Known Answer Tests) are not random
-
- - These tests illuminate a bug that the hash function does
- not give the correct output when the length of the input
- message is a multiple of 16
*/
#[test]
