u-boot-brain/common/spl
Reuben Dowle d16b38f427 Add support for SHA384 and SHA512
The current recommendation for best security practice from the US government
is to use SHA384 for TOP SECRET [1].

This patch adds support for SHA384 and SHA512 in the hash command, and also
allows FIT images to be hashed with these algorithms, and signed with
sha384,rsaXXXX and sha512,rsaXXXX

The SHA implementation is adapted from the linux kernel implementation.

[1] Commercial National Security Algorithm Suite
http://www.iad.gov/iad/programs/iad-initiatives/cnsa-suite.cfm

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2020-06-12 13:14:07 -04:00
..
Kconfig Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
Makefile spl: Extract legacy image handling into separate file 2020-04-27 20:29:33 +02:00
spl_atf.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_bootrom.c spl: pass args to board_return_to_bootrom 2019-10-08 16:35:16 +02:00
spl_dfu.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
spl_ext.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
spl_fat.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_fit.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_legacy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_nand.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_net.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_nor.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_onenand.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_opensbi.c common: Drop image.h from common header 2020-05-18 17:33:33 -04:00
spl_optee.S Rockchip-focused changes for v2018.11-rc2: 2018-10-05 13:40:42 -04:00
spl_ram.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_sata.c spl: sata: support U-Boot load from raw sata disk 2019-07-24 14:15:36 -04:00
spl_sdp.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_spi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_ubi.c common: Drop image.h from common header 2020-05-18 17:33:33 -04:00
spl_usb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_xip.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_ymodem.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl.c spl: add fixed memory node in target fdt also when loading ATF 2020-05-31 22:22:07 +08:00