diff options
author | Joel Stanley <joel@jms.id.au> | 2021-02-17 13:50:42 +1030 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-12 17:17:11 -0400 |
commit | a479f103dc1c801d0c6fe90bbaf99ae1700a84dc (patch) | |
tree | 8938b57915e1f080267c046bfaf62d24361f82ac /lib | |
parent | ba139783110a1a6aee1b60d091744a26ecad4806 (diff) | |
download | u-boot-a479f103dc1c801d0c6fe90bbaf99ae1700a84dc.tar.gz u-boot-a479f103dc1c801d0c6fe90bbaf99ae1700a84dc.tar.bz2 u-boot-a479f103dc1c801d0c6fe90bbaf99ae1700a84dc.zip |
hash: Allow for SHA512 hardware implementations
Similar to support for SHA1 and SHA256, allow the use of hardware hashing
engine by enabling the algorithm and setting CONFIG_SHA_HW_ACCEL /
CONFIG_SHA_PROG_HW_ACCEL.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 80ff2443cb..ab8c9ccd60 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -391,19 +391,18 @@ config SHA384 config SHA_HW_ACCEL bool "Enable hashing using hardware" help - This option enables hardware acceleration - for SHA1/SHA256 hashing. - This affects the 'hash' command and also the - hash_lookup_algo() function. + This option enables hardware acceleration for SHA hashing. + This affects the 'hash' command and also the hash_lookup_algo() + function. config SHA_PROG_HW_ACCEL bool "Enable Progressive hashing support using hardware" depends on SHA_HW_ACCEL help - This option enables hardware-acceleration for - SHA1/SHA256 progressive hashing. - Data can be streamed in a block at a time and the hashing - is performed in hardware. + This option enables hardware-acceleration for SHA progressive + hashing. + Data can be streamed in a block at a time and the hashing is + performed in hardware. config MD5 bool "Support MD5 algorithm" |