aboutsummaryrefslogtreecommitdiff
path: root/lib/rsa/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro2020-02-21 15:12:55 +0900
committerTom Rini2020-03-12 08:20:38 -0400
commitb983cc2da0bafd73a4dfc069eb3c3a98677e2d92 (patch)
tree6ea5e39eb92db6a1c1311876a8df52f267a3aeea /lib/rsa/Kconfig
parentd08b16edf80aa268985b96b2d9e633909734e7c1 (diff)
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>
Diffstat (limited to 'lib/rsa/Kconfig')
-rw-r--r--lib/rsa/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index 2b33f323bcc..18a075c1747 100644
--- a/lib/rsa/Kconfig
+++ b/lib/rsa/Kconfig
@@ -18,6 +18,16 @@ if RSA
config SPL_RSA
bool "Use RSA Library within SPL"
+config SPL_RSA_VERIFY
+ bool
+ help
+ Add RSA signature verification support in SPL.
+
+config RSA_VERIFY
+ bool
+ help
+ Add RSA signature verification support.
+
config RSA_SOFTWARE_EXP
bool "Enable driver for RSA Modular Exponentiation in software"
depends on DM