Lines Matching refs:ebuf
59 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()
97 memcpy(ebuf + sizeof(pkcs7_hdr), buf, buflen); 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()
112 *tmpbuf = ebuf; in efi_parse_pkcs7_header()