Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/char/tpm/eventlog/
H A Dacpi.c48 struct tcg_efi_specid_event_head *efispecid; in tpm_is_tpm2_log() local
57 if (len < sizeof(*efispecid)) in tpm_is_tpm2_log()
59 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
61 n = memcmp(efispecid->signature, TCG_SPECID_SIG, in tpm_is_tpm2_log()