Lines Matching refs:certs
86 br_x509_certificate *certs; in efi_get_certs() local
95 certs = NULL; in efi_get_certs()
132 certs = realloc(certs, in efi_get_certs()
134 if (certs == NULL) { in efi_get_certs()
139 certs[cert_count].data_len = list->SignatureSize - sizeof(EFI_GUID); in efi_get_certs()
140 certs[cert_count].data = malloc(certs[cert_count].data_len); in efi_get_certs()
141 if (certs[cert_count].data == NULL) in efi_get_certs()
144 memcpy(certs[cert_count].data, in efi_get_certs()
146 certs[cert_count].data_len); in efi_get_certs()
154 return (certs); in efi_get_certs()
157 free_certificates(certs, cert_count); in efi_get_certs()