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