18c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_ALLWINNER 28c2ecf20Sopenharmony_ci bool "Support for Allwinner cryptographic offloader" 38c2ecf20Sopenharmony_ci depends on ARCH_SUNXI || COMPILE_TEST 48c2ecf20Sopenharmony_ci default y if ARCH_SUNXI 58c2ecf20Sopenharmony_ci help 68c2ecf20Sopenharmony_ci Say Y here to get to see options for Allwinner hardware crypto devices 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN4I_SS 98c2ecf20Sopenharmony_ci tristate "Support for Allwinner Security System cryptographic accelerator" 108c2ecf20Sopenharmony_ci depends on ARCH_SUNXI 118c2ecf20Sopenharmony_ci depends on PM 128c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 138c2ecf20Sopenharmony_ci select CRYPTO_MD5 148c2ecf20Sopenharmony_ci select CRYPTO_SHA1 158c2ecf20Sopenharmony_ci select CRYPTO_AES 168c2ecf20Sopenharmony_ci select CRYPTO_LIB_DES 178c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 188c2ecf20Sopenharmony_ci help 198c2ecf20Sopenharmony_ci Some Allwinner SoC have a crypto accelerator named 208c2ecf20Sopenharmony_ci Security System. Select this if you want to use it. 218c2ecf20Sopenharmony_ci The Security System handle AES/DES/3DES ciphers in CBC mode 228c2ecf20Sopenharmony_ci and SHA1 and MD5 hash algorithms. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 258c2ecf20Sopenharmony_ci will be called sun4i-ss. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN4I_SS_PRNG 288c2ecf20Sopenharmony_ci bool "Support for Allwinner Security System PRNG" 298c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN4I_SS 308c2ecf20Sopenharmony_ci select CRYPTO_RNG 318c2ecf20Sopenharmony_ci help 328c2ecf20Sopenharmony_ci Select this option if you want to provide kernel-side support for 338c2ecf20Sopenharmony_ci the Pseudo-Random Number Generator found in the Security System. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE 368c2ecf20Sopenharmony_ci tristate "Support for Allwinner Crypto Engine cryptographic offloader" 378c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 388c2ecf20Sopenharmony_ci select CRYPTO_ENGINE 398c2ecf20Sopenharmony_ci select CRYPTO_ECB 408c2ecf20Sopenharmony_ci select CRYPTO_CBC 418c2ecf20Sopenharmony_ci select CRYPTO_AES 428c2ecf20Sopenharmony_ci select CRYPTO_DES 438c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 448c2ecf20Sopenharmony_ci depends on PM 458c2ecf20Sopenharmony_ci help 468c2ecf20Sopenharmony_ci Select y here to have support for the crypto Engine availlable on 478c2ecf20Sopenharmony_ci Allwinner SoC H2+, H3, H5, H6, R40 and A64. 488c2ecf20Sopenharmony_ci The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode. 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 518c2ecf20Sopenharmony_ci will be called sun8i-ce. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_DEBUG 548c2ecf20Sopenharmony_ci bool "Enable sun8i-ce stats" 558c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 568c2ecf20Sopenharmony_ci depends on DEBUG_FS 578c2ecf20Sopenharmony_ci help 588c2ecf20Sopenharmony_ci Say y to enable sun8i-ce debug stats. 598c2ecf20Sopenharmony_ci This will create /sys/kernel/debug/sun8i-ce/stats for displaying 608c2ecf20Sopenharmony_ci the number of requests per flow and per algorithm. 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_HASH 638c2ecf20Sopenharmony_ci bool "Enable support for hash on sun8i-ce" 648c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 658c2ecf20Sopenharmony_ci select CRYPTO_MD5 668c2ecf20Sopenharmony_ci select CRYPTO_SHA1 678c2ecf20Sopenharmony_ci select CRYPTO_SHA256 688c2ecf20Sopenharmony_ci select CRYPTO_SHA512 698c2ecf20Sopenharmony_ci help 708c2ecf20Sopenharmony_ci Say y to enable support for hash algorithms. 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_PRNG 738c2ecf20Sopenharmony_ci bool "Support for Allwinner Crypto Engine PRNG" 748c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 758c2ecf20Sopenharmony_ci select CRYPTO_RNG 768c2ecf20Sopenharmony_ci help 778c2ecf20Sopenharmony_ci Select this option if you want to provide kernel-side support for 788c2ecf20Sopenharmony_ci the Pseudo-Random Number Generator found in the Crypto Engine. 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_CE_TRNG 818c2ecf20Sopenharmony_ci bool "Support for Allwinner Crypto Engine TRNG" 828c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_CE 838c2ecf20Sopenharmony_ci select HW_RANDOM 848c2ecf20Sopenharmony_ci help 858c2ecf20Sopenharmony_ci Select this option if you want to provide kernel-side support for 868c2ecf20Sopenharmony_ci the True Random Number Generator found in the Crypto Engine. 878c2ecf20Sopenharmony_ci 888c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS 898c2ecf20Sopenharmony_ci tristate "Support for Allwinner Security System cryptographic offloader" 908c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 918c2ecf20Sopenharmony_ci select CRYPTO_ENGINE 928c2ecf20Sopenharmony_ci select CRYPTO_ECB 938c2ecf20Sopenharmony_ci select CRYPTO_CBC 948c2ecf20Sopenharmony_ci select CRYPTO_AES 958c2ecf20Sopenharmony_ci select CRYPTO_DES 968c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_ALLWINNER 978c2ecf20Sopenharmony_ci depends on PM 988c2ecf20Sopenharmony_ci help 998c2ecf20Sopenharmony_ci Select y here to have support for the Security System available on 1008c2ecf20Sopenharmony_ci Allwinner SoC A80, A83T. 1018c2ecf20Sopenharmony_ci The Security System handle AES/3DES ciphers in ECB/CBC mode. 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 1048c2ecf20Sopenharmony_ci will be called sun8i-ss. 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_DEBUG 1078c2ecf20Sopenharmony_ci bool "Enable sun8i-ss stats" 1088c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 1098c2ecf20Sopenharmony_ci depends on DEBUG_FS 1108c2ecf20Sopenharmony_ci help 1118c2ecf20Sopenharmony_ci Say y to enable sun8i-ss debug stats. 1128c2ecf20Sopenharmony_ci This will create /sys/kernel/debug/sun8i-ss/stats for displaying 1138c2ecf20Sopenharmony_ci the number of requests per flow and per algorithm. 1148c2ecf20Sopenharmony_ci 1158c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_PRNG 1168c2ecf20Sopenharmony_ci bool "Support for Allwinner Security System PRNG" 1178c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 1188c2ecf20Sopenharmony_ci select CRYPTO_RNG 1198c2ecf20Sopenharmony_ci help 1208c2ecf20Sopenharmony_ci Select this option if you want to provide kernel-side support for 1218c2ecf20Sopenharmony_ci the Pseudo-Random Number Generator found in the Security System. 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_SUN8I_SS_HASH 1248c2ecf20Sopenharmony_ci bool "Enable support for hash on sun8i-ss" 1258c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_SUN8I_SS 1268c2ecf20Sopenharmony_ci select CRYPTO_MD5 1278c2ecf20Sopenharmony_ci select CRYPTO_SHA1 1288c2ecf20Sopenharmony_ci select CRYPTO_SHA256 1298c2ecf20Sopenharmony_ci help 1308c2ecf20Sopenharmony_ci Say y to enable support for hash algorithms. 131