xref: /OK3568_Linux_fs/buildroot/package/tpm2-totp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_TPM2_TOTP
2	bool "tpm2-totp"
3	depends on !BR2_STATIC_LIBS # tpm2-tss
4	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM # glibc < 2.20
5	select BR2_PACKAGE_LIBQRENCODE
6	select BR2_PACKAGE_TPM2_TSS
7	help
8	  This is a reimplementation of Matthew Garrett's tpmtotp
9	  software for TPM 2.0 using the tpm2-tss software stack. Its
10	  purpose is to attest the trustworthiness of a device against
11	  a human using time-based one-time passwords (TOTP),
12	  facilitating the Trusted Platform Module (TPM) to bind the
13	  TOTP secret to the known trustworthy system state. In
14	  addition to the original tpmtotp, given the new capabilities
15	  of in-TPM hmac calculation, the tpm2-totp's secret HMAC keys
16	  do not have to be exported from the TPM to the CPU's RAM on
17	  boot anymore.
18
19	  https://github.com/tpm2-software/tpm2-totp
20
21comment "tpm2-totp needs a toolchain w/ dynamic library"
22	depends on BR2_STATIC_LIBS
23	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
24