Home
last modified time | relevance | path

Searched refs:TPM2_PCRS_MAX (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/shared/
Dtpm2-util.c526 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()
Dtpm2-util.h59 #define TPM2_PCRS_MAX 24 macro
Dcreds-util.c850 if (le64toh(t->pcr_mask) >= (UINT64_C(1) << TPM2_PCRS_MAX)) in decrypt_credential_and_warn()
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-systemd-tpm2.c156 for (uint32_t i = 0; i < TPM2_PCRS_MAX; i++) { in cryptsetup_token_dump()
217 if (u >= TPM2_PCRS_MAX) { in cryptsetup_token_validate()
Dluks2-tpm2.c105 if (u >= TPM2_PCRS_MAX) in parse_luks2_tpm2_data()
/systemd-251/src/cryptenroll/
Dcryptenroll-tpm2.c150 assert(pcr_mask < (1U << TPM2_PCRS_MAX)); /* Support 24 PCR banks */ in enroll_tpm2()
/systemd-251/src/cryptsetup/
Dcryptsetup-tpm2.c219 if (u >= TPM2_PCRS_MAX) in find_tpm2_auto_data()