diff options
author | Sivaprakash Murugesan <sivaprak@codeaurora.org> | 2020-06-22 11:45:04 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-03 14:18:34 +1000 |
commit | 8ac1b9ccbfbaeacc0c33433e3e7825593bda366e (patch) | |
tree | d13be822b155127e6dbe3e60c154030cae406ac3 /drivers/crypto/Kconfig | |
parent | 5c3a8a661e1bd9d7063485ac2d2ccb512c447129 (diff) | |
download | linux-stable-8ac1b9ccbfbaeacc0c33433e3e7825593bda366e.tar.gz linux-stable-8ac1b9ccbfbaeacc0c33433e3e7825593bda366e.tar.bz2 linux-stable-8ac1b9ccbfbaeacc0c33433e3e7825593bda366e.zip |
crypto: qce - support zero length test vectors
crypto test module passes zero length vectors as test input to sha-1 and
sha-256. To provide correct output for these vectors, hash zero support
has been added as in other crypto drivers.
Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r-- | drivers/crypto/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 802b9ada4e9e..7bc58bf99703 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -624,6 +624,8 @@ config CRYPTO_DEV_QCE_SKCIPHER config CRYPTO_DEV_QCE_SHA bool depends on CRYPTO_DEV_QCE + select CRYPTO_SHA1 + select CRYPTO_SHA256 choice prompt "Algorithms enabled for QCE acceleration" |