Lines Matching refs:spec_event
898 struct tcg_efi_spec_id_event *spec_event; in create_specid_event() local
910 spec_event = (struct tcg_efi_spec_id_event *)buffer; in create_specid_event()
911 memcpy(spec_event->signature, TCG_EFI_SPEC_ID_EVENT_SIGNATURE_03, in create_specid_event()
912 sizeof(spec_event->signature)); in create_specid_event()
913 put_unaligned_le32(0, &spec_event->platform_class); /* type client */ in create_specid_event()
914 spec_event->spec_version_minor = in create_specid_event()
916 spec_event->spec_version_major = in create_specid_event()
918 spec_event->spec_errata = in create_specid_event()
920 spec_event->uintn_size = sizeof(efi_uintn_t) / sizeof(u32); in create_specid_event()
923 &spec_event->number_of_algorithms); in create_specid_event()
926 if (spec_event->number_of_algorithms > MAX_HASH_COUNT || in create_specid_event()
927 spec_event->number_of_algorithms < 1) in create_specid_event()
930 for (i = 0; i < spec_event->number_of_algorithms; i++) { in create_specid_event()
936 &spec_event->digest_sizes[i].algorithm_id); in create_specid_event()
938 &spec_event->digest_sizes[i].digest_size); in create_specid_event()
947 spec_event->number_of_algorithms * sizeof(spec_event->digest_sizes[0]); in create_specid_event()
950 sizeof(spec_event->vendor_info_size)); in create_specid_event()
951 spec_event_size += sizeof(spec_event->vendor_info_size); in create_specid_event()