diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 597559ec2057ef6256d556fc3ea447726a235982..7b2d138bc83e05f9b1a4f38c18c4ed57b05f354a 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.