Home
last modified time | relevance | path

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

/u-boot/lib/efi_loader/
A Defi_signature.c59 u8 *ebuf; in efi_parse_pkcs7_header() local
90 ebuf = malloc(ebuflen); in efi_parse_pkcs7_header()
91 if (!ebuf) { in efi_parse_pkcs7_header()
96 memcpy(ebuf, pkcs7_hdr, sizeof(pkcs7_hdr)); in efi_parse_pkcs7_header()
99 ebuf[2] = (len >> 8) & 0xff; in efi_parse_pkcs7_header()
100 ebuf[3] = len & 0xff; in efi_parse_pkcs7_header()
102 ebuf[0x11] = (len >> 8) & 0xff; in efi_parse_pkcs7_header()
103 ebuf[0x12] = len & 0xff; in efi_parse_pkcs7_header()
105 msg = pkcs7_parse_message(ebuf, ebuflen); in efi_parse_pkcs7_header()
108 free(ebuf); in efi_parse_pkcs7_header()
[all …]
A Defi_variable.c61 u8 *ebuf; in efi_variable_authenticate() local
69 ebuf = NULL; in efi_variable_authenticate()
136 &ebuf); in efi_variable_authenticate()
191 free(ebuf); in efi_variable_authenticate()

Completed in 5 milliseconds