3 select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !ARCH_MX6 && !ARCH_MX5
4 select RSA_ASPEED_EXP if ASPEED_ACRY
5 select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP && !RSA_ASPEED_EXP
7 RSA support. This enables the RSA algorithm used for FIT image
8 verification in U-Boot.
9 See doc/uImage.FIT/signature.txt for more details.
10 The Modular Exponentiation algorithm in RSA is implemented using
11 driver model. So CONFIG_DM needs to be enabled by default for this
13 The signing part is build into mkimage regardless of this
14 option. The software based modular exponentiation is built into
15 mkimage irrespective of this option.
20 bool "Use RSA Library within SPL"
26 Add RSA signature verification support in SPL.
31 Add RSA signature verification support.
33 config RSA_VERIFY_WITH_PKEY
34 bool "Execute RSA verification without key parameters from FDT"
36 select ASYMMETRIC_KEY_TYPE
37 select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
38 select RSA_PUBLIC_KEY_PARSER
40 The standard RSA-signature verification code (FIT_SIGNATURE) uses
41 pre-calculated key properties, that are stored in fdt blob, in
42 decrypting a signature.
43 This does not suit the use case where there is no way defined to
44 provide such additional key properties in standardized form,
45 particularly UEFI secure boot.
46 This options enables RSA signature verification with a public key
47 directly specified in image_sign_info, where all the necessary
48 key properties will be calculated on the fly in verification code.
50 config RSA_SOFTWARE_EXP
51 bool "Enable driver for RSA Modular Exponentiation in software"
54 Enables driver for modular exponentiation in software. This is a RSA
55 algorithm used in FIT image verification. It required RSA Key as
57 See doc/uImage.FIT/signature.txt for more details.
59 config RSA_FREESCALE_EXP
60 bool "Enable RSA Modular Exponentiation with FSL crypto accelerator"
61 depends on DM && FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !ARCH_MX6 && !ARCH_MX5
63 Enables driver for RSA modular exponentiation using Freescale cryptographic
67 bool "Enable RSA Modular Exponentiation with ASPEED crypto accelerator"
68 depends on DM && ASPEED_ACRY
70 Enables driver for RSA modular exponentiation using ASPEED cryptographic