u-boot/include/u-boot
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
..
aes.h u-boot: fit: add support to decrypt fit with aes 2020-01-17 10:16:29 -05:00
crc.h include/u-boot/crc.h: pull 'uint' definition on musl targets 2020-01-03 09:47:10 -05:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
rsa-mod-exp.h lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa.h rsa: add support of padding pss 2018-12-03 10:44:10 -05:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
sha512.h Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
variadic-macro.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00