kumquat-buildroot/package/wolftpm/Config.in
Dimitar Tomov d0dcc62c4b package/wolftpm: Add config options for TPM 2.0 extra capabilities
Some TPM 2.0 chips offer extra capabilities. This patch adds additional
configuration options to the wolftpm package, so such capabilities can
be available to the user. For example, the STMicroelectronics ST33 and
Nuvoton NPCT750 both offer secure GPIO. Due to chip differences, wolfTPM
requires explicit configuration options to enable the extra capabilities.

Signed-off-by: Dimitar Tomov <dimi@tpm.dev>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-07-23 17:00:48 +02:00

42 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_WOLFTPM
bool "wolftpm"
help
wolfTPM is a portable, open-source TPM 2.0 stack with
backward API compatibility, designed for embedded use.
No external dependencies, compact code size with low
resource usage.
https://www.wolfssl.com/
if BR2_PACKAGE_WOLFTPM
config BR2_PACKAGE_WOLFTPM_WOLFCRYPT
bool "wolfCrypt hooks"
default y
depends on BR2_TOOLCHAIN_HAS_THREADS # wolfssl
depends on !BR2_STATIC_LIBS # wolfssl-all
select BR2_PACKAGE_WOLFSSL
# not mandatory, but needed to get all features
select BR2_PACKAGE_WOLFSSL_ALL
help
Enable wolfCrypt hooks for RNG, Auth Sessions and Parameter
encryption. Disabling this option is not recommended as it
could create a security breach in most environments.
config BR2_PACKAGE_WOLFTPM_ST33
bool "ST33 extra functionality"
help
Enable support of TPM 2.0 extra functionality offered by the
STMicroelectronics ST33 chip.
config BR2_PACKAGE_WOLFTPM_NUVOTON
bool "NPCT750 extra functionality"
help
Enable support of TPM 2.0 extra functionality offered by the
Nuvoton NPCT750 chip.
comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
endif