commit | fad8b9719b6a2176dd009b0639b40a09dba42d6e | [log] [tgz] |
---|---|---|
author | Howard Yang <hcyang@google.com> | Fri Aug 05 16:58:33 2022 +0800 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 31 01:36:03 2022 +0000 |
tree | 13754f7342a07eff96c86ae75fd1f379ee4ed18a | |
parent | f3a5e9fdaf2d99c8b28f3081aa5a89acaf272424 [diff] |
pinweaver: Add generate_ba_pk command Add generate_ba_pk command that establishes a pairing secret (Pk) on the specified auth channel. Add related types and eals needed. BUG=b:242274800 TEST=build ok TEST=tested with the https://crrev.com/c/3828078 Cq-Depend: chromium:3828076 Change-Id: Ia3d2b90daf8d4ca7de32901ea6554e5e2dc82e30 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3827927 Tested-by: Howard Yang <hcyang@google.com> Reviewed-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Yi Chou <yich@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).