mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 04:44:46 +00:00
FIT: Modify option FIT_SIGNATURE in Kconfig
For FIT signature based approach to work, RSA library needs to be selected. The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA. Selecting RSA compiles the RSA library required for image verification. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
fc2f4246b4
commit
c4beb22fcd
2 changed files with 9 additions and 1 deletions
3
Kconfig
3
Kconfig
|
@ -116,8 +116,9 @@ config FIT_VERBOSE
|
||||||
depends on FIT
|
depends on FIT
|
||||||
|
|
||||||
config FIT_SIGNATURE
|
config FIT_SIGNATURE
|
||||||
bool "Enabel signature verification of FIT uImages"
|
bool "Enable signature verification of FIT uImages"
|
||||||
depends on FIT
|
depends on FIT
|
||||||
|
select RSA
|
||||||
help
|
help
|
||||||
This option enables signature verification of FIT uImages,
|
This option enables signature verification of FIT uImages,
|
||||||
using a hash signed and verified using RSA.
|
using a hash signed and verified using RSA.
|
||||||
|
|
|
@ -27,4 +27,11 @@ config SYS_HZ
|
||||||
get_timer() must operate in milliseconds and this option must be
|
get_timer() must operate in milliseconds and this option must be
|
||||||
set to 1000.
|
set to 1000.
|
||||||
|
|
||||||
|
config RSA
|
||||||
|
bool "Use RSA Library"
|
||||||
|
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.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
Loading…
Add table
Reference in a new issue