summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2023-03-03 07:59:03 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-16 12:25:51 +0000
commited10ce4730d37a4ae7eab60ad70257720399f289 (patch)
tree4d9a4b27fe5b610076fee47c05cc37c4ce429707 /util
parentb3f837ea4fa93c56ffd8825148b1c0a331dd6541 (diff)
downloadchrome-ec-ed10ce4730d37a4ae7eab60ad70257720399f289.tar.gz
cr50: Use platform/pinweaver
Toggle the CONFIG_PLATFORM_PINWEAVER build flag, to build pinweaver with the platform/pinweaver implementation instead of the cr50 implementation. BUG=b:262040869 TEST=make board=cr50 -j TEST=(DUT) Use cryptohome CLI to create a user with a PIN. TEST=(DUT) Make 2 fail attempts on that PIN. TEST=(DUT) Update cr50 to the image including this CL. TEST=(DUT) Test leaf properties are correct: 3 more fail attempts locks the PIN, password auth resets the PIN, then PIN authentication succeeds. TEST=tast run $DUT hwsec.PINWeaver* Cq-Depend: chromium:4307211 Change-Id: I6e52566ca8ee68bb0ee71d30538fb6b8cbc4f67d Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4311235 Tested-by: Howard Yang <hcyang@google.com> Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Howard Yang <hcyang@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/getversion.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/getversion.sh b/util/getversion.sh
index f17e4c3751..ea73b7d054 100755
--- a/util/getversion.sh
+++ b/util/getversion.sh
@@ -99,6 +99,7 @@ main() {
case "${BOARD}" in
(cr50)
dir_list+=( ../../third_party/tpm2 )
+ dir_list+=( ../pinweaver )
;;
(*_fp)
dir_list+=( ./private )