aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-26 20:33:28 -0400
committerJack Lloyd <[email protected]>2017-10-26 20:33:28 -0400
commit3e595342d35d79aca0b00bef22ed6eedde2ebf0d (patch)
treeb07dafaea3474d25650e86ef244fa0bbda0c83aa /src
parent9a37a338e8798c2b94342c8984136b35e7a7394d (diff)
Add more SipHash tests
Generated by ref implementation
Diffstat (limited to 'src')
-rw-r--r--src/tests/data/mac/siphash.vec187
1 files changed, 187 insertions, 0 deletions
diff --git a/src/tests/data/mac/siphash.vec b/src/tests/data/mac/siphash.vec
index 7e4bfed04..5420a992b 100644
--- a/src/tests/data/mac/siphash.vec
+++ b/src/tests/data/mac/siphash.vec
@@ -2,3 +2,190 @@
Key = 000102030405060708090A0B0C0D0E0F
In = 000102030405060708090A0B0C0D0E
Out = E545BE4961CA29A1
+
+# Randomly generated by SipHash ref impl
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In =
+Out = 9BBA4CA0FF8CF5CA
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254
+Out = 474A3D4A55BFB364
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8
+Out = DCCE723718444981
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D76
+Out = 3BFC828B03F3BC86
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63
+Out = 731D82FF69D32F91
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC9
+Out = 2DC30C79EAEB92CF
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A6632
+Out = 470E18E4AB16C21A
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB731
+Out = 4BD0C46B0DD2E678
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A
+Out = 9EA09C9401808C75
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D05
+Out = 190F7D3DF4EE7C79
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E9
+Out = 93C91D8E02617E1C
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4AB
+Out = CEED4CF53E1A6CF7
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC6
+Out = 63A7AA054DF3DD34
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454
+Out = 03CB99AFC5749081
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E82
+Out = 80A216A197DF7B2A
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E82744121
+Out = 519A7FCDD0799A30
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC87
+Out = 1257D4140FE18AAF
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93E
+Out = 06EA81DB5FEC50AD
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1
+Out = 466A1C6592985926
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E
+Out = F1E040A7BA53BF73
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97
+Out = 83D3F6587449E528
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B
+Out = 47195A20F3F5EB89
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F38
+Out = B15CC680530086E9
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AEC
+Out = FBA0618A89484698
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB
+Out = 1E78313620262F04
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C
+Out = 3A6A22D72CD4BEE1
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18
+Out = 1CCA89F7612EB1EF
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C02
+Out = EBE47A6E419120CE
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43
+Out = E3C84C1DCC2C916F
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA
+Out = A64933631D955CCC
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29
+Out = 8CC6E0F1E0A1A069
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E605
+Out = 7095084F0CA2BE9B
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C94
+Out = D3B74D72533F0FE7
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE
+Out = 50489426B6585B99
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F9
+Out = 9F065ABB4D0D176A
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8
+Out = 8FC3896D73E4FA4E
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95
+Out = AB1A9E9D1D27617C
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1
+Out = 33192A15813C8E0E
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EF
+Out = 19158BE6BB4DF2D3
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9
+Out = 124D9999C07C5F1E
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5
+Out = 4AB5769CDBC18FFA
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5CA0BCB
+Out = AFFAA607903DF845
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5CA0BCBD04847
+Out = 40967B87E46C92DC
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5CA0BCBD0484764BD1F
+Out = 73AA9EE7DE316517
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5CA0BCBD0484764BD1F231EA8
+Out = 0B80E80776D069B9
+
+Key = 67C6697351FF4AEC29CDBAABF2FBE346
+In = 7CC254F81BE8E78D765A2E63339FC99A66320DB73158A35A255D051758E95ED4ABB2CDC69BB454110E827441213DDC8770E93EA141E1FC673E017E97EADC6B968F385C2AECB03BFB32AF3C54EC18DB5C021AFE43FBFAAA3AFB29D1E6053C7C9475D8BE6189F95CBBA8990F95B1EBF1B305EFF700E9A13AE5CA0BCBD0484764BD1F231EA81C7B64
+Out = CBF51B4D013F1408
+