162306a36Sopenharmony_ciconfig CRYPTO_DEV_ALLWINNER 262306a36Sopenharmony_ci bool "Support for Allwinner cryptographic offloader" 362306a36Sopenharmony_ci depends on ARCH_SUNXI || COMPILE_TEST 462306a36Sopenharmony_ci default y if ARCH_SUNXI 562306a36Sopenharmony_ci help 662306a36Sopenharmony_ci Say Y here to get to see options for Allwinner hardware crypto devices 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN4I_SS 962306a36Sopenharmony_ci tristate "Support for Allwinner Security System cryptographic accelerator" 1062306a36Sopenharmony_ci depends on ARCH_SUNXI 1162306a36Sopenharmony_ci depends on PM 1262306a36Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 1362306a36Sopenharmony_ci select CRYPTO_MD5 1462306a36Sopenharmony_ci select CRYPTO_SHA1 1562306a36Sopenharmony_ci select CRYPTO_AES 1662306a36Sopenharmony_ci select CRYPTO_LIB_DES 1762306a36Sopenharmony_ci select CRYPTO_SKCIPHER 1862306a36Sopenharmony_ci help 1962306a36Sopenharmony_ci Some Allwinner SoC have a crypto accelerator named 2062306a36Sopenharmony_ci Security System. Select this if you want to use it. 2162306a36Sopenharmony_ci The Security System handle AES/DES/3DES ciphers in CBC mode 2262306a36Sopenharmony_ci and SHA1 and MD5 hash algorithms. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 2562306a36Sopenharmony_ci will be called sun4i-ss. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN4I_SS_PRNG 2862306a36Sopenharmony_ci bool "Support for Allwinner Security System PRNG" 2962306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN4I_SS 3062306a36Sopenharmony_ci select CRYPTO_RNG 3162306a36Sopenharmony_ci help 3262306a36Sopenharmony_ci Select this option if you want to provide kernel-side support for 3362306a36Sopenharmony_ci the Pseudo-Random Number Generator found in the Security System. 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN4I_SS_DEBUG 3662306a36Sopenharmony_ci bool "Enable sun4i-ss stats" 3762306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN4I_SS 3862306a36Sopenharmony_ci depends on DEBUG_FS 3962306a36Sopenharmony_ci help 4062306a36Sopenharmony_ci Say y to enable sun4i-ss debug stats. 4162306a36Sopenharmony_ci This will create /sys/kernel/debug/sun4i-ss/stats for displaying 4262306a36Sopenharmony_ci the number of requests per algorithm. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE 4562306a36Sopenharmony_ci tristate "Support for Allwinner Crypto Engine cryptographic offloader" 4662306a36Sopenharmony_ci select CRYPTO_SKCIPHER 4762306a36Sopenharmony_ci select CRYPTO_ENGINE 4862306a36Sopenharmony_ci select CRYPTO_ECB 4962306a36Sopenharmony_ci select CRYPTO_CBC 5062306a36Sopenharmony_ci select CRYPTO_AES 5162306a36Sopenharmony_ci select CRYPTO_DES 5262306a36Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 5362306a36Sopenharmony_ci depends on PM 5462306a36Sopenharmony_ci help 5562306a36Sopenharmony_ci Select y here to have support for the crypto Engine available on 5662306a36Sopenharmony_ci Allwinner SoC H2+, H3, H5, H6, R40 and A64. 5762306a36Sopenharmony_ci The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode. 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 6062306a36Sopenharmony_ci will be called sun8i-ce. 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_DEBUG 6362306a36Sopenharmony_ci bool "Enable sun8i-ce stats" 6462306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 6562306a36Sopenharmony_ci depends on DEBUG_FS 6662306a36Sopenharmony_ci help 6762306a36Sopenharmony_ci Say y to enable sun8i-ce debug stats. 6862306a36Sopenharmony_ci This will create /sys/kernel/debug/sun8i-ce/stats for displaying 6962306a36Sopenharmony_ci the number of requests per flow and per algorithm. 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_HASH 7262306a36Sopenharmony_ci bool "Enable support for hash on sun8i-ce" 7362306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 7462306a36Sopenharmony_ci select CRYPTO_MD5 7562306a36Sopenharmony_ci select CRYPTO_SHA1 7662306a36Sopenharmony_ci select CRYPTO_SHA256 7762306a36Sopenharmony_ci select CRYPTO_SHA512 7862306a36Sopenharmony_ci help 7962306a36Sopenharmony_ci Say y to enable support for hash algorithms. 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_PRNG 8262306a36Sopenharmony_ci bool "Support for Allwinner Crypto Engine PRNG" 8362306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 8462306a36Sopenharmony_ci select CRYPTO_RNG 8562306a36Sopenharmony_ci help 8662306a36Sopenharmony_ci Select this option if you want to provide kernel-side support for 8762306a36Sopenharmony_ci the Pseudo-Random Number Generator found in the Crypto Engine. 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_TRNG 9062306a36Sopenharmony_ci bool "Support for Allwinner Crypto Engine TRNG" 9162306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 9262306a36Sopenharmony_ci select HW_RANDOM 9362306a36Sopenharmony_ci help 9462306a36Sopenharmony_ci Select this option if you want to provide kernel-side support for 9562306a36Sopenharmony_ci the True Random Number Generator found in the Crypto Engine. 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS 9862306a36Sopenharmony_ci tristate "Support for Allwinner Security System cryptographic offloader" 9962306a36Sopenharmony_ci select CRYPTO_SKCIPHER 10062306a36Sopenharmony_ci select CRYPTO_ENGINE 10162306a36Sopenharmony_ci select CRYPTO_ECB 10262306a36Sopenharmony_ci select CRYPTO_CBC 10362306a36Sopenharmony_ci select CRYPTO_AES 10462306a36Sopenharmony_ci select CRYPTO_DES 10562306a36Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 10662306a36Sopenharmony_ci depends on PM 10762306a36Sopenharmony_ci help 10862306a36Sopenharmony_ci Select y here to have support for the Security System available on 10962306a36Sopenharmony_ci Allwinner SoC A80, A83T. 11062306a36Sopenharmony_ci The Security System handle AES/3DES ciphers in ECB/CBC mode. 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 11362306a36Sopenharmony_ci will be called sun8i-ss. 11462306a36Sopenharmony_ci 11562306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_DEBUG 11662306a36Sopenharmony_ci bool "Enable sun8i-ss stats" 11762306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 11862306a36Sopenharmony_ci depends on DEBUG_FS 11962306a36Sopenharmony_ci help 12062306a36Sopenharmony_ci Say y to enable sun8i-ss debug stats. 12162306a36Sopenharmony_ci This will create /sys/kernel/debug/sun8i-ss/stats for displaying 12262306a36Sopenharmony_ci the number of requests per flow and per algorithm. 12362306a36Sopenharmony_ci 12462306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_PRNG 12562306a36Sopenharmony_ci bool "Support for Allwinner Security System PRNG" 12662306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 12762306a36Sopenharmony_ci select CRYPTO_RNG 12862306a36Sopenharmony_ci help 12962306a36Sopenharmony_ci Select this option if you want to provide kernel-side support for 13062306a36Sopenharmony_ci the Pseudo-Random Number Generator found in the Security System. 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_HASH 13362306a36Sopenharmony_ci bool "Enable support for hash on sun8i-ss" 13462306a36Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 13562306a36Sopenharmony_ci select CRYPTO_MD5 13662306a36Sopenharmony_ci select CRYPTO_SHA1 13762306a36Sopenharmony_ci select CRYPTO_SHA256 13862306a36Sopenharmony_ci help 13962306a36Sopenharmony_ci Say y to enable support for hash algorithms. 140