update siphash24 test values

This commit is contained in:
Christian Heimes 2013-11-20 13:47:13 +01:00
parent a5bcd7c0ee
commit 680dc21380
1 changed files with 7 additions and 11 deletions

View File

@ -207,21 +207,17 @@ class StringlikeHashRandomizationTests(HashRandomizationTests):
[-678966196, 573763426263223372, -820489388, -4282905804826039665],
],
'siphash24': [
# NOTE: PyUCS2 layout depends on endianess
# seed 0, 'abc'
[2025351752, 4596069200710135518, 1433332804,
-3481057401533226760],
[1198583518, 4596069200710135518, 1198583518, 4596069200710135518],
# seed 42, 'abc'
[-774632014, -4501618152524544106, 1054608210,
-1493500025205289231],
[273876886, -4501618152524544106, 273876886, -4501618152524544106],
# seed 42, 'abcdefghijk'
[-1436007334, 4436719588892876975, -1436007334,
4436719588892876975],
# seed 0, 'äú∑ℇ', PyUCS2 layout depends on endianess
[1386693832, 5749986484189612790, 1776982909,
-5915111450199468540],
[-1745215313, 4436719588892876975, -1745215313, 4436719588892876975],
# seed 0, 'äú∑ℇ'
[493570806, 5749986484189612790, -1006381564, -5915111450199468540],
# seed 42, 'äú∑ℇ'
[1260387190, -2947981342227738144, 1430287772,
-4296699217652516017],
[-1677110816, -2947981342227738144, -1860207793, -4296699217652516017],
],
'fnv': [
# seed 0, 'abc'