aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/mac
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/mac
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/mac')
-rw-r--r--src/tests/data/mac/cmac.vec9
1 files changed, 9 insertions, 0 deletions
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