1d9f23c7fSRuchika Guptaconfig RSA 2d9f23c7fSRuchika Gupta bool "Use RSA Library" 3d9f23c7fSRuchika Gupta select RSA_FREESCALE_EXP if FSL_CAAM 4d9f23c7fSRuchika Gupta select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP 5d9f23c7fSRuchika Gupta help 6d9f23c7fSRuchika Gupta RSA support. This enables the RSA algorithm used for FIT image 7d9f23c7fSRuchika Gupta verification in U-Boot. 8d9f23c7fSRuchika Gupta See doc/uImage.FIT/signature.txt for more details. 9*73223f0eSSimon Glass The Modular Exponentiation algorithm in RSA is implemented using 10*73223f0eSSimon Glass driver model. So CONFIG_DM needs to be enabled by default for this 11*73223f0eSSimon Glass library to function. 12*73223f0eSSimon Glass The signing part is build into mkimage regardless of this 13*73223f0eSSimon Glass option. The software based modular exponentiation is built into 14*73223f0eSSimon Glass mkimage irrespective of this option. 15d9f23c7fSRuchika Gupta 16d9f23c7fSRuchika Guptaif RSA 17d9f23c7fSRuchika Guptaconfig RSA_SOFTWARE_EXP 18d9f23c7fSRuchika Gupta bool "Enable driver for RSA Modular Exponentiation in software" 19d9f23c7fSRuchika Gupta depends on DM && RSA 20d9f23c7fSRuchika Gupta help 21d9f23c7fSRuchika Gupta Enables driver for modular exponentiation in software. This is a RSA 22d9f23c7fSRuchika Gupta algorithm used in FIT image verification. It required RSA Key as 23d9f23c7fSRuchika Gupta input. 24d9f23c7fSRuchika Gupta See doc/uImage.FIT/signature.txt for more details. 25d9f23c7fSRuchika Gupta 26d9f23c7fSRuchika Guptaconfig RSA_FREESCALE_EXP 27d9f23c7fSRuchika Gupta bool "Enable RSA Modular Exponentiation with FSL crypto accelerator" 28d9f23c7fSRuchika Gupta depends on DM && RSA && FSL_CAAM 29d9f23c7fSRuchika Gupta help 30d9f23c7fSRuchika Gupta Enables driver for RSA modular exponentiation using Freescale cryptographic 31d9f23c7fSRuchika Gupta accelerator - CAAM. 32d9f23c7fSRuchika Gupta 33d9f23c7fSRuchika Guptaendif 34