boringssl/crypto/cmac
David Benjamin 9db1a0017a Support 3DES-CMAC.
cryptography.io depends on this. Specifically, it assumes that any time
a CBC-mode cipher is defined, CMAC is also defined. This is incorrect;
CMAC also requires an irreducible polynomial to represent GF(2^b).
However, one is indeed defined for 64-bit block ciphers such as 3DES.

Import tests from CAVP to test it. I've omitted the 65536-byte inputs
because they're huge and FileTest doesn't like lines that long.

Change-Id: I35b1e4975f61c757c70616f9b372b91746fc7e4a
Reviewed-on: https://boringssl-review.googlesource.com/28466
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2018-05-15 22:23:26 +00:00
..
cavp_3des_cmac_tests.txt Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
cavp_aes128_cmac_tests.txt Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
cavp_aes192_cmac_tests.txt Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
cavp_aes256_cmac_tests.txt Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
cmac_test.cc Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
cmac.c Support 3DES-CMAC. 2018-05-15 22:23:26 +00:00
CMakeLists.txt Convert cmac_test to GTest. 2017-04-24 20:25:22 +00:00