aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data')
-rw-r--r--src/tests/data/aead/eax.vec9
-rw-r--r--src/tests/data/mac/cmac.vec9
2 files changed, 18 insertions, 0 deletions
diff --git a/src/tests/data/aead/eax.vec b/src/tests/data/aead/eax.vec
index 90b7e2903..6b6a408a7 100644
--- a/src/tests/data/aead/eax.vec
+++ b/src/tests/data/aead/eax.vec
@@ -1458,3 +1458,12 @@ Nonce = 000102030405060708090A0B0C0D0E0F
AD = 000102030405060708090A0B0C0D0E0F
In = 000102030405060708090A0B0C0D0E0F
Out = 600FA4149AF252C87B828C780AEFF8BC33D7D11DCDC19936
+
+# Threefish vectors generated by us
+
+[Threefish-512/EAX]
+Key = 2E749EE66C1E6A162E749EE66C1E6A162E749EE66C1E6A169315F0C4AF8500EB9315F0C4AF8500EB9315F0C4AF8500EBDADBCE3EE3B8FC50DADB3F8050DAEBDC
+Nonce = 000102030405060708090A0B0C0D0E0F
+AD = 000102030405060708090A0B0C0D0E0F
+In = 000102030405060708090A0B0C0D0E0F
+Out = 5E8EEADAB182F96CC0144B722F3383FBFC9F462072B9D82FE49F9AD148DA83F23CE248546FC580FAB0A01E21BCE063FF54FFB5038A3FEDD2296B535936EFDE77E51125C9F4EFC4AE073F5A98921C601F
diff --git a/src/tests/data/mac/cmac.vec b/src/tests/data/mac/cmac.vec
index 55c476294..3859d6464 100644
--- a/src/tests/data/mac/cmac.vec
+++ b/src/tests/data/mac/cmac.vec
@@ -145,3 +145,12 @@ Key = 420D2C372E496D403A9F520158FCCDA6D6BCE14E6EAD2B90918B919E5E8621A0
In = 4DD7C1974501D1E454D23C509FE2265BC375CA
Out = CB1C20084C5DACB3270F118633DB4F33
+[CMAC(Blowfish)]
+Key = 0000000000000000
+In = 0000000000000000000000000000000000000000000000000000000000000000
+Out = CE2A6A95E8C3CAB9
+
+[CMAC(Threefish-512)]
+Key = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+In = 0000000000000000000000000000000000000000000000000000000000000000
+Out = C07C71A284C7A63023146376F895E83543EA3547A9268861CD00B7AC405AFC34A9EC86A30622D38C7E765521B148AAB5DEDD3AE80496ED56BCCB17B2E3D18009