diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-09 04:20:01 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-14 03:45:45 +0100 |
commit | 0e03b8fd29363f2df44e2a7a176d486de550757a (patch) | |
tree | cdb5454c2e25ffe197f91e5514ac7e0a5c544577 /drivers/crypto/Kconfig | |
parent | MAINTAINERS: update HPRE/SEC2/TRNG driver maintainers list (diff) | |
download | linux-0e03b8fd29363f2df44e2a7a176d486de550757a.tar.xz linux-0e03b8fd29363f2df44e2a7a176d486de550757a.zip |
crypto: xilinx - Turn SHA into a tristate and allow COMPILE_TEST
This patch turns the new SHA driver into a tristate and also allows
compile testing.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r-- | drivers/crypto/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 597559ec2057..7b2d138bc83e 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -809,8 +809,8 @@ config CRYPTO_DEV_ZYNQMP_AES for AES algorithms. config CRYPTO_DEV_ZYNQMP_SHA3 - bool "Support for Xilinx ZynqMP SHA3 hardware accelerator" - depends on ZYNQMP_FIRMWARE + tristate "Support for Xilinx ZynqMP SHA3 hardware accelerator" + depends on ZYNQMP_FIRMWARE || COMPILE_TEST select CRYPTO_SHA3 help Xilinx ZynqMP has SHA3 engine used for secure hash calculation. |