summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2021-02-17 06:20:42 +0300
committerTom Rini <trini@konsulko.com>2021-04-13 00:17:11 +0300
commita479f103dc1c801d0c6fe90bbaf99ae1700a84dc (patch)
tree8938b57915e1f080267c046bfaf62d24361f82ac /lib
parentba139783110a1a6aee1b60d091744a26ecad4806 (diff)
downloadu-boot-a479f103dc1c801d0c6fe90bbaf99ae1700a84dc.tar.xz
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/Kconfig15
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"