diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2019-10-10 18:38:32 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-04 05:25:01 +0000 |
commit | 32c349afe72541570984a32bd85b8f1fcf2acb39 (patch) | |
tree | 052173a3d8d68ede26f0dcc68922dfc541bcc461 /board/nami_fp | |
parent | a25fd9ccb9b38b2d81cf2027c3f081330c5e9c29 (diff) | |
download | chrome-ec-32c349afe72541570984a32bd85b8f1fcf2acb39.tar.gz |
cr50: Add support for ACVP tests of HMAC implementations
In order to support NIST ACVP testing, new commands to provide access to
HMAC implementations (software, and hardware accelerated HMAC SHA-256)
with CRYPTO_TEST_SETUP added:
- Software HMAC (_cpri_StartHMAC) TPM implementation
- dcrypto HMAC (DCRYPTO_HMAC_SHA256_init)
Updated hash_test.py to support different hash algorithms for hash
and HMAC, added HMAC tests.
BRANCH=cr50
TEST=make BOARD=cr50 CRYPTO_TEST=1 -j && test/tpm_test/tpmtest.py
BUG=b:138578319
Change-Id: I57da2f27734fc7e5dbc896d75c5f8b2ed60e3b18
Signed-off-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1854885
Reviewed-by: Gurleen Grewal <gurleengrewal@google.com>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Gurleen Grewal <gurleengrewal@google.com>
Diffstat (limited to 'board/nami_fp')
0 files changed, 0 insertions, 0 deletions