Searched refs:try_tpm2 (Results 1 – 1 of 1) sorted by relevance
555 bool try_tpm2; in encrypt_credential_and_warn() local566 try_tpm2 = r <= 0; in encrypt_credential_and_warn()571 try_tpm2 = efi_has_tpm2(); in encrypt_credential_and_warn()572 if (!try_tpm2) in encrypt_credential_and_warn()575 …try_tpm2 = sd_id128_in_set(with_key, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM… in encrypt_credential_and_warn()577 if (try_tpm2) { in encrypt_credential_and_warn()