Kconfig 1.2 KB

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