Searched refs:tpm2 (Results 1 – 2 of 2) sorted by relevance
6 tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o \8 eventlog/tpm2.o tpm2-space.o
748 int tpm2; in getoptions() local750 tpm2 = tpm_is_tpm2(NULL); in getoptions()751 if (tpm2 < 0) in getoptions()752 return tpm2; in getoptions()754 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions()819 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()826 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()835 if (!tpm2) in getoptions()917 int tpm2; in trusted_options_alloc() local919 tpm2 = tpm_is_tpm2(NULL); in trusted_options_alloc()[all …]