Searched refs:TPM2_PCRS_MAX (Results 1 – 7 of 7) sorted by relevance
526 if (pcap->data.assignedPCR.pcrSelections[i].sizeofSelect < TPM2_PCRS_MAX/8) { in tpm2_get_best_pcr_bank()532 assert_cc(TPM2_PCRS_MAX % 8 == 0); in tpm2_get_best_pcr_bank()536 for (size_t j = 0; j < TPM2_PCRS_MAX/8; j++) in tpm2_get_best_pcr_bank()859 assert(pcr_mask < (UINT32_C(1) << TPM2_PCRS_MAX)); /* Support 24 PCR banks */ in tpm2_seal()1062 assert(pcr_mask < (UINT32_C(1) << TPM2_PCRS_MAX)); /* Support 24 PCR banks */ in tpm2_unseal()1353 if (n >= TPM2_PCRS_MAX) in tpm2_parse_pcrs()1378 JsonVariant* pcr_array[TPM2_PCRS_MAX]; in tpm2_make_luks2_json()
59 #define TPM2_PCRS_MAX 24 macro
850 if (le64toh(t->pcr_mask) >= (UINT64_C(1) << TPM2_PCRS_MAX)) in decrypt_credential_and_warn()
156 for (uint32_t i = 0; i < TPM2_PCRS_MAX; i++) { in cryptsetup_token_dump()217 if (u >= TPM2_PCRS_MAX) { in cryptsetup_token_validate()
105 if (u >= TPM2_PCRS_MAX) in parse_luks2_tpm2_data()
150 assert(pcr_mask < (1U << TPM2_PCRS_MAX)); /* Support 24 PCR banks */ in enroll_tpm2()
219 if (u >= TPM2_PCRS_MAX) in find_tpm2_auto_data()