ubuntu-buildroot/package/tpm2-tools/Config.in

39 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_TPM2_TOOLS
bool "tpm2-tools"
depends on !BR2_STATIC_LIBS # tpm2-tss
depends on BR2_USE_WCHAR
# c16rtomb() not implemented in uClibc
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_TPM2_TSS
help
TPM (Trusted Platform Module) 2.0 CLI tools based on system
API of TPM2-TSS. These tools can be used to manage keys,
perform encryption/decryption/signing/etc crypto operations,
and manage non-volatile storage through a TPM2.0 HW
implementation.
Notice: An in-kernel resource manager is provided by the
Linux kernel since 4.12. Depending on use cases and kernel
version, the user space resource manager provided by
tpm2-abrmd may be needed.
https://github.com/tpm2-software/tpm2-tools
if BR2_PACKAGE_TPM2_TOOLS
config BR2_PACKAGE_TPM2_TOOLS_FAPI
bool "fapi tools"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_TPM2_TSS_FAPI
help
This option enables Feature API (FAPI) support in
tpm2-tools. The FAPI tools are prefixed with tss2_.
endif
comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar"
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)