commit | 2d924525c86c9caea9f4aa8ffe86dd85c02946e1 | [log] [tgz] |
---|---|---|
author | Yi Chou <yich@google.com> | Wed Aug 23 04:22:54 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 23 09:09:33 2023 |
tree | 9190974e8dad02c2cf47b2b0d11da5513e6b33d0 | |
parent | e6059827113f3b25037006d4062061712e5ca800 [diff] |
pinweaver: Fix the null argument UB in fuzzed ecdh BUG=b:297056262 TEST=CQ Change-Id: I2625902caa27233410fc4c65fd2133b38f319e70 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/4805584 Reviewed-by: Howard Yang <hcyang@google.com> Tested-by: Yi Chou <yich@google.com> Commit-Queue: Yi Chou <yich@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).