commit | 1bb6d7868e622f3c77d577f9a1c29432f0cd9e95 | [log] [tgz] |
---|---|---|
author | Brian Granaghan <granaghan@google.com> | Thu Jul 20 21:32:17 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 24 21:50:15 2023 |
tree | 3defd443b433ec521318d6d1da70c729db1940a9 | |
parent | 2d924525c86c9caea9f4aa8ffe86dd85c02946e1 [diff] |
pinweaver: Export files for ti50 bazel build. BUG=b:292140485 TEST=bazel build -c opt --platforms=//platform/ti50/common/platforms:dauntless --verbose_failures //platform/ti50/common/libs/pinweaver-sys Change-Id: Ie431ab127d0edcb0c8126cd34a5465ce88aec834 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/4704215 Reviewed-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Howard Yang <hcyang@google.com> Tested-by: Brian Granaghan <granaghan@google.com> Commit-Queue: Brian Granaghan <granaghan@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).