13914b931SCorentin Labbeconfig CRYPTO_DEV_ALLWINNER 23914b931SCorentin Labbe bool "Support for Allwinner cryptographic offloader" 33914b931SCorentin Labbe depends on ARCH_SUNXI || COMPILE_TEST 43914b931SCorentin Labbe default y if ARCH_SUNXI 53914b931SCorentin Labbe help 63914b931SCorentin Labbe Say Y here to get to see options for Allwinner hardware crypto devices 7*06f751b6SCorentin Labbe 8*06f751b6SCorentin Labbeconfig CRYPTO_DEV_SUN8I_CE 9*06f751b6SCorentin Labbe tristate "Support for Allwinner Crypto Engine cryptographic offloader" 10*06f751b6SCorentin Labbe select CRYPTO_BLKCIPHER 11*06f751b6SCorentin Labbe select CRYPTO_ENGINE 12*06f751b6SCorentin Labbe select CRYPTO_ECB 13*06f751b6SCorentin Labbe select CRYPTO_CBC 14*06f751b6SCorentin Labbe select CRYPTO_AES 15*06f751b6SCorentin Labbe select CRYPTO_DES 16*06f751b6SCorentin Labbe depends on CRYPTO_DEV_ALLWINNER 17*06f751b6SCorentin Labbe depends on PM 18*06f751b6SCorentin Labbe help 19*06f751b6SCorentin Labbe Select y here to have support for the crypto Engine availlable on 20*06f751b6SCorentin Labbe Allwinner SoC H2+, H3, H5, H6, R40 and A64. 21*06f751b6SCorentin Labbe The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode. 22*06f751b6SCorentin Labbe 23*06f751b6SCorentin Labbe To compile this driver as a module, choose M here: the module 24*06f751b6SCorentin Labbe will be called sun8i-ce. 25*06f751b6SCorentin Labbe 26*06f751b6SCorentin Labbeconfig CRYPTO_DEV_SUN8I_CE_DEBUG 27*06f751b6SCorentin Labbe bool "Enable sun8i-ce stats" 28*06f751b6SCorentin Labbe depends on CRYPTO_DEV_SUN8I_CE 29*06f751b6SCorentin Labbe depends on DEBUG_FS 30*06f751b6SCorentin Labbe help 31*06f751b6SCorentin Labbe Say y to enable sun8i-ce debug stats. 32*06f751b6SCorentin Labbe This will create /sys/kernel/debug/sun8i-ce/stats for displaying 33*06f751b6SCorentin Labbe the number of requests per flow and per algorithm. 34