summaryrefslogtreecommitdiff
path: root/test/uptime.c
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2021-09-29 11:41:26 -0700
committerCommit Bot <commit-bot@chromium.org>2021-10-06 03:51:19 +0000
commit6a1d61e3e507f8f213b7ca6c5c07e3fc87b72d77 (patch)
treed423bfc7a7ad8b6f7f5c096076ab45295dac7de2 /test/uptime.c
parent0fe84e193c648d30a0e45b2332bd4854a3e1d8bb (diff)
downloadchrome-ec-6a1d61e3e507f8f213b7ca6c5c07e3fc87b72d77.tar.gz
cr50: update AES-CMAC implementation
Cr50 doesn't use CMAC, it is not even compiled, however during internal review potential issues with branching on key values were spotted. 1) Fix key expansion to be constant time 2) Switch to enum dcrypto_result 3) Test commands updated to be compatible with FIPS build (use .rodata) 4) Clean up computed tag on stack during verification BUG=None TEST=make BOARD=cr50 CRYPTO_TEST=1 CMAC_TEST=1 in ccd: test_cmac 1 2 3 4 test_cmac_ver 1 2 3 4 Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com> Change-Id: Iff9b84dd8fb2baed9152f1ee5c40ef8e4198edd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3194972 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org> Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'test/uptime.c')
0 files changed, 0 insertions, 0 deletions