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