heads/modules/tpmtotp
Jonathon Hall e2c2f2d4e0
tpmtotp: Update to branch including tpm pcrread
Update to branch including tpm pcrread until it is merged upstream. tpm
pcrread allows us to use the same logical flow for TPM1 and TPM2 in
seal operations.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
2023-03-08 12:45:56 -05:00

27 lines
656 B
Makefile

modules-$(CONFIG_TPMTOTP) += tpmtotp
tpmtotp_depends := mbedtls qrencode $(musl_dep)
tpmtotp_version := 363f1de935a77eb53972e77509f469023516d43a
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
tpmtotp_url := https://github.com/JonathonHall-Purism/tpmtotp/archive/$(tpmtotp_version).tar.gz
tpmtotp_hash := 225ba63a5e912809e40ee58d6d4ea4e4a3150fd05d97b4f4c02196be7dcd0272
tpmtotp_target := \
$(CROSS_TOOLS) \
CFLAGS="-I$(INSTALL)/include -Os" \
LDFLAGS="-L$(INSTALL)/lib" \
tpmtotp_output := \
totp \
hotp \
base32 \
qrenc \
util/tpm \
tpmtotp_libraries := \
libtpm/libtpm.so \
tpmtotp_configure :=