include: pe.h: add signature-related definitions
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 26 Nov 2019 00:51:05 +0000 (09:51 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:19 +0000 (18:08 +0100)
commit75fe571a4194ac26de7deffb2aa6db494596f58f
treec25c313db059dc3ad04b87119b6596d6bfdd4912
parent72a60feab025dcf420f2b2137849d2f0bcbb13b5
include: pe.h: add signature-related definitions

The index (IMAGE_DIRECTORY_ENTRY_SECURITY) in a table points to
a region containing authentication information (image's signature)
in PE format.

WIN_CERTIFICATE structure defines an embedded signature format.

Those definitions will be used in my UEFI secure boot patch.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/pe.h