diff options
author | Jack Lloyd <[email protected]> | 2017-12-23 06:20:51 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-23 06:20:51 -0500 |
commit | 4e101df712233ba6ef972b70d705bb29c7f1b7cf (patch) | |
tree | dfd776887264efab1b1354e57e7750f6cd985757 /src/tests/data | |
parent | eb6c280b76b6f1d5909da016ee7f4c8fa52eb406 (diff) |
Avoid undefined behavior in SipHash
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/mac/siphash.vec | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/tests/data/mac/siphash.vec b/src/tests/data/mac/siphash.vec index 5420a992b..7f0ec381e 100644 --- a/src/tests/data/mac/siphash.vec +++ b/src/tests/data/mac/siphash.vec @@ -3,8 +3,59 @@ Key = 000102030405060708090A0B0C0D0E0F In = 000102030405060708090A0B0C0D0E Out = E545BE4961CA29A1 + + + # Randomly generated by SipHash ref impl +Key = 000102030405060708090A0B0C0D0E0F +In = +Out = 310E0EDD47DB6F72 + +Key = 000102030405060708090A0B0C0D0E0F +In = 00 +Out = FD67DC93C539F874 + +Key = 000102030405060708090A0B0C0D0E0F +In = 0001 +Out = 5A4FA9D909806C0D + +Key = 000102030405060708090A0B0C0D0E0F +In = 000102 +Out = 2D7EFBD796666785 + +Key = 000102030405060708090A0B0C0D0E0F +In = 00010203 +Out = B7877127E09427CF + +Key = 000102030405060708090A0B0C0D0E0F +In = 0001020304 +Out = 8DA699CD64557618 + +Key = 000102030405060708090A0B0C0D0E0F +In = 000102030405 +Out = CEE3FE586E46C9CB + +Key = 000102030405060708090A0B0C0D0E0F +In = 00010203040506 +Out = 37D1018BF50002AB + +Key = 000102030405060708090A0B0C0D0E0F +In = 0001020304050607 +Out = 6224939A79F5F593 + +Key = 000102030405060708090A0B0C0D0E0F +In = 000102030405060708 +Out = B0E4A90BDF82009E + +Key = 000102030405060708090A0B0C0D0E0F +In = 00010203040506070809 +Out = F3B9DD94C5BB5D7A + +Key = 000102030405060708090A0B0C0D0E0F +In = 000102030405060708090A +Out = A7AD6B22462FB3F4 + Key = 67C6697351FF4AEC29CDBAABF2FBE346 In = Out = 9BBA4CA0FF8CF5CA |