Files
OpenCellular/chip/g
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
..
2018-01-31 13:47:15 -08:00
2017-12-18 20:32:58 -08:00
2018-01-31 13:47:15 -08:00
2018-05-14 03:14:46 -07:00
2016-04-29 16:07:13 -07:00
2018-01-31 13:47:15 -08:00
2018-01-03 16:54:35 -08:00
2017-05-16 13:37:03 -07:00
2016-02-01 21:17:22 +00:00
2017-06-16 17:24:28 -07:00
2016-11-04 18:31:44 -07:00
2016-07-13 19:09:19 -07:00
2017-08-01 13:01:41 -07:00
2017-08-01 13:01:41 -07:00
2018-02-26 19:28:55 -08:00
2017-06-16 17:24:28 -07:00
2017-12-18 20:32:58 -08:00
2018-02-24 01:22:46 -08:00
2015-04-02 20:27:46 +00:00
2016-10-22 00:01:02 +00:00
2017-12-18 20:32:58 -08:00
2017-10-06 00:21:29 -07:00
2017-12-18 20:32:58 -08:00
2017-12-18 20:32:58 -08:00
2017-03-16 11:25:50 -07:00
2017-09-22 10:18:50 -07:00