Lines Matching refs:siglist
164 struct efi_signature_store *siglist; in efi_signature_lookup_digest() local
175 for (siglist = db; siglist; siglist = siglist->next) { in efi_signature_lookup_digest()
177 if (guidcmp(&siglist->sig_type, &efi_guid_sha256)) { in efi_signature_lookup_digest()
179 &siglist->sig_type); in efi_signature_lookup_digest()
188 for (sig_data = siglist->sig_data_list; sig_data; in efi_signature_lookup_digest()
225 struct efi_signature_store *siglist; in efi_lookup_certificate() local
248 for (siglist = db; siglist; siglist = siglist->next) { in efi_lookup_certificate()
250 if (guidcmp(&siglist->sig_type, &efi_guid_cert_x509)) in efi_lookup_certificate()
253 for (sig_data = siglist->sig_data_list; sig_data; in efi_lookup_certificate()
300 struct efi_signature_store *siglist; in efi_verify_certificate() local
311 for (siglist = db; siglist; siglist = siglist->next) { in efi_verify_certificate()
313 if (guidcmp(&siglist->sig_type, &efi_guid_cert_x509)) in efi_verify_certificate()
316 for (sig_data = siglist->sig_data_list; sig_data; in efi_verify_certificate()
362 struct efi_signature_store *siglist; in efi_signature_check_revocation() local
376 for (siglist = dbx; siglist; siglist = siglist->next) { in efi_signature_check_revocation()
377 if (guidcmp(&siglist->sig_type, &efi_guid_cert_x509_sha256)) in efi_signature_check_revocation()
386 for (sig_data = siglist->sig_data_list; sig_data; in efi_signature_check_revocation()
645 struct efi_signature_store *siglist = NULL; in efi_sigstore_parse_siglist() local
681 siglist = calloc(sizeof(*siglist), 1); in efi_sigstore_parse_siglist()
682 if (!siglist) { in efi_sigstore_parse_siglist()
686 memcpy(&siglist->sig_type, &esl->signature_type, sizeof(efi_guid_t)); in efi_sigstore_parse_siglist()
729 siglist->sig_data_list = sig_data_next; in efi_sigstore_parse_siglist()
731 return siglist; in efi_sigstore_parse_siglist()
734 efi_sigstore_free(siglist); in efi_sigstore_parse_siglist()
755 struct efi_signature_store *sigstore = NULL, *siglist; in efi_build_signature_store() local
771 siglist = efi_sigstore_parse_siglist(esl); in efi_build_signature_store()
772 if (!siglist) { in efi_build_signature_store()
778 siglist->next = sigstore; in efi_build_signature_store()
779 sigstore = siglist; in efi_build_signature_store()