xref: /openbmc/linux/drivers/crypto/amlogic/Kconfig (revision 3f368b88)
148fe583fSCorentin Labbeconfig CRYPTO_DEV_AMLOGIC_GXL
248fe583fSCorentin Labbe	tristate "Support for amlogic cryptographic offloader"
37d07de2cSBrendan Higgins	depends on HAS_IOMEM
43f368b88SArd Biesheuvel	default m if ARCH_MESON
5b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
648fe583fSCorentin Labbe	select CRYPTO_ENGINE
748fe583fSCorentin Labbe	select CRYPTO_ECB
848fe583fSCorentin Labbe	select CRYPTO_CBC
948fe583fSCorentin Labbe	select CRYPTO_AES
1048fe583fSCorentin Labbe	help
1148fe583fSCorentin Labbe	  Select y here to have support for the cryptographic offloader
1248fe583fSCorentin Labbe	  available on Amlogic GXL SoC.
1348fe583fSCorentin Labbe	  This hardware handles AES ciphers in ECB/CBC mode.
1448fe583fSCorentin Labbe
1548fe583fSCorentin Labbe	  To compile this driver as a module, choose M here: the module
1648fe583fSCorentin Labbe	  will be called amlogic-gxl-crypto.
1748fe583fSCorentin Labbe
1848fe583fSCorentin Labbeconfig CRYPTO_DEV_AMLOGIC_GXL_DEBUG
1948fe583fSCorentin Labbe	bool "Enable amlogic stats"
2048fe583fSCorentin Labbe	depends on CRYPTO_DEV_AMLOGIC_GXL
2148fe583fSCorentin Labbe	depends on DEBUG_FS
2248fe583fSCorentin Labbe	help
2348fe583fSCorentin Labbe	  Say y to enable amlogic-crypto debug stats.
2448fe583fSCorentin Labbe	  This will create /sys/kernel/debug/gxl-crypto/stats for displaying
2548fe583fSCorentin Labbe	  the number of requests per flow and per algorithm.
26