commit | db207916b064016c3362fca1f4c76e92b2ab86d9 | [log] [tgz] |
---|---|---|
author | Leo Lai <cylai@chromium.org> | Wed Aug 11 16:41:18 2021 +0800 |
committer | Leo Lai <cylai@google.com> | Thu Aug 12 01:52:50 2021 +0000 |
tree | f246978c8254c8b2daa4a42a65c4c66d472ed2a8 | |
parent | 7f598a5bda43103a15b053c6fb59339580f0654d [diff] |
use pinweaver_eal_memcpy_s (pinweaver.c) BUG=b:193408125 TEST=uniittests. Change-Id: I18d24620fc5eb346bb8f025076350e6237b2a090 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3089214 Reviewed-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Leo Lai <cylai@google.com> Commit-Queue: Andrey Pronin <apronin@chromium.org> Commit-Queue: Leo Lai <cylai@google.com> Tested-by: Andrey Pronin <apronin@chromium.org> Tested-by: Leo Lai <cylai@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).