2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

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>
This commit is contained in:
Herbert Xu 2022-03-09 15:20:01 +12:00
parent a5997f1ae8
commit 0e03b8fd29

View File

@ -809,8 +809,8 @@ config CRYPTO_DEV_ZYNQMP_AES
for AES algorithms. for AES algorithms.
config CRYPTO_DEV_ZYNQMP_SHA3 config CRYPTO_DEV_ZYNQMP_SHA3
bool "Support for Xilinx ZynqMP SHA3 hardware accelerator" tristate "Support for Xilinx ZynqMP SHA3 hardware accelerator"
depends on ZYNQMP_FIRMWARE depends on ZYNQMP_FIRMWARE || COMPILE_TEST
select CRYPTO_SHA3 select CRYPTO_SHA3
help help
Xilinx ZynqMP has SHA3 engine used for secure hash calculation. Xilinx ZynqMP has SHA3 engine used for secure hash calculation.