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