Home
last modified time | relevance | path

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

/openbmc/linux/crypto/asymmetric_keys/
H A Dverify_pefile.c27 const struct pe32_opt_hdr *pe32; in pefile_parse_binary() local
53 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary()
54 pe32 = pebuf + cursor; in pefile_parse_binary()
57 switch (pe32->magic) { in pefile_parse_binary()
59 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
61 (unsigned long)&pe32->csum - (unsigned long)pebuf; in pefile_parse_binary()
62 ctx->header_size = pe32->header_size; in pefile_parse_binary()
63 cursor += sizeof(*pe32); in pefile_parse_binary()
64 ctx->n_data_dirents = pe32->data_dirs; in pefile_parse_binary()
77 pr_warn("Unknown PEOPT magic = %04hx\n", pe32->magic); in pefile_parse_binary()