lib: rsa: decouple rsa from FIT image verification
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 21 Feb 2020 06:12:55 +0000 (15:12 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 12 Mar 2020 12:20:38 +0000 (08:20 -0400)
commitb983cc2da0bafd73a4dfc069eb3c3a98677e2d92
tree6ea5e39eb92db6a1c1311876a8df52f267a3aeea
parentd08b16edf80aa268985b96b2d9e633909734e7c1
lib: rsa: decouple rsa from FIT image verification

Introduce new configuration, CONFIG_RSA_VERIFY which will decouple building
RSA functions from FIT verification and allow for adding a RSA-based
signature verification for other file formats, in particular PE file
for UEFI secure boot.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig
common/Kconfig
common/Makefile
common/image-fit-sig.c [new file with mode: 0644]
common/image-fit.c
common/image-sig.c
include/image.h
lib/rsa/Kconfig
lib/rsa/Makefile
lib/rsa/rsa-verify.c
tools/Makefile