Commit ca511eb2 authored by Olivier Bronchain's avatar Olivier Bronchain

change test vectors

parent 9810871c
......@@ -86,7 +86,7 @@ for (unsigned int row = 0; row < LS_ROWS; row++) {
state[1][row] ^= state[2][row];
state[0][row] ^= *lfsr;
*lfsr = xtime(*lfsr);
*lfsr = update_lfsr(*lfsr);
#endif // SMALL_PERM
}
......
......@@ -20,8 +20,10 @@ else
LWCNAME=LWC_AEAD_KAT_256_128.txt
fi
if [ "$(sha256sum $LWCNAME | cut -f 1 -d ' ')" == "$3" ]; then
echo "Ok, CLYDE_TYPE=$CLYDE_TYPE, SHADOW_TYPE=$SHADOW_TYPE, MULTI_USER=$MULTI_USER, SMALL_PERM=$SMALL_PERM";
else
echo $(sha256sum $LWCNAME | cut -f 1 -d ' ')
echo "Fail, CLYDE_TYPE=$CLYDE_TYPE, SHADOW_TYPE=$SHADOW_TYPE, MULTI_USER=$MULTI_USER, SMALL_PERM=$SMALL_PERM";
fi
popd > /dev/null
......@@ -29,10 +31,16 @@ popd > /dev/null
test_all_spook_versions()
{
test_build_spook 0 0 c744322005f6d6df1846bc4baa4033047856d8183f502a65604711dd25e87b8c
test_build_spook 0 1 5bd32e37cd41cfd48b6e9fc740c56c32a3154e8acdf7e05310bae9d8f213f41c
test_build_spook 1 0 410c79bf206274bf6145103d1e87c20e17d258cd77c550fd0d33ef30a971c460
test_build_spook 1 1 53d431a078490a709767c0089614fcda87218f11e97ab565d2e84f25bbfcd9cc
test_build_spook 0 0 c9f76c914bbd916c7479493a632cbe1518355bec1564ec99ec6a9e85778f1335
test_build_spook 0 1 b2b7f17c393abfb78a99dc99301667479d82abb7c5f4a57b3060bcc502a772d6
test_build_spook 1 0 3b72ee641cc670ac6e9b1c7abbc707783f006b5d8df272c658f953d62e2d1066
test_build_spook 1 1 d94e35dfee178c385a92eaf5847a81f9c962963cfe3a9bfa849f094c579cdafe
#test_build_spook 0 0 c744322005f6d6df1846bc4baa4033047856d8183f502a65604711dd25e87b8c
#test_build_spook 0 1 5bd32e37cd41cfd48b6e9fc740c56c32a3154e8acdf7e05310bae9d8f213f41c
#test_build_spook 1 0 410c79bf206274bf6145103d1e87c20e17d258cd77c550fd0d33ef30a971c460
#test_build_spook 1 1 53d431a078490a709767c0089614fcda87218f11e97ab565d2e84f25bbfcd9cc
}
export CLYDE_TYPE=clyde_32bit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment