commit | b736a545db18d6e4f34b7201c177e514f3aeb0aa | [log] [tgz] |
---|---|---|
author | Andrey Pronin <apronin@google.com> | Thu Jul 22 11:20:28 2021 +0300 |
committer | Leo Lai <cylai@google.com> | Thu Jul 22 08:27:24 2021 +0000 |
tree | e5dc5336a26ce3b86ab6dce7e6f3ffb19aa0c342 | |
parent | 43f74f2e0d1e364c77b343a656c15d9c692ba654 [diff] |
tpm_storage: start PW nvmem spaces from 01800007 This CL shifts the start of PinWeaver nvmem space indices by 1, placing the tree descriptor space at 01800007 instead of 01800006, to avoid the conflict with bootlockbox space. BUG=none TEST=make all Change-Id: I76bb41ea35a349da1952d4faebc4bf954d68d180 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3045260 Reviewed-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Leo Lai <cylai@google.com> Tested-by: Andrey Pronin <apronin@chromium.org> Tested-by: Leo Lai <cylai@google.com> Commit-Queue: 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).