while (count > 0) {
header = data + size;
event_size = __calc_tpm2_event_size(header, size_info, true); if (event_size == 0) return -1;
size += event_size;
count--;
}
return size;
}
/* * Reserve the memory associated with the TPM Event Log configuration table.
*/ int __init efi_tpm_eventlog_init(void)
{ struct linux_efi_tpm_eventlog *log_tbl; struct efi_tcg2_final_events_table *final_tbl; unsignedint tbl_size; int final_tbl_size; int ret = 0;
if (efi.tpm_log == EFI_INVALID_TABLE_ADDR) { /* * We can't calculate the size of the final events without the * first entry in the TPM log, so bail here.
*/ return 0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.