86d7922952
codesourcery arm/aarch64 toolchains are old (2014) and use glibc 2.18/2.20 which are not compatible with 64-bit time_t raising the following build failure with libcgroup since commit1c2dbcdcf0
: In file included from ./libcgroup-internal.h:25:0, from parse.y:21: /home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64" # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64" ^ Fixes:1c2dbcdcf0
- http://autobuild.buildroot.org/results/e28f955f2b360f6e7bb231a5a3800cfbd17a23d7 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Peter: add Config.in.legacy entries] Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit53a8c5150e
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
855 B
Plaintext
22 lines
855 B
Plaintext
config BR2_PACKAGE_TPM2_TOTP
|
|
bool "tpm2-totp"
|
|
depends on !BR2_STATIC_LIBS # tpm2-tss
|
|
select BR2_PACKAGE_LIBQRENCODE
|
|
select BR2_PACKAGE_TPM2_TSS
|
|
help
|
|
This is a reimplementation of Matthew Garrett's tpmtotp
|
|
software for TPM 2.0 using the tpm2-tss software stack. Its
|
|
purpose is to attest the trustworthiness of a device against
|
|
a human using time-based one-time passwords (TOTP),
|
|
facilitating the Trusted Platform Module (TPM) to bind the
|
|
TOTP secret to the known trustworthy system state. In
|
|
addition to the original tpmtotp, given the new capabilities
|
|
of in-TPM hmac calculation, the tpm2-totp's secret HMAC keys
|
|
do not have to be exported from the TPM to the CPU's RAM on
|
|
boot anymore.
|
|
|
|
https://github.com/tpm2-software/tpm2-totp
|
|
|
|
comment "tpm2-totp needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|