aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2019-04-11 11:51:18 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 10:15:02 -0400
commit3d6228a5052bc059499a7d2c38a459337d74fc5c (patch)
tree02b290957cc30986cea44ea50ec775e0b4299d93 /crypto
parentf1774cb8956a35269f539efcee99fe7eda838b77 (diff)
crypto: Kconfig - create Public-key cryptography section
Group RSA, DH, and ECDH into Public-key cryptography config section. Signed-off-by: Vitaly Chikunov <vt@altlinux.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig48
1 files changed, 25 insertions, 23 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 2022b9201e38..f328026dff75 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -113,29 +113,6 @@ config CRYPTO_ACOMP
113 select CRYPTO_ALGAPI 113 select CRYPTO_ALGAPI
114 select CRYPTO_ACOMP2 114 select CRYPTO_ACOMP2
115 115
116config CRYPTO_RSA
117 tristate "RSA algorithm"
118 select CRYPTO_AKCIPHER
119 select CRYPTO_MANAGER
120 select MPILIB
121 select ASN1
122 help
123 Generic implementation of the RSA public key algorithm.
124
125config CRYPTO_DH
126 tristate "Diffie-Hellman algorithm"
127 select CRYPTO_KPP
128 select MPILIB
129 help
130 Generic implementation of the Diffie-Hellman algorithm.
131
132config CRYPTO_ECDH
133 tristate "ECDH algorithm"
134 select CRYPTO_KPP
135 select CRYPTO_RNG_DEFAULT
136 help
137 Generic implementation of the ECDH algorithm
138
139config CRYPTO_MANAGER 116config CRYPTO_MANAGER
140 tristate "Cryptographic algorithm manager" 117 tristate "Cryptographic algorithm manager"
141 select CRYPTO_MANAGER2 118 select CRYPTO_MANAGER2
@@ -253,6 +230,31 @@ config CRYPTO_GLUE_HELPER_X86
253config CRYPTO_ENGINE 230config CRYPTO_ENGINE
254 tristate 231 tristate
255 232
233comment "Public-key cryptography"
234
235config CRYPTO_RSA
236 tristate "RSA algorithm"
237 select CRYPTO_AKCIPHER
238 select CRYPTO_MANAGER
239 select MPILIB
240 select ASN1
241 help
242 Generic implementation of the RSA public key algorithm.
243
244config CRYPTO_DH
245 tristate "Diffie-Hellman algorithm"
246 select CRYPTO_KPP
247 select MPILIB
248 help
249 Generic implementation of the Diffie-Hellman algorithm.
250
251config CRYPTO_ECDH
252 tristate "ECDH algorithm"
253 select CRYPTO_KPP
254 select CRYPTO_RNG_DEFAULT
255 help
256 Generic implementation of the ECDH algorithm
257
256comment "Authenticated Encryption with Associated Data" 258comment "Authenticated Encryption with Associated Data"
257 259
258config CRYPTO_CCM 260config CRYPTO_CCM