Home
last modified time | relevance | path

Searched refs:efispecid (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/include/linux/
Dtpm_eventlog.h164 struct tcg_efi_specid_event_head *efispecid; in __calc_tpm2_event_size() local
212 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in __calc_tpm2_event_size()
221 if (memcmp(efispecid->signature, TCG_SPECID_SIG, in __calc_tpm2_event_size()
223 !efispecid->num_algs || count != efispecid->num_algs) { in __calc_tpm2_event_size()
248 for (j = 0; j < efispecid->num_algs; j++) { in __calc_tpm2_event_size()
249 if (halg == efispecid->digest_sizes[j].alg_id) { in __calc_tpm2_event_size()
251 efispecid->digest_sizes[j].digest_size; in __calc_tpm2_event_size()
256 if (j == efispecid->num_algs) { in __calc_tpm2_event_size()
/Linux-v6.1/drivers/char/tpm/eventlog/
Dacpi.c47 struct tcg_efi_specid_event_head *efispecid; in tpm_is_tpm2_log() local
56 if (len < sizeof(*efispecid)) in tpm_is_tpm2_log()
58 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
60 n = memcmp(efispecid->signature, TCG_SPECID_SIG, in tpm_is_tpm2_log()