diff options
author | Firas Sammoura <fsammoura@google.com> | 2022-09-02 21:45:34 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-12 19:46:37 +0000 |
commit | 8051471c0a8720991042bc47c6328a9f4a64cde0 (patch) | |
tree | 28fb1a724f762dee0e884119a61c1ea73c20e51f /board/discovery-stm32f072/board.c | |
parent | 338b2fa082a886c6134ca67586d38a83bd49fe6a (diff) | |
download | chrome-ec-8051471c0a8720991042bc47c6328a9f4a64cde0.tar.gz |
test: Add test for read_match_secret succeed
Add test for fp_command_read_match_secret when the number of matched
finger is within the allowed range of [0 5[, the state deadline value is
valid, the state is readable with the correct matched finger number, and
a valid positive_match_salt is derived. The test should succeed and
return the message EC_SUCCESS. The response positive_match_secret should
also align with the expected one given a tpm_seed, positive_match_salt,
and user_id.
BRANCH=None
BUG=b:242720387
TEST=make run-fpsensor_state
TEST=make runhosttests
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Change-Id: I21f9a621d5eb6cd8a4635a83e930d74cb45f4d7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872716
Reviewed-by: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'board/discovery-stm32f072/board.c')
0 files changed, 0 insertions, 0 deletions