diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2020-06-09 16:45:59 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-10 05:41:35 +0000 |
commit | 27156bdc54e6770dcd6ddf7d3ba7d3b4a8747ec2 (patch) | |
tree | e5a7f08998223b19565f779036239c781e4366f9 | |
parent | e654c3313a8d7c4e42a90d829e0026af563bfb09 (diff) | |
download | chrome-ec-27156bdc54e6770dcd6ddf7d3ba7d3b4a8747ec2.tar.gz |
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 <sukhomlinov@google.com>
Change-Id: I7c50ed108d193958e62f76c2f7315247df14a398
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2238649
Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Auto-Submit: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | test/tpm_test/ecc_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |