1config CRYPTO_DEV_ALLWINNER 2 bool "Support for Allwinner cryptographic offloader" 3 depends on ARCH_SUNXI || COMPILE_TEST 4 default y if ARCH_SUNXI 5 help 6 Say Y here to get to see options for Allwinner hardware crypto devices 7 8config CRYPTO_DEV_SUN4I_SS 9 tristate "Support for Allwinner Security System cryptographic accelerator" 10 depends on ARCH_SUNXI 11 depends on PM 12 depends on CRYPTO_DEV_ALLWINNER 13 select CRYPTO_MD5 14 select CRYPTO_SHA1 15 select CRYPTO_AES 16 select CRYPTO_LIB_DES 17 select CRYPTO_SKCIPHER 18 help 19 Some Allwinner SoC have a crypto accelerator named 20 Security System. Select this if you want to use it. 21 The Security System handle AES/DES/3DES ciphers in CBC mode 22 and SHA1 and MD5 hash algorithms. 23 24 To compile this driver as a module, choose M here: the module 25 will be called sun4i-ss. 26 27config CRYPTO_DEV_SUN4I_SS_DEBUG 28 bool "Enable sun4i-ss stats" 29 depends on CRYPTO_DEV_SUN4I_SS 30 depends on DEBUG_FS 31 help 32 Say y to enable sun4i-ss debug stats. 33 This will create /sys/kernel/debug/sun4i-ss/stats for displaying 34 the number of requests per algorithm. 35 36config CRYPTO_DEV_SUN8I_CE 37 tristate "Support for Allwinner Crypto Engine cryptographic offloader" 38 select CRYPTO_SKCIPHER 39 select CRYPTO_ENGINE 40 select CRYPTO_ECB 41 select CRYPTO_CBC 42 select CRYPTO_AES 43 select CRYPTO_DES 44 depends on CRYPTO_DEV_ALLWINNER 45 depends on PM 46 help 47 Select y here to have support for the crypto Engine available on 48 Allwinner SoC H2+, H3, H5, H6, R40 and A64. 49 The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode. 50 51 To compile this driver as a module, choose M here: the module 52 will be called sun8i-ce. 53 54config CRYPTO_DEV_SUN8I_CE_DEBUG 55 bool "Enable sun8i-ce stats" 56 depends on CRYPTO_DEV_SUN8I_CE 57 depends on DEBUG_FS 58 help 59 Say y to enable sun8i-ce debug stats. 60 This will create /sys/kernel/debug/sun8i-ce/stats for displaying 61 the number of requests per flow and per algorithm. 62 63config CRYPTO_DEV_SUN8I_CE_HASH 64 bool "Enable support for hash on sun8i-ce" 65 depends on CRYPTO_DEV_SUN8I_CE 66 select CRYPTO_MD5 67 select CRYPTO_SHA1 68 select CRYPTO_SHA256 69 select CRYPTO_SHA512 70 help 71 Say y to enable support for hash algorithms. 72 73config CRYPTO_DEV_SUN8I_CE_TRNG 74 bool "Support for Allwinner Crypto Engine TRNG" 75 depends on CRYPTO_DEV_SUN8I_CE 76 select HW_RANDOM 77 help 78 Select this option if you want to provide kernel-side support for 79 the True Random Number Generator found in the Crypto Engine. 80 81config CRYPTO_DEV_SUN8I_SS 82 tristate "Support for Allwinner Security System cryptographic offloader" 83 select CRYPTO_SKCIPHER 84 select CRYPTO_ENGINE 85 select CRYPTO_ECB 86 select CRYPTO_CBC 87 select CRYPTO_AES 88 select CRYPTO_DES 89 depends on CRYPTO_DEV_ALLWINNER 90 depends on PM 91 help 92 Select y here to have support for the Security System available on 93 Allwinner SoC A80, A83T. 94 The Security System handle AES/3DES ciphers in ECB/CBC mode. 95 96 To compile this driver as a module, choose M here: the module 97 will be called sun8i-ss. 98 99config CRYPTO_DEV_SUN8I_SS_DEBUG 100 bool "Enable sun8i-ss stats" 101 depends on CRYPTO_DEV_SUN8I_SS 102 depends on DEBUG_FS 103 help 104 Say y to enable sun8i-ss debug stats. 105 This will create /sys/kernel/debug/sun8i-ss/stats for displaying 106 the number of requests per flow and per algorithm. 107 108config CRYPTO_DEV_SUN8I_SS_HASH 109 bool "Enable support for hash on sun8i-ss" 110 depends on CRYPTO_DEV_SUN8I_SS 111 select CRYPTO_MD5 112 select CRYPTO_SHA1 113 select CRYPTO_SHA256 114 help 115 Say y to enable support for hash algorithms. 116