commit | 66161afa2e5ec1dad3dfea16bfee827a2949348f | [log] [tgz] |
---|---|---|
author | Howard Yang <hcyang@google.com> | Thu Sep 22 18:54:06 2022 +0800 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 30 19:54:06 2022 +0000 |
tree | 27071cd1d48387d0b241cf4acbbf4bd09eb23700 | |
parent | 01d709d69eabfe1202c21c7d34318e19ed3321ab [diff] |
pinweaver: Add block_generate_ba_pk command Add a command to let the client block future Pk establishments until the server restarts. See the security consultation bug linked in the linked bug for more context. BUG=b:243089341 TEST=build ok TEST=pinweaver_client block_generate_ba_pk, then biometrics_selftest should fail. Then after reboot selftest should work again. Change-Id: Ibe716d596802a93c3180792a7f001527840f4b23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3911107 Reviewed-by: Andrey Pronin <apronin@chromium.org> Tested-by: Howard Yang <hcyang@google.com> Commit-Queue: Howard Yang <hcyang@google.com>
This directory contains reference PinWeaver code that can be used across implementation platforms.
It consists of:
pinweaver.h
- PinWeaver embedded API definitionpinweaver.c
- implementationpinweaver_eal.h
- API for Environment Abstraction Layer (EAL) used by PinWeavereal/**/pinweaver_eal_types.h
pinweaver_types.h
- header that is shared by PinWeaver implementation and PinWeaver clients that call it through platform-specific interface.eal/
foldereal/cr50
- implementation for cr50pinweaver_eal_types.h
- cr50-specific EAL API typespinweaver_eal.c
- cr50 implementation of EALeal/tpm_storage
- implementation for platforms that use TPM as PinWeaver data storagepinweaver_eal_types.h
- TPM-storage-specific EAL API typespinweaver_eal_tpm.h
- additional EAL functions required by TPM storagepinweaver_eal_linux.c
- implementation of non-storage EAL methods for Linux casetpm_storage_stubs.c
- empty implementation of storage EAL methodstpm_storage.c
- implementation of storage EAL methods on top of TSSmini_trunks/
- mini-TSS (TPM client software stack) used by TPM storage implementationpinweaver_eal.h
+ pinweaver_eal_tpm.h
EAL methodstss.h
+ *authorization_delegate.h
A platform implementation that uses TPM storage EAL option needs to implement all EAL methods implemented in pinweaver_eal_linux.c
(or use it as-is, if Linux compatible).