include: image.h: add key info to image_sign_info
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 21 Feb 2020 06:12:57 +0000 (15:12 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 12 Mar 2020 12:20:39 +0000 (08:20 -0400)
commita8fc3df8b96fb968e72d5f2f10d07322f81adc8a
treefd9769da27673421dd4768fbf1e99b16b6e1a11c
parentdd89f5b0fde7f23afffc69f92eedc7f7c5caef36
include: image.h: add key info to image_sign_info

For FIT verification, all the properties of a public key come from
"control fdt" pointed to by fdt_blob. In UEFI secure boot, on the other
hand, a public key is located and retrieved from dedicated signature
database stored as UEFI variables.

Added two fields may hold values of a public key if fdt_blob is NULL, and
will be used in rsa_verify_with_pkey() to verify a signature in UEFI
sub-system.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/image.h