From 27156bdc54e6770dcd6ddf7d3ba7d3b4a8747ec2 Mon Sep 17 00:00:00 2001 From: Vadim Sukhomlinov Date: Tue, 9 Jun 2020 16:45:59 -0700 Subject: test/ecc_test.py: fix hash code constant In https://crrev.com/c/2227077 ECC command handler was reimplemented, but associated test was uploaded with old version of constant. BUG=b:138578319 TEST=make CRYPTO_TEST=1 BOARD=cr50 -j && test/tpm_test/tpmtest.py Signed-off-by: Vadim Sukhomlinov Change-Id: I7c50ed108d193958e62f76c2f7315247df14a398 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2238649 Tested-by: Vadim Sukhomlinov Reviewed-by: Vadim Bendebury Reviewed-by: Vadim Sukhomlinov Commit-Queue: Vadim Sukhomlinov Auto-Submit: Vadim Sukhomlinov --- test/tpm_test/ecc_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tpm_test/ecc_test.py b/test/tpm_test/ecc_test.py index 9ec34c2f21..aebaa7c4b3 100644 --- a/test/tpm_test/ecc_test.py +++ b/test/tpm_test/ecc_test.py @@ -36,7 +36,7 @@ _SIGN_MODE = { # TPM2 ALG codes. _HASH = { - 'NONE': 0x00, + 'NONE': 0x10, 'SHA1': 0x04, 'SHA256': 0x0B } -- cgit v1.2.1