xref: /openbmc/linux/drivers/crypto/amlogic/Kconfig (revision 25c2e591)
1config CRYPTO_DEV_AMLOGIC_GXL
2	tristate "Support for amlogic cryptographic offloader"
3	depends on HAS_IOMEM
4	default m if ARCH_MESON
5	select CRYPTO_SKCIPHER
6	select CRYPTO_ENGINE
7	select CRYPTO_ECB
8	select CRYPTO_CBC
9	select CRYPTO_AES
10	help
11	  Select y here to have support for the cryptographic offloader
12	  available on Amlogic GXL SoC.
13	  This hardware handles AES ciphers in ECB/CBC mode.
14
15	  To compile this driver as a module, choose M here: the module
16	  will be called amlogic-gxl-crypto.
17
18config CRYPTO_DEV_AMLOGIC_GXL_DEBUG
19	bool "Enable amlogic stats"
20	depends on CRYPTO_DEV_AMLOGIC_GXL
21	depends on DEBUG_FS
22	help
23	  Say y to enable amlogic-crypto debug stats.
24	  This will create /sys/kernel/debug/gxl-crypto/stats for displaying
25	  the number of requests per flow and per algorithm.
26