| commit | fc39c8b509da8a45869d7c0e44b263dd631c6fb4 | [log] [tgz] |
|---|---|---|
| author | Yi Chou <[email protected]> | Thu Oct 14 11:48:25 2021 |
| committer | Commit Bot <[email protected]> | Thu Dec 02 10:22:28 2021 |
| tree | 0976a2b7b2acb179add29936ed65851ab6662c95 | |
| parent | 71a12656858f452af4b5410cee156526b9f65c62 [diff] |
pinweaver: Add initial BUILD.gn BUG=b:202832425 TEST=Build OK. Change-Id: Ib75c6f64560d88f529c391dca5d2c37c537bd99a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3223080 Reviewed-by: Andrey Pronin <[email protected]> Reviewed-by: Leo Lai <[email protected]> Tested-by: Yi Chou <[email protected]> Commit-Queue: Yi Chou <[email protected]>
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.hpinweaver_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.hA 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).