Skip to content

Commit

Permalink
crypto: xilinx - Turn SHA into a tristate and allow COMPILE_TEST
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
herbertx committed Mar 14, 2022
1 parent a5997f1 commit 0e03b8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0e03b8f

Please sign in to comment.