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>
This commit is contained in:
15
lib/Kconfig
15
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"
|
||||
|
||||
Reference in New Issue
Block a user