Files
OpenCellular/chip/g/dcrypto
Jade Philipoom 69d0740bd4 g: add AES CMAC according to RFC 4493
AES-CMAC implementation based on extant 128-bit AES, following closely
to the description in RFC 4493. Timing depends only on the length of the
message, not the content or the keys.

Signed-off-by: Jade Philipoom <jadep@google.com>

BRANCH=cr50
BUG=b:72788497
TEST=Passed the four test vectors provided in the RFC; these tests are defined as commands in aes_cmac.c and can be run with
"test_cmac 1 2 3 4" when CRYPTO_TEST_SETUP is defined.

Change-Id: I96fb4f29927c11970a6a17c0fd583694aa945c91
Reviewed-on: https://chromium-review.googlesource.com/975181
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2018-05-14 03:14:46 -07:00
..
2017-05-15 20:51:37 -07:00
2017-05-15 20:51:37 -07:00
2017-07-06 21:53:35 +00:00
2016-12-22 00:40:29 +00:00
2016-12-22 00:40:29 +00:00
2017-07-06 21:53:35 +00:00
2017-05-29 09:03:54 -07:00
2016-12-12 23:28:20 -08:00
2016-12-12 23:28:20 -08:00
2017-08-04 18:08:16 -07:00