u-boot/lib/rsa
Teddy Reed 51c14cd128 verified-boot: Minimal support for booting U-Boot proper from SPL
This allows a board to configure verified boot within the SPL using
a FIT or FIT with external data. It also allows the SPL to perform
signature verification without needing relocation.

The board configuration will need to add the following feature defines:
CONFIG_SPL_CRYPTO_SUPPORT
CONFIG_SPL_HASH_SUPPORT
CONFIG_SPL_SHA256

In this example, SHA256 is the only selected hashing algorithm.

And the following booleans:
CONFIG_SPL=y
CONFIG_SPL_DM=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_FIT=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_SPL_OF_LIBFDT=y
CONFIG_SPL_FIT_SIGNATURE=y

Signed-off-by: Teddy Reed <teddy.reed@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Andreas Dannenberg <dannenberg@ti.com>
Acked-by: Sumit Garg <sumit.garg@nxp.com>
2016-06-12 13:14:58 -04:00
..
Kconfig verified-boot: Minimal support for booting U-Boot proper from SPL 2016-06-12 13:14:58 -04:00
Makefile verified-boot: Minimal support for booting U-Boot proper from SPL 2016-06-12 13:14:58 -04:00
rsa-checksum.c rsa: Use checksum algorithms from struct hash_algo 2015-01-29 17:09:59 -07:00
rsa-mod-exp.c rsa: Split the rsa-verify to separate the modular exponentiation 2015-01-29 17:09:58 -07:00
rsa-sign.c rsa: Fix two errors in the implementation 2014-08-09 11:17:04 -04:00
rsa-verify.c rsa: Use checksum algorithms from struct hash_algo 2015-01-29 17:09:59 -07:00