2015-01-23 10:31:56 +00:00
|
|
|
config RSA
|
|
|
|
bool "Use RSA Library"
|
2017-03-16 21:17:06 +00:00
|
|
|
select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
|
2015-01-23 10:31:56 +00:00
|
|
|
select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP
|
|
|
|
help
|
|
|
|
RSA support. This enables the RSA algorithm used for FIT image
|
|
|
|
verification in U-Boot.
|
|
|
|
See doc/uImage.FIT/signature.txt for more details.
|
2016-02-23 05:55:43 +00:00
|
|
|
The Modular Exponentiation algorithm in RSA is implemented using
|
|
|
|
driver model. So CONFIG_DM needs to be enabled by default for this
|
|
|
|
library to function.
|
|
|
|
The signing part is build into mkimage regardless of this
|
|
|
|
option. The software based modular exponentiation is built into
|
|
|
|
mkimage irrespective of this option.
|
2015-01-23 10:31:56 +00:00
|
|
|
|
2016-06-10 02:18:44 +00:00
|
|
|
config SPL_RSA
|
|
|
|
bool "Use RSA Library within SPL"
|
|
|
|
depends on RSA
|
|
|
|
|
2015-01-23 10:31:56 +00:00
|
|
|
if RSA
|
|
|
|
config RSA_SOFTWARE_EXP
|
|
|
|
bool "Enable driver for RSA Modular Exponentiation in software"
|
|
|
|
depends on DM && RSA
|
|
|
|
help
|
|
|
|
Enables driver for modular exponentiation in software. This is a RSA
|
|
|
|
algorithm used in FIT image verification. It required RSA Key as
|
|
|
|
input.
|
|
|
|
See doc/uImage.FIT/signature.txt for more details.
|
|
|
|
|
|
|
|
config RSA_FREESCALE_EXP
|
|
|
|
bool "Enable RSA Modular Exponentiation with FSL crypto accelerator"
|
2017-03-16 21:17:06 +00:00
|
|
|
depends on DM && RSA && FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
|
2015-01-23 10:31:56 +00:00
|
|
|
help
|
|
|
|
Enables driver for RSA modular exponentiation using Freescale cryptographic
|
|
|
|
accelerator - CAAM.
|
|
|
|
|
|
|
|
endif
|