aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/aead
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-02 17:02:19 +0000
committerlloyd <[email protected]>2014-02-02 17:02:19 +0000
commit5492417158c2eca5ba8c3eb3c7370749d125fac4 (patch)
tree2ac5c2ec5601b99c8caceb2f77b318ec41a37a2d /src/tests/data/aead
parent43b79ef586143d93a6843f8e9a34f774103f46b3 (diff)
Add the CMAC constants for 256 and 512 bit block ciphers
Also add test vectors for Threefish-512 CMAC and EAX, both generated by the library.
Diffstat (limited to 'src/tests/data/aead')
-rw-r--r--src/tests/data/aead/eax.vec9
1 files changed, 9 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