| commit | 41f3c0b526d4929ea3e54786908041ba0a7e8e2a | [log] [tgz] |
|---|---|---|
| author | Andrey Pronin <[email protected]> | Tue Aug 17 21:59:41 2021 |
| committer | Chromeos LUCI <[email protected]> | Tue Sep 12 04:37:13 2023 |
| tree | 3e7b8bfb952f5efc1dcf217ebbd0a1e01374ca9c | |
| parent | ccdf3ccec7f8efb7dd20660056b11d2512c3f9e7 [diff] |
mini_trunks: add size checks to HmacKeyAppend BUG=b:197007454 TEST=fuzzer + pinweaver_client selftest Change-Id: I7c4e5c377d1f5c0092ab8f5dcad3a3b3012f3252 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/3101711 Tested-by: Andrey Pronin <[email protected]> Auto-Submit: Andrey Pronin <[email protected]> Commit-Queue: Yi Chou <[email protected]> Reviewed-by: 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).