1 config CRYPTO_DEV_ALLWINNER
2 bool "Support for Allwinner cryptographic offloader"
3 depends on ARCH_SUNXI || COMPILE_TEST
4 default y if ARCH_SUNXI
6 Say Y here to get to see options for Allwinner hardware crypto devices
8 config CRYPTO_DEV_SUN4I_SS
9 tristate "Support for Allwinner Security System cryptographic accelerator"
12 depends on CRYPTO_DEV_ALLWINNER
17 select CRYPTO_SKCIPHER
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.
24 To compile this driver as a module, choose M here: the module
25 will be called sun4i-ss.
27 config CRYPTO_DEV_SUN4I_SS_PRNG
28 bool "Support for Allwinner Security System PRNG"
29 depends on CRYPTO_DEV_SUN4I_SS
32 Select this option if you want to provide kernel-side support for
33 the Pseudo-Random Number Generator found in the Security System.
35 config CRYPTO_DEV_SUN4I_SS_DEBUG
36 bool "Enable sun4i-ss stats"
37 depends on CRYPTO_DEV_SUN4I_SS
40 Say y to enable sun4i-ss debug stats.
41 This will create /sys/kernel/debug/sun4i-ss/stats for displaying
42 the number of requests per algorithm.
44 config CRYPTO_DEV_SUN8I_CE
45 tristate "Support for Allwinner Crypto Engine cryptographic offloader"
46 select CRYPTO_SKCIPHER
52 depends on CRYPTO_DEV_ALLWINNER
55 Select y here to have support for the crypto Engine available on
56 Allwinner SoC H2+, H3, H5, H6, R40 and A64.
57 The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
59 To compile this driver as a module, choose M here: the module
60 will be called sun8i-ce.
62 config CRYPTO_DEV_SUN8I_CE_DEBUG
63 bool "Enable sun8i-ce stats"
64 depends on CRYPTO_DEV_SUN8I_CE
67 Say y to enable sun8i-ce debug stats.
68 This will create /sys/kernel/debug/sun8i-ce/stats for displaying
69 the number of requests per flow and per algorithm.
71 config CRYPTO_DEV_SUN8I_CE_HASH
72 bool "Enable support for hash on sun8i-ce"
73 depends on CRYPTO_DEV_SUN8I_CE
79 Say y to enable support for hash algorithms.
81 config CRYPTO_DEV_SUN8I_CE_PRNG
82 bool "Support for Allwinner Crypto Engine PRNG"
83 depends on CRYPTO_DEV_SUN8I_CE
86 Select this option if you want to provide kernel-side support for
87 the Pseudo-Random Number Generator found in the Crypto Engine.
89 config CRYPTO_DEV_SUN8I_CE_TRNG
90 bool "Support for Allwinner Crypto Engine TRNG"
91 depends on CRYPTO_DEV_SUN8I_CE
94 Select this option if you want to provide kernel-side support for
95 the True Random Number Generator found in the Crypto Engine.
97 config CRYPTO_DEV_SUN8I_SS
98 tristate "Support for Allwinner Security System cryptographic offloader"
99 select CRYPTO_SKCIPHER
105 depends on CRYPTO_DEV_ALLWINNER
108 Select y here to have support for the Security System available on
109 Allwinner SoC A80, A83T.
110 The Security System handle AES/3DES ciphers in ECB/CBC mode.
112 To compile this driver as a module, choose M here: the module
113 will be called sun8i-ss.
115 config CRYPTO_DEV_SUN8I_SS_DEBUG
116 bool "Enable sun8i-ss stats"
117 depends on CRYPTO_DEV_SUN8I_SS
120 Say y to enable sun8i-ss debug stats.
121 This will create /sys/kernel/debug/sun8i-ss/stats for displaying
122 the number of requests per flow and per algorithm.
124 config CRYPTO_DEV_SUN8I_SS_PRNG
125 bool "Support for Allwinner Security System PRNG"
126 depends on CRYPTO_DEV_SUN8I_SS
129 Select this option if you want to provide kernel-side support for
130 the Pseudo-Random Number Generator found in the Security System.
132 config CRYPTO_DEV_SUN8I_SS_HASH
133 bool "Enable support for hash on sun8i-ss"
134 depends on CRYPTO_DEV_SUN8I_SS
139 Say y to enable support for hash algorithms.