Searched refs:tpm2 (Results 1 – 1 of 1) sorted by relevance
757 int tpm2; in getoptions() local759 tpm2 = tpm_is_tpm2(chip); in getoptions()760 if (tpm2 < 0) in getoptions()761 return tpm2; in getoptions()763 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions()828 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()835 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()844 if (!tpm2) in getoptions()926 int tpm2; in trusted_options_alloc() local928 tpm2 = tpm_is_tpm2(chip); in trusted_options_alloc()[all …]