xref: /linux/crypto/Kconfig (revision 026bb8aaf5162b881fdd56f12fa8a6f5a052e097)
11da177e4SLinus Torvalds#
2685784aaSDan Williams# Generic algorithms support
3685784aaSDan Williams#
4685784aaSDan Williamsconfig XOR_BLOCKS
5685784aaSDan Williams	tristate
6685784aaSDan Williams
7685784aaSDan Williams#
89bc89cd8SDan Williams# async_tx api: hardware offloaded memory transfer/transform support
99bc89cd8SDan Williams#
109bc89cd8SDan Williamssource "crypto/async_tx/Kconfig"
119bc89cd8SDan Williams
129bc89cd8SDan Williams#
131da177e4SLinus Torvalds# Cryptographic API Configuration
141da177e4SLinus Torvalds#
152e290f43SJan Engelhardtmenuconfig CRYPTO
16c3715cb9SSebastian Siewior	tristate "Cryptographic API"
171da177e4SLinus Torvalds	help
181da177e4SLinus Torvalds	  This option provides the core Cryptographic API.
191da177e4SLinus Torvalds
20cce9e06dSHerbert Xuif CRYPTO
21cce9e06dSHerbert Xu
22584fffc8SSebastian Siewiorcomment "Crypto core or helper"
23584fffc8SSebastian Siewior
24ccb778e1SNeil Hormanconfig CRYPTO_FIPS
25ccb778e1SNeil Horman	bool "FIPS 200 compliance"
26f2c89a10SHerbert Xu	depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS
27002c77a4SJarod Wilson	depends on MODULE_SIG
28ccb778e1SNeil Horman	help
29ccb778e1SNeil Horman	  This options enables the fips boot option which is
30ccb778e1SNeil Horman	  required if you want to system to operate in a FIPS 200
31ccb778e1SNeil Horman	  certification.  You should say no unless you know what
32e84c5480SChuck Ebbert	  this is.
33ccb778e1SNeil Horman
34cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI
35cce9e06dSHerbert Xu	tristate
366a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
37cce9e06dSHerbert Xu	help
38cce9e06dSHerbert Xu	  This option provides the API for cryptographic algorithms.
39cce9e06dSHerbert Xu
406a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2
416a0fcbb4SHerbert Xu	tristate
426a0fcbb4SHerbert Xu
431ae97820SHerbert Xuconfig CRYPTO_AEAD
441ae97820SHerbert Xu	tristate
456a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
461ae97820SHerbert Xu	select CRYPTO_ALGAPI
471ae97820SHerbert Xu
486a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2
496a0fcbb4SHerbert Xu	tristate
506a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
51149a3971SHerbert Xu	select CRYPTO_NULL2
52149a3971SHerbert Xu	select CRYPTO_RNG2
536a0fcbb4SHerbert Xu
545cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER
555cde0af2SHerbert Xu	tristate
566a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
575cde0af2SHerbert Xu	select CRYPTO_ALGAPI
586a0fcbb4SHerbert Xu
596a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2
606a0fcbb4SHerbert Xu	tristate
616a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
626a0fcbb4SHerbert Xu	select CRYPTO_RNG2
630a2e821dSHuang Ying	select CRYPTO_WORKQUEUE
645cde0af2SHerbert Xu
65055bcee3SHerbert Xuconfig CRYPTO_HASH
66055bcee3SHerbert Xu	tristate
676a0fcbb4SHerbert Xu	select CRYPTO_HASH2
68055bcee3SHerbert Xu	select CRYPTO_ALGAPI
69055bcee3SHerbert Xu
706a0fcbb4SHerbert Xuconfig CRYPTO_HASH2
716a0fcbb4SHerbert Xu	tristate
726a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
736a0fcbb4SHerbert Xu
7417f0f4a4SNeil Hormanconfig CRYPTO_RNG
7517f0f4a4SNeil Horman	tristate
766a0fcbb4SHerbert Xu	select CRYPTO_RNG2
7717f0f4a4SNeil Horman	select CRYPTO_ALGAPI
7817f0f4a4SNeil Horman
796a0fcbb4SHerbert Xuconfig CRYPTO_RNG2
806a0fcbb4SHerbert Xu	tristate
816a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
826a0fcbb4SHerbert Xu
83401e4238SHerbert Xuconfig CRYPTO_RNG_DEFAULT
84401e4238SHerbert Xu	tristate
85401e4238SHerbert Xu	select CRYPTO_DRBG_MENU
86401e4238SHerbert Xu
873c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER2
883c339ab8STadeusz Struk	tristate
893c339ab8STadeusz Struk	select CRYPTO_ALGAPI2
903c339ab8STadeusz Struk
913c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER
923c339ab8STadeusz Struk	tristate
933c339ab8STadeusz Struk	select CRYPTO_AKCIPHER2
943c339ab8STadeusz Struk	select CRYPTO_ALGAPI
953c339ab8STadeusz Struk
964e5f2c40SSalvatore Benedettoconfig CRYPTO_KPP2
974e5f2c40SSalvatore Benedetto	tristate
984e5f2c40SSalvatore Benedetto	select CRYPTO_ALGAPI2
994e5f2c40SSalvatore Benedetto
1004e5f2c40SSalvatore Benedettoconfig CRYPTO_KPP
1014e5f2c40SSalvatore Benedetto	tristate
1024e5f2c40SSalvatore Benedetto	select CRYPTO_ALGAPI
1034e5f2c40SSalvatore Benedetto	select CRYPTO_KPP2
1044e5f2c40SSalvatore Benedetto
105cfc2bb32STadeusz Strukconfig CRYPTO_RSA
106cfc2bb32STadeusz Struk	tristate "RSA algorithm"
107425e0172STadeusz Struk	select CRYPTO_AKCIPHER
10858446fefSTadeusz Struk	select CRYPTO_MANAGER
109cfc2bb32STadeusz Struk	select MPILIB
110cfc2bb32STadeusz Struk	select ASN1
111cfc2bb32STadeusz Struk	help
112cfc2bb32STadeusz Struk	  Generic implementation of the RSA public key algorithm.
113cfc2bb32STadeusz Struk
114802c7f1cSSalvatore Benedettoconfig CRYPTO_DH
115802c7f1cSSalvatore Benedetto	tristate "Diffie-Hellman algorithm"
116802c7f1cSSalvatore Benedetto	select CRYPTO_KPP
117802c7f1cSSalvatore Benedetto	select MPILIB
118802c7f1cSSalvatore Benedetto	help
119802c7f1cSSalvatore Benedetto	  Generic implementation of the Diffie-Hellman algorithm.
120802c7f1cSSalvatore Benedetto
1213c4b2390SSalvatore Benedettoconfig CRYPTO_ECDH
1223c4b2390SSalvatore Benedetto	tristate "ECDH algorithm"
1233c4b2390SSalvatore Benedetto	select CRYTPO_KPP
1243c4b2390SSalvatore Benedetto	help
1253c4b2390SSalvatore Benedetto	  Generic implementation of the ECDH algorithm
126802c7f1cSSalvatore Benedetto
1272b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
1282b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
1296a0fcbb4SHerbert Xu	select CRYPTO_MANAGER2
1302b8c19dbSHerbert Xu	help
1312b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
1322b8c19dbSHerbert Xu	  cbc(aes).
1332b8c19dbSHerbert Xu
1346a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2
1356a0fcbb4SHerbert Xu	def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
1366a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
1376a0fcbb4SHerbert Xu	select CRYPTO_HASH2
1386a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
139946cc463STadeusz Struk	select CRYPTO_AKCIPHER2
1404e5f2c40SSalvatore Benedetto	select CRYPTO_KPP2
1416a0fcbb4SHerbert Xu
142a38f7907SSteffen Klassertconfig CRYPTO_USER
143a38f7907SSteffen Klassert	tristate "Userspace cryptographic algorithm configuration"
1445db017aaSHerbert Xu	depends on NET
145a38f7907SSteffen Klassert	select CRYPTO_MANAGER
146a38f7907SSteffen Klassert	help
147d19978f5SValdis.Kletnieks@vt.edu	  Userspace configuration for cryptographic instantiations such as
148a38f7907SSteffen Klassert	  cbc(aes).
149a38f7907SSteffen Klassert
150326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS
151326a6346SHerbert Xu	bool "Disable run-time self tests"
15200ca28a5SHerbert Xu	default y
15300ca28a5SHerbert Xu	depends on CRYPTO_MANAGER2
1540b767f96SAlexander Shishkin	help
155326a6346SHerbert Xu	  Disable run-time self tests that normally take place at
156326a6346SHerbert Xu	  algorithm registration.
1570b767f96SAlexander Shishkin
158584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
15908c70fc3SJussi Kivilinna	tristate "GF(2^128) multiplication functions"
160584fffc8SSebastian Siewior	help
161584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
162584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
163584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
164584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
165584fffc8SSebastian Siewior	  an external module that requires these functions.
166584fffc8SSebastian Siewior
167584fffc8SSebastian Siewiorconfig CRYPTO_NULL
168584fffc8SSebastian Siewior	tristate "Null algorithms"
169149a3971SHerbert Xu	select CRYPTO_NULL2
170584fffc8SSebastian Siewior	help
171584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
172584fffc8SSebastian Siewior
173149a3971SHerbert Xuconfig CRYPTO_NULL2
174dd43c4e9SHerbert Xu	tristate
175149a3971SHerbert Xu	select CRYPTO_ALGAPI2
176149a3971SHerbert Xu	select CRYPTO_BLKCIPHER2
177149a3971SHerbert Xu	select CRYPTO_HASH2
178149a3971SHerbert Xu
1795068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT
1803b4afaf2SKees Cook	tristate "Parallel crypto engine"
1813b4afaf2SKees Cook	depends on SMP
1825068c7a8SSteffen Klassert	select PADATA
1835068c7a8SSteffen Klassert	select CRYPTO_MANAGER
1845068c7a8SSteffen Klassert	select CRYPTO_AEAD
1855068c7a8SSteffen Klassert	help
1865068c7a8SSteffen Klassert	  This converts an arbitrary crypto algorithm into a parallel
1875068c7a8SSteffen Klassert	  algorithm that executes in kernel threads.
1885068c7a8SSteffen Klassert
18925c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE
19025c38d3fSHuang Ying       tristate
19125c38d3fSHuang Ying
192584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
193584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
194584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
195b8a28251SLoc Ho	select CRYPTO_HASH
196584fffc8SSebastian Siewior	select CRYPTO_MANAGER
197254eff77SHuang Ying	select CRYPTO_WORKQUEUE
198584fffc8SSebastian Siewior	help
199584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
200584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
201584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
202584fffc8SSebastian Siewior
2031e65b81aSTim Chenconfig CRYPTO_MCRYPTD
2041e65b81aSTim Chen	tristate "Software async multi-buffer crypto daemon"
2051e65b81aSTim Chen	select CRYPTO_BLKCIPHER
2061e65b81aSTim Chen	select CRYPTO_HASH
2071e65b81aSTim Chen	select CRYPTO_MANAGER
2081e65b81aSTim Chen	select CRYPTO_WORKQUEUE
2091e65b81aSTim Chen	help
2101e65b81aSTim Chen	  This is a generic software asynchronous crypto daemon that
2111e65b81aSTim Chen	  provides the kernel thread to assist multi-buffer crypto
2121e65b81aSTim Chen	  algorithms for submitting jobs and flushing jobs in multi-buffer
2131e65b81aSTim Chen	  crypto algorithms.  Multi-buffer crypto algorithms are executed
2141e65b81aSTim Chen	  in the context of this kernel thread and drivers can post
2150e56673bSTed Percival	  their crypto request asynchronously to be processed by this daemon.
2161e65b81aSTim Chen
217584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
218584fffc8SSebastian Siewior	tristate "Authenc support"
219584fffc8SSebastian Siewior	select CRYPTO_AEAD
220584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
221584fffc8SSebastian Siewior	select CRYPTO_MANAGER
222584fffc8SSebastian Siewior	select CRYPTO_HASH
223e94c6a7aSHerbert Xu	select CRYPTO_NULL
224584fffc8SSebastian Siewior	help
225584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
226584fffc8SSebastian Siewior	  This is required for IPSec.
227584fffc8SSebastian Siewior
228584fffc8SSebastian Siewiorconfig CRYPTO_TEST
229584fffc8SSebastian Siewior	tristate "Testing module"
230584fffc8SSebastian Siewior	depends on m
231da7f033dSHerbert Xu	select CRYPTO_MANAGER
232584fffc8SSebastian Siewior	help
233584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
234584fffc8SSebastian Siewior
235a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER
236ffaf9156SJussi Kivilinna	tristate
237ffaf9156SJussi Kivilinna	select CRYPTO_CRYPTD
238ffaf9156SJussi Kivilinna
239596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86
240596d8750SJussi Kivilinna	tristate
241596d8750SJussi Kivilinna	depends on X86
242596d8750SJussi Kivilinna	select CRYPTO_ALGAPI
243596d8750SJussi Kivilinna
244735d37b5SBaolin Wangconfig CRYPTO_ENGINE
245735d37b5SBaolin Wang	tristate
246735d37b5SBaolin Wang
247584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
248584fffc8SSebastian Siewior
249584fffc8SSebastian Siewiorconfig CRYPTO_CCM
250584fffc8SSebastian Siewior	tristate "CCM support"
251584fffc8SSebastian Siewior	select CRYPTO_CTR
252584fffc8SSebastian Siewior	select CRYPTO_AEAD
253584fffc8SSebastian Siewior	help
254584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
255584fffc8SSebastian Siewior
256584fffc8SSebastian Siewiorconfig CRYPTO_GCM
257584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
258584fffc8SSebastian Siewior	select CRYPTO_CTR
259584fffc8SSebastian Siewior	select CRYPTO_AEAD
2609382d97aSHuang Ying	select CRYPTO_GHASH
2619489667dSJussi Kivilinna	select CRYPTO_NULL
262584fffc8SSebastian Siewior	help
263584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
264584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
265584fffc8SSebastian Siewior
26671ebc4d1SMartin Williconfig CRYPTO_CHACHA20POLY1305
26771ebc4d1SMartin Willi	tristate "ChaCha20-Poly1305 AEAD support"
26871ebc4d1SMartin Willi	select CRYPTO_CHACHA20
26971ebc4d1SMartin Willi	select CRYPTO_POLY1305
27071ebc4d1SMartin Willi	select CRYPTO_AEAD
27171ebc4d1SMartin Willi	help
27271ebc4d1SMartin Willi	  ChaCha20-Poly1305 AEAD support, RFC7539.
27371ebc4d1SMartin Willi
27471ebc4d1SMartin Willi	  Support for the AEAD wrapper using the ChaCha20 stream cipher combined
27571ebc4d1SMartin Willi	  with the Poly1305 authenticator. It is defined in RFC7539 for use in
27671ebc4d1SMartin Willi	  IETF protocols.
27771ebc4d1SMartin Willi
278584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
279584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
280584fffc8SSebastian Siewior	select CRYPTO_AEAD
281584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
282856e3f40SHerbert Xu	select CRYPTO_NULL
283401e4238SHerbert Xu	select CRYPTO_RNG_DEFAULT
284584fffc8SSebastian Siewior	help
285584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
286584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
287584fffc8SSebastian Siewior
288a10f554fSHerbert Xuconfig CRYPTO_ECHAINIV
289a10f554fSHerbert Xu	tristate "Encrypted Chain IV Generator"
290a10f554fSHerbert Xu	select CRYPTO_AEAD
291a10f554fSHerbert Xu	select CRYPTO_NULL
292401e4238SHerbert Xu	select CRYPTO_RNG_DEFAULT
2933491244cSHerbert Xu	default m
294a10f554fSHerbert Xu	help
295a10f554fSHerbert Xu	  This IV generator generates an IV based on the encryption of
296a10f554fSHerbert Xu	  a sequence number xored with a salt.  This is the default
297a10f554fSHerbert Xu	  algorithm for CBC.
298a10f554fSHerbert Xu
299584fffc8SSebastian Siewiorcomment "Block modes"
300584fffc8SSebastian Siewior
301584fffc8SSebastian Siewiorconfig CRYPTO_CBC
302584fffc8SSebastian Siewior	tristate "CBC support"
303584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
304584fffc8SSebastian Siewior	select CRYPTO_MANAGER
305584fffc8SSebastian Siewior	help
306584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
307584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
308584fffc8SSebastian Siewior
309584fffc8SSebastian Siewiorconfig CRYPTO_CTR
310584fffc8SSebastian Siewior	tristate "CTR support"
311584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
312584fffc8SSebastian Siewior	select CRYPTO_SEQIV
313584fffc8SSebastian Siewior	select CRYPTO_MANAGER
314584fffc8SSebastian Siewior	help
315584fffc8SSebastian Siewior	  CTR: Counter mode
316584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
317584fffc8SSebastian Siewior
318584fffc8SSebastian Siewiorconfig CRYPTO_CTS
319584fffc8SSebastian Siewior	tristate "CTS support"
320584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
321584fffc8SSebastian Siewior	help
322584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
323584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
324584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
325584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
326584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
327584fffc8SSebastian Siewior	  for AES encryption.
328584fffc8SSebastian Siewior
329584fffc8SSebastian Siewiorconfig CRYPTO_ECB
330584fffc8SSebastian Siewior	tristate "ECB support"
331584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
332584fffc8SSebastian Siewior	select CRYPTO_MANAGER
333584fffc8SSebastian Siewior	help
334584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
335584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
336584fffc8SSebastian Siewior	  the input block by block.
337584fffc8SSebastian Siewior
338584fffc8SSebastian Siewiorconfig CRYPTO_LRW
3392470a2b2SJussi Kivilinna	tristate "LRW support"
340584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
341584fffc8SSebastian Siewior	select CRYPTO_MANAGER
342584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
343584fffc8SSebastian Siewior	help
344584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
345584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
346584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
347584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
348584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
349584fffc8SSebastian Siewior
350584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
351584fffc8SSebastian Siewior	tristate "PCBC support"
352584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
353584fffc8SSebastian Siewior	select CRYPTO_MANAGER
354584fffc8SSebastian Siewior	help
355584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
356584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
357584fffc8SSebastian Siewior
358584fffc8SSebastian Siewiorconfig CRYPTO_XTS
3595bcf8e6dSJussi Kivilinna	tristate "XTS support"
360584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
361584fffc8SSebastian Siewior	select CRYPTO_MANAGER
362584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
363584fffc8SSebastian Siewior	help
364584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
365584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
366584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
367584fffc8SSebastian Siewior
3681c49678eSStephan Muellerconfig CRYPTO_KEYWRAP
3691c49678eSStephan Mueller	tristate "Key wrapping support"
3701c49678eSStephan Mueller	select CRYPTO_BLKCIPHER
3711c49678eSStephan Mueller	help
3721c49678eSStephan Mueller	  Support for key wrapping (NIST SP800-38F / RFC3394) without
3731c49678eSStephan Mueller	  padding.
3741c49678eSStephan Mueller
375584fffc8SSebastian Siewiorcomment "Hash modes"
376584fffc8SSebastian Siewior
37793b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC
37893b5e86aSJussi Kivilinna	tristate "CMAC support"
37993b5e86aSJussi Kivilinna	select CRYPTO_HASH
38093b5e86aSJussi Kivilinna	select CRYPTO_MANAGER
38193b5e86aSJussi Kivilinna	help
38293b5e86aSJussi Kivilinna	  Cipher-based Message Authentication Code (CMAC) specified by
38393b5e86aSJussi Kivilinna	  The National Institute of Standards and Technology (NIST).
38493b5e86aSJussi Kivilinna
38593b5e86aSJussi Kivilinna	  https://tools.ietf.org/html/rfc4493
38693b5e86aSJussi Kivilinna	  http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf
38793b5e86aSJussi Kivilinna
3881da177e4SLinus Torvaldsconfig CRYPTO_HMAC
3898425165dSHerbert Xu	tristate "HMAC support"
3900796ae06SHerbert Xu	select CRYPTO_HASH
39143518407SHerbert Xu	select CRYPTO_MANAGER
3921da177e4SLinus Torvalds	help
3931da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
3941da177e4SLinus Torvalds	  This is required for IPSec.
3951da177e4SLinus Torvalds
396333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
397333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
398333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
399333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
400333b0d7eSKazunori MIYAZAWA	help
401333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
402333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
403333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
404333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
405333b0d7eSKazunori MIYAZAWA
406f1939f7cSShane Wangconfig CRYPTO_VMAC
407f1939f7cSShane Wang	tristate "VMAC support"
408f1939f7cSShane Wang	select CRYPTO_HASH
409f1939f7cSShane Wang	select CRYPTO_MANAGER
410f1939f7cSShane Wang	help
411f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
412f1939f7cSShane Wang	  very high speed on 64-bit architectures.
413f1939f7cSShane Wang
414f1939f7cSShane Wang	  See also:
415f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
416f1939f7cSShane Wang
417584fffc8SSebastian Siewiorcomment "Digest"
418584fffc8SSebastian Siewior
419584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
420584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
4215773a3e6SHerbert Xu	select CRYPTO_HASH
4226a0962b2SDarrick J. Wong	select CRC32
4231da177e4SLinus Torvalds	help
424584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
425584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
42669c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
4271da177e4SLinus Torvalds
4288cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
4298cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
4308cb51ba8SAustin Zhang	depends on X86
4318cb51ba8SAustin Zhang	select CRYPTO_HASH
4328cb51ba8SAustin Zhang	help
4338cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
4348cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
4358cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
4368cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
4378cb51ba8SAustin Zhang	  gain performance compared with software implementation.
4388cb51ba8SAustin Zhang	  Module will be crc32c-intel.
4398cb51ba8SAustin Zhang
440442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64
441442a7c40SDavid S. Miller	tristate "CRC32c CRC algorithm (SPARC64)"
442442a7c40SDavid S. Miller	depends on SPARC64
443442a7c40SDavid S. Miller	select CRYPTO_HASH
444442a7c40SDavid S. Miller	select CRC32
445442a7c40SDavid S. Miller	help
446442a7c40SDavid S. Miller	  CRC32c CRC algorithm implemented using sparc64 crypto instructions,
447442a7c40SDavid S. Miller	  when available.
448442a7c40SDavid S. Miller
44978c37d19SAlexander Boykoconfig CRYPTO_CRC32
45078c37d19SAlexander Boyko	tristate "CRC32 CRC algorithm"
45178c37d19SAlexander Boyko	select CRYPTO_HASH
45278c37d19SAlexander Boyko	select CRC32
45378c37d19SAlexander Boyko	help
45478c37d19SAlexander Boyko	  CRC-32-IEEE 802.3 cyclic redundancy-check algorithm.
45578c37d19SAlexander Boyko	  Shash crypto api wrappers to crc32_le function.
45678c37d19SAlexander Boyko
45778c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL
45878c37d19SAlexander Boyko	tristate "CRC32 PCLMULQDQ hardware acceleration"
45978c37d19SAlexander Boyko	depends on X86
46078c37d19SAlexander Boyko	select CRYPTO_HASH
46178c37d19SAlexander Boyko	select CRC32
46278c37d19SAlexander Boyko	help
46378c37d19SAlexander Boyko	  From Intel Westmere and AMD Bulldozer processor with SSE4.2
46478c37d19SAlexander Boyko	  and PCLMULQDQ supported, the processor will support
46578c37d19SAlexander Boyko	  CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ
46678c37d19SAlexander Boyko	  instruction. This option will create 'crc32-plcmul' module,
46778c37d19SAlexander Boyko	  which will enable any routine to use the CRC-32-IEEE 802.3 checksum
46878c37d19SAlexander Boyko	  and gain better performance as compared with the table implementation.
46978c37d19SAlexander Boyko
47068411521SHerbert Xuconfig CRYPTO_CRCT10DIF
47168411521SHerbert Xu	tristate "CRCT10DIF algorithm"
47268411521SHerbert Xu	select CRYPTO_HASH
47368411521SHerbert Xu	help
47468411521SHerbert Xu	  CRC T10 Data Integrity Field computation is being cast as
47568411521SHerbert Xu	  a crypto transform.  This allows for faster crc t10 diff
47668411521SHerbert Xu	  transforms to be used if they are available.
47768411521SHerbert Xu
47868411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL
47968411521SHerbert Xu	tristate "CRCT10DIF PCLMULQDQ hardware acceleration"
48068411521SHerbert Xu	depends on X86 && 64BIT && CRC_T10DIF
48168411521SHerbert Xu	select CRYPTO_HASH
48268411521SHerbert Xu	help
48368411521SHerbert Xu	  For x86_64 processors with SSE4.2 and PCLMULQDQ supported,
48468411521SHerbert Xu	  CRC T10 DIF PCLMULQDQ computation can be hardware
48568411521SHerbert Xu	  accelerated PCLMULQDQ instruction. This option will create
48668411521SHerbert Xu	  'crct10dif-plcmul' module, which is faster when computing the
48768411521SHerbert Xu	  crct10dif checksum as compared with the generic table implementation.
48868411521SHerbert Xu
4892cdc6899SHuang Yingconfig CRYPTO_GHASH
4902cdc6899SHuang Ying	tristate "GHASH digest algorithm"
4912cdc6899SHuang Ying	select CRYPTO_GF128MUL
492578c60fbSArnd Bergmann	select CRYPTO_HASH
4932cdc6899SHuang Ying	help
4942cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
4952cdc6899SHuang Ying
496f979e014SMartin Williconfig CRYPTO_POLY1305
497f979e014SMartin Willi	tristate "Poly1305 authenticator algorithm"
498578c60fbSArnd Bergmann	select CRYPTO_HASH
499f979e014SMartin Willi	help
500f979e014SMartin Willi	  Poly1305 authenticator algorithm, RFC7539.
501f979e014SMartin Willi
502f979e014SMartin Willi	  Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein.
503f979e014SMartin Willi	  It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use
504f979e014SMartin Willi	  in IETF protocols. This is the portable C implementation of Poly1305.
505f979e014SMartin Willi
506c70f4abeSMartin Williconfig CRYPTO_POLY1305_X86_64
507b1ccc8f4SMartin Willi	tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)"
508c70f4abeSMartin Willi	depends on X86 && 64BIT
509c70f4abeSMartin Willi	select CRYPTO_POLY1305
510c70f4abeSMartin Willi	help
511c70f4abeSMartin Willi	  Poly1305 authenticator algorithm, RFC7539.
512c70f4abeSMartin Willi
513c70f4abeSMartin Willi	  Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein.
514c70f4abeSMartin Willi	  It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use
515c70f4abeSMartin Willi	  in IETF protocols. This is the x86_64 assembler implementation using SIMD
516c70f4abeSMartin Willi	  instructions.
517c70f4abeSMartin Willi
5181da177e4SLinus Torvaldsconfig CRYPTO_MD4
5191da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
520808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
5211da177e4SLinus Torvalds	help
5221da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
5231da177e4SLinus Torvalds
5241da177e4SLinus Torvaldsconfig CRYPTO_MD5
5251da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
52614b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
5271da177e4SLinus Torvalds	help
5281da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
5291da177e4SLinus Torvalds
530d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON
531d69e75deSAaro Koskinen	tristate "MD5 digest algorithm (OCTEON)"
532d69e75deSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
533d69e75deSAaro Koskinen	select CRYPTO_MD5
534d69e75deSAaro Koskinen	select CRYPTO_HASH
535d69e75deSAaro Koskinen	help
536d69e75deSAaro Koskinen	  MD5 message digest algorithm (RFC1321) implemented
537d69e75deSAaro Koskinen	  using OCTEON crypto instructions, when available.
538d69e75deSAaro Koskinen
539e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC
540e8e59953SMarkus Stockhausen	tristate "MD5 digest algorithm (PPC)"
541e8e59953SMarkus Stockhausen	depends on PPC
542e8e59953SMarkus Stockhausen	select CRYPTO_HASH
543e8e59953SMarkus Stockhausen	help
544e8e59953SMarkus Stockhausen	  MD5 message digest algorithm (RFC1321) implemented
545e8e59953SMarkus Stockhausen	  in PPC assembler.
546e8e59953SMarkus Stockhausen
547fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64
548fa4dfedcSDavid S. Miller	tristate "MD5 digest algorithm (SPARC64)"
549fa4dfedcSDavid S. Miller	depends on SPARC64
550fa4dfedcSDavid S. Miller	select CRYPTO_MD5
551fa4dfedcSDavid S. Miller	select CRYPTO_HASH
552fa4dfedcSDavid S. Miller	help
553fa4dfedcSDavid S. Miller	  MD5 message digest algorithm (RFC1321) implemented
554fa4dfedcSDavid S. Miller	  using sparc64 crypto instructions, when available.
555fa4dfedcSDavid S. Miller
556584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
557584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
55819e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
559584fffc8SSebastian Siewior	help
560584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
561584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
562584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
563584fffc8SSebastian Siewior	  of the algorithm.
564584fffc8SSebastian Siewior
56582798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
56682798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
5677c4468bcSHerbert Xu	select CRYPTO_HASH
56882798f90SAdrian-Ken Rueegsegger	help
56982798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
57082798f90SAdrian-Ken Rueegsegger
57182798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
57235ed4b35SMichael Witten	  be used as a secure replacement for RIPEMD. For other use cases,
57382798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
57482798f90SAdrian-Ken Rueegsegger
57582798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5766d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
57782798f90SAdrian-Ken Rueegsegger
57882798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
57982798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
580e5835fbaSHerbert Xu	select CRYPTO_HASH
58182798f90SAdrian-Ken Rueegsegger	help
58282798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
58382798f90SAdrian-Ken Rueegsegger
58482798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
58582798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
586b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
587b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
58882798f90SAdrian-Ken Rueegsegger
589b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
590b6d44341SAdrian Bunk	  against RIPEMD-160.
591534fe2c1SAdrian-Ken Rueegsegger
592534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5936d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
594534fe2c1SAdrian-Ken Rueegsegger
595534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
596534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
597d8a5e2e9SHerbert Xu	select CRYPTO_HASH
598534fe2c1SAdrian-Ken Rueegsegger	help
599b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
600b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
601b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
602b6d44341SAdrian Bunk	  (than RIPEMD-128).
603534fe2c1SAdrian-Ken Rueegsegger
604534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
6056d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
606534fe2c1SAdrian-Ken Rueegsegger
607534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
608534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
6093b8efb4cSHerbert Xu	select CRYPTO_HASH
610534fe2c1SAdrian-Ken Rueegsegger	help
611b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
612b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
613b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
614b6d44341SAdrian Bunk	  (than RIPEMD-160).
615534fe2c1SAdrian-Ken Rueegsegger
61682798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
6176d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
61882798f90SAdrian-Ken Rueegsegger
6191da177e4SLinus Torvaldsconfig CRYPTO_SHA1
6201da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
62154ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
6221da177e4SLinus Torvalds	help
6231da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
6241da177e4SLinus Torvalds
62566be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3
626e38b6b7fStim	tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)"
62766be8951SMathias Krause	depends on X86 && 64BIT
62866be8951SMathias Krause	select CRYPTO_SHA1
62966be8951SMathias Krause	select CRYPTO_HASH
63066be8951SMathias Krause	help
63166be8951SMathias Krause	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
63266be8951SMathias Krause	  using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
633e38b6b7fStim	  Extensions (AVX/AVX2) or SHA-NI(SHA Extensions New Instructions),
634e38b6b7fStim	  when available.
63566be8951SMathias Krause
6368275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3
637e38b6b7fStim	tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)"
6388275d1aaSTim Chen	depends on X86 && 64BIT
6398275d1aaSTim Chen	select CRYPTO_SHA256
6408275d1aaSTim Chen	select CRYPTO_HASH
6418275d1aaSTim Chen	help
6428275d1aaSTim Chen	  SHA-256 secure hash standard (DFIPS 180-2) implemented
6438275d1aaSTim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
6448275d1aaSTim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
645e38b6b7fStim	  version 2 (AVX2) instructions, or SHA-NI (SHA Extensions New
646e38b6b7fStim	  Instructions) when available.
6478275d1aaSTim Chen
64887de4579STim Chenconfig CRYPTO_SHA512_SSSE3
64987de4579STim Chen	tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
65087de4579STim Chen	depends on X86 && 64BIT
65187de4579STim Chen	select CRYPTO_SHA512
65287de4579STim Chen	select CRYPTO_HASH
65387de4579STim Chen	help
65487de4579STim Chen	  SHA-512 secure hash standard (DFIPS 180-2) implemented
65587de4579STim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
65687de4579STim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
65787de4579STim Chen	  version 2 (AVX2) instructions, when available.
65887de4579STim Chen
659efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON
660efdb6f6eSAaro Koskinen	tristate "SHA1 digest algorithm (OCTEON)"
661efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
662efdb6f6eSAaro Koskinen	select CRYPTO_SHA1
663efdb6f6eSAaro Koskinen	select CRYPTO_HASH
664efdb6f6eSAaro Koskinen	help
665efdb6f6eSAaro Koskinen	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
666efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
667efdb6f6eSAaro Koskinen
6684ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64
6694ff28d4cSDavid S. Miller	tristate "SHA1 digest algorithm (SPARC64)"
6704ff28d4cSDavid S. Miller	depends on SPARC64
6714ff28d4cSDavid S. Miller	select CRYPTO_SHA1
6724ff28d4cSDavid S. Miller	select CRYPTO_HASH
6734ff28d4cSDavid S. Miller	help
6744ff28d4cSDavid S. Miller	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
6754ff28d4cSDavid S. Miller	  using sparc64 crypto instructions, when available.
6764ff28d4cSDavid S. Miller
677323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC
678323a6bf1SMichael Ellerman	tristate "SHA1 digest algorithm (powerpc)"
679323a6bf1SMichael Ellerman	depends on PPC
680323a6bf1SMichael Ellerman	help
681323a6bf1SMichael Ellerman	  This is the powerpc hardware accelerated implementation of the
682323a6bf1SMichael Ellerman	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
683323a6bf1SMichael Ellerman
684d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE
685d9850fc5SMarkus Stockhausen	tristate "SHA1 digest algorithm (PPC SPE)"
686d9850fc5SMarkus Stockhausen	depends on PPC && SPE
687d9850fc5SMarkus Stockhausen	help
688d9850fc5SMarkus Stockhausen	  SHA-1 secure hash standard (DFIPS 180-4) implemented
689d9850fc5SMarkus Stockhausen	  using powerpc SPE SIMD instruction set.
690d9850fc5SMarkus Stockhausen
6911e65b81aSTim Chenconfig CRYPTO_SHA1_MB
6921e65b81aSTim Chen	tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)"
6931e65b81aSTim Chen	depends on X86 && 64BIT
6941e65b81aSTim Chen	select CRYPTO_SHA1
6951e65b81aSTim Chen	select CRYPTO_HASH
6961e65b81aSTim Chen	select CRYPTO_MCRYPTD
6971e65b81aSTim Chen	help
6981e65b81aSTim Chen	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
6991e65b81aSTim Chen	  using multi-buffer technique.  This algorithm computes on
7001e65b81aSTim Chen	  multiple data lanes concurrently with SIMD instructions for
7011e65b81aSTim Chen	  better throughput.  It should not be enabled by default but
7021e65b81aSTim Chen	  used when there is significant amount of work to keep the keep
7031e65b81aSTim Chen	  the data lanes filled to get performance benefit.  If the data
7041e65b81aSTim Chen	  lanes remain unfilled, a flush operation will be initiated to
7051e65b81aSTim Chen	  process the crypto jobs, adding a slight latency.
7061e65b81aSTim Chen
7079be7e244SMegha Deyconfig CRYPTO_SHA256_MB
7089be7e244SMegha Dey	tristate "SHA256 digest algorithm (x86_64 Multi-Buffer, Experimental)"
7099be7e244SMegha Dey	depends on X86 && 64BIT
7109be7e244SMegha Dey	select CRYPTO_SHA256
7119be7e244SMegha Dey	select CRYPTO_HASH
7129be7e244SMegha Dey	select CRYPTO_MCRYPTD
7139be7e244SMegha Dey	help
7149be7e244SMegha Dey	  SHA-256 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
7159be7e244SMegha Dey	  using multi-buffer technique.  This algorithm computes on
7169be7e244SMegha Dey	  multiple data lanes concurrently with SIMD instructions for
7179be7e244SMegha Dey	  better throughput.  It should not be enabled by default but
7189be7e244SMegha Dey	  used when there is significant amount of work to keep the keep
7199be7e244SMegha Dey	  the data lanes filled to get performance benefit.  If the data
7209be7e244SMegha Dey	  lanes remain unfilled, a flush operation will be initiated to
7219be7e244SMegha Dey	  process the crypto jobs, adding a slight latency.
7229be7e244SMegha Dey
723*026bb8aaSMegha Deyconfig CRYPTO_SHA512_MB
724*026bb8aaSMegha Dey        tristate "SHA512 digest algorithm (x86_64 Multi-Buffer, Experimental)"
725*026bb8aaSMegha Dey        depends on X86 && 64BIT
726*026bb8aaSMegha Dey        select CRYPTO_SHA512
727*026bb8aaSMegha Dey        select CRYPTO_HASH
728*026bb8aaSMegha Dey        select CRYPTO_MCRYPTD
729*026bb8aaSMegha Dey        help
730*026bb8aaSMegha Dey          SHA-512 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
731*026bb8aaSMegha Dey          using multi-buffer technique.  This algorithm computes on
732*026bb8aaSMegha Dey          multiple data lanes concurrently with SIMD instructions for
733*026bb8aaSMegha Dey          better throughput.  It should not be enabled by default but
734*026bb8aaSMegha Dey          used when there is significant amount of work to keep the keep
735*026bb8aaSMegha Dey          the data lanes filled to get performance benefit.  If the data
736*026bb8aaSMegha Dey          lanes remain unfilled, a flush operation will be initiated to
737*026bb8aaSMegha Dey          process the crypto jobs, adding a slight latency.
738*026bb8aaSMegha Dey
7391da177e4SLinus Torvaldsconfig CRYPTO_SHA256
740cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
74150e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
7421da177e4SLinus Torvalds	help
7431da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
7441da177e4SLinus Torvalds
7451da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
7461da177e4SLinus Torvalds	  security against collision attacks.
7471da177e4SLinus Torvalds
748cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
749cd12fb90SJonathan Lynch	  of security against collision attacks.
750cd12fb90SJonathan Lynch
7512ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE
7522ecc1e95SMarkus Stockhausen	tristate "SHA224 and SHA256 digest algorithm (PPC SPE)"
7532ecc1e95SMarkus Stockhausen	depends on PPC && SPE
7542ecc1e95SMarkus Stockhausen	select CRYPTO_SHA256
7552ecc1e95SMarkus Stockhausen	select CRYPTO_HASH
7562ecc1e95SMarkus Stockhausen	help
7572ecc1e95SMarkus Stockhausen	  SHA224 and SHA256 secure hash standard (DFIPS 180-2)
7582ecc1e95SMarkus Stockhausen	  implemented using powerpc SPE SIMD instruction set.
7592ecc1e95SMarkus Stockhausen
760efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON
761efdb6f6eSAaro Koskinen	tristate "SHA224 and SHA256 digest algorithm (OCTEON)"
762efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
763efdb6f6eSAaro Koskinen	select CRYPTO_SHA256
764efdb6f6eSAaro Koskinen	select CRYPTO_HASH
765efdb6f6eSAaro Koskinen	help
766efdb6f6eSAaro Koskinen	  SHA-256 secure hash standard (DFIPS 180-2) implemented
767efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
768efdb6f6eSAaro Koskinen
76986c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64
77086c93b24SDavid S. Miller	tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
77186c93b24SDavid S. Miller	depends on SPARC64
77286c93b24SDavid S. Miller	select CRYPTO_SHA256
77386c93b24SDavid S. Miller	select CRYPTO_HASH
77486c93b24SDavid S. Miller	help
77586c93b24SDavid S. Miller	  SHA-256 secure hash standard (DFIPS 180-2) implemented
77686c93b24SDavid S. Miller	  using sparc64 crypto instructions, when available.
77786c93b24SDavid S. Miller
7781da177e4SLinus Torvaldsconfig CRYPTO_SHA512
7791da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
780bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
7811da177e4SLinus Torvalds	help
7821da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
7831da177e4SLinus Torvalds
7841da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
7851da177e4SLinus Torvalds	  security against collision attacks.
7861da177e4SLinus Torvalds
7871da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
7881da177e4SLinus Torvalds	  of security against collision attacks.
7891da177e4SLinus Torvalds
790efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON
791efdb6f6eSAaro Koskinen	tristate "SHA384 and SHA512 digest algorithms (OCTEON)"
792efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
793efdb6f6eSAaro Koskinen	select CRYPTO_SHA512
794efdb6f6eSAaro Koskinen	select CRYPTO_HASH
795efdb6f6eSAaro Koskinen	help
796efdb6f6eSAaro Koskinen	  SHA-512 secure hash standard (DFIPS 180-2) implemented
797efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
798efdb6f6eSAaro Koskinen
799775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64
800775e0c69SDavid S. Miller	tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
801775e0c69SDavid S. Miller	depends on SPARC64
802775e0c69SDavid S. Miller	select CRYPTO_SHA512
803775e0c69SDavid S. Miller	select CRYPTO_HASH
804775e0c69SDavid S. Miller	help
805775e0c69SDavid S. Miller	  SHA-512 secure hash standard (DFIPS 180-2) implemented
806775e0c69SDavid S. Miller	  using sparc64 crypto instructions, when available.
807775e0c69SDavid S. Miller
80853964b9eSJeff Garzikconfig CRYPTO_SHA3
80953964b9eSJeff Garzik	tristate "SHA3 digest algorithm"
81053964b9eSJeff Garzik	select CRYPTO_HASH
81153964b9eSJeff Garzik	help
81253964b9eSJeff Garzik	  SHA-3 secure hash standard (DFIPS 202). It's based on
81353964b9eSJeff Garzik	  cryptographic sponge function family called Keccak.
81453964b9eSJeff Garzik
81553964b9eSJeff Garzik	  References:
81653964b9eSJeff Garzik	  http://keccak.noekeon.org/
81753964b9eSJeff Garzik
8181da177e4SLinus Torvaldsconfig CRYPTO_TGR192
8191da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
820f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
8211da177e4SLinus Torvalds	help
8221da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
8231da177e4SLinus Torvalds
8241da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
8251da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
8261da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
8271da177e4SLinus Torvalds
8281da177e4SLinus Torvalds	  See also:
8291da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
8301da177e4SLinus Torvalds
831584fffc8SSebastian Siewiorconfig CRYPTO_WP512
832584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
8334946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
8341da177e4SLinus Torvalds	help
835584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
8361da177e4SLinus Torvalds
837584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
838584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
8391da177e4SLinus Torvalds
8401da177e4SLinus Torvalds	  See also:
8416d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
8421da177e4SLinus Torvalds
8430e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
8440e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
8458af00860SRichard Weinberger	depends on X86 && 64BIT
8460e1227d3SHuang Ying	select CRYPTO_CRYPTD
8470e1227d3SHuang Ying	help
8480e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
8490e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
8500e1227d3SHuang Ying
851584fffc8SSebastian Siewiorcomment "Ciphers"
8521da177e4SLinus Torvalds
8531da177e4SLinus Torvaldsconfig CRYPTO_AES
8541da177e4SLinus Torvalds	tristate "AES cipher algorithms"
855cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
8561da177e4SLinus Torvalds	help
8571da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
8581da177e4SLinus Torvalds	  algorithm.
8591da177e4SLinus Torvalds
8601da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
8611da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
8621da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
8631da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
8641da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
8651da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
8661da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
8671da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
8681da177e4SLinus Torvalds
8691da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
8701da177e4SLinus Torvalds
8711da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
8721da177e4SLinus Torvalds
8731da177e4SLinus Torvaldsconfig CRYPTO_AES_586
8741da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
875cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
876cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
8775157dea8SSebastian Siewior	select CRYPTO_AES
8781da177e4SLinus Torvalds	help
8791da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
8801da177e4SLinus Torvalds	  algorithm.
8811da177e4SLinus Torvalds
8821da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
8831da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
8841da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
8851da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
8861da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
8871da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
8881da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
8891da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
8901da177e4SLinus Torvalds
8911da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
8921da177e4SLinus Torvalds
8931da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
8941da177e4SLinus Torvalds
895a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
896a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
897cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
898cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
89981190b32SSebastian Siewior	select CRYPTO_AES
900a2a892a2SAndreas Steinmetz	help
901a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
902a2a892a2SAndreas Steinmetz	  algorithm.
903a2a892a2SAndreas Steinmetz
904a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
905a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
906a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
907a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
908a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
909a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
910a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
911a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
912a2a892a2SAndreas Steinmetz
913a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
914a2a892a2SAndreas Steinmetz
915a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
916a2a892a2SAndreas Steinmetz
91754b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
91854b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
9198af00860SRichard Weinberger	depends on X86
9200d258efbSMathias Krause	select CRYPTO_AES_X86_64 if 64BIT
9210d258efbSMathias Krause	select CRYPTO_AES_586 if !64BIT
92254b6a1bdSHuang Ying	select CRYPTO_CRYPTD
923801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
92454b6a1bdSHuang Ying	select CRYPTO_ALGAPI
9257643a11aSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86 if 64BIT
926023af608SJussi Kivilinna	select CRYPTO_LRW
927023af608SJussi Kivilinna	select CRYPTO_XTS
92854b6a1bdSHuang Ying	help
92954b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
93054b6a1bdSHuang Ying
93154b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
93254b6a1bdSHuang Ying	  algorithm.
93354b6a1bdSHuang Ying
93454b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
93554b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
93654b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
93754b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
93854b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
93954b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
94054b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
94154b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
94254b6a1bdSHuang Ying
94354b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
94454b6a1bdSHuang Ying
94554b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
94654b6a1bdSHuang Ying
9470d258efbSMathias Krause	  In addition to AES cipher algorithm support, the acceleration
9480d258efbSMathias Krause	  for some popular block cipher mode is supported too, including
9490d258efbSMathias Krause	  ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
9500d258efbSMathias Krause	  acceleration for CTR.
9512cf4ac8bSHuang Ying
9529bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64
9539bf4852dSDavid S. Miller	tristate "AES cipher algorithms (SPARC64)"
9549bf4852dSDavid S. Miller	depends on SPARC64
9559bf4852dSDavid S. Miller	select CRYPTO_CRYPTD
9569bf4852dSDavid S. Miller	select CRYPTO_ALGAPI
9579bf4852dSDavid S. Miller	help
9589bf4852dSDavid S. Miller	  Use SPARC64 crypto opcodes for AES algorithm.
9599bf4852dSDavid S. Miller
9609bf4852dSDavid S. Miller	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
9619bf4852dSDavid S. Miller	  algorithm.
9629bf4852dSDavid S. Miller
9639bf4852dSDavid S. Miller	  Rijndael appears to be consistently a very good performer in
9649bf4852dSDavid S. Miller	  both hardware and software across a wide range of computing
9659bf4852dSDavid S. Miller	  environments regardless of its use in feedback or non-feedback
9669bf4852dSDavid S. Miller	  modes. Its key setup time is excellent, and its key agility is
9679bf4852dSDavid S. Miller	  good. Rijndael's very low memory requirements make it very well
9689bf4852dSDavid S. Miller	  suited for restricted-space environments, in which it also
9699bf4852dSDavid S. Miller	  demonstrates excellent performance. Rijndael's operations are
9709bf4852dSDavid S. Miller	  among the easiest to defend against power and timing attacks.
9719bf4852dSDavid S. Miller
9729bf4852dSDavid S. Miller	  The AES specifies three key sizes: 128, 192 and 256 bits
9739bf4852dSDavid S. Miller
9749bf4852dSDavid S. Miller	  See <http://csrc.nist.gov/encryption/aes/> for more information.
9759bf4852dSDavid S. Miller
9769bf4852dSDavid S. Miller	  In addition to AES cipher algorithm support, the acceleration
9779bf4852dSDavid S. Miller	  for some popular block cipher mode is supported too, including
9789bf4852dSDavid S. Miller	  ECB and CBC.
9799bf4852dSDavid S. Miller
980504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE
981504c6143SMarkus Stockhausen	tristate "AES cipher algorithms (PPC SPE)"
982504c6143SMarkus Stockhausen	depends on PPC && SPE
983504c6143SMarkus Stockhausen	help
984504c6143SMarkus Stockhausen	  AES cipher algorithms (FIPS-197). Additionally the acceleration
985504c6143SMarkus Stockhausen	  for popular block cipher modes ECB, CBC, CTR and XTS is supported.
986504c6143SMarkus Stockhausen	  This module should only be used for low power (router) devices
987504c6143SMarkus Stockhausen	  without hardware AES acceleration (e.g. caam crypto). It reduces the
988504c6143SMarkus Stockhausen	  size of the AES tables from 16KB to 8KB + 256 bytes and mitigates
989504c6143SMarkus Stockhausen	  timining attacks. Nevertheless it might be not as secure as other
990504c6143SMarkus Stockhausen	  architecture specific assembler implementations that work on 1KB
991504c6143SMarkus Stockhausen	  tables or 256 bytes S-boxes.
992504c6143SMarkus Stockhausen
9931da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
9941da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
995cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
9961da177e4SLinus Torvalds	help
9971da177e4SLinus Torvalds	  Anubis cipher algorithm.
9981da177e4SLinus Torvalds
9991da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
10001da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
10011da177e4SLinus Torvalds	  in the NESSIE competition.
10021da177e4SLinus Torvalds
10031da177e4SLinus Torvalds	  See also:
10046d8de74cSJustin P. Mattock	  <https://www.cosic.esat.kuleuven.be/nessie/reports/>
10056d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
10061da177e4SLinus Torvalds
1007584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
1008584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
1009b9b0f080SSebastian Andrzej Siewior	select CRYPTO_BLKCIPHER
1010e2ee95b8SHye-Shik Chang	help
1011584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
1012e2ee95b8SHye-Shik Chang
1013584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
1014584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
1015584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
1016584fffc8SSebastian Siewior	  weakness of the algorithm.
1017584fffc8SSebastian Siewior
1018584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
1019584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
1020584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
102152ba867cSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
1022584fffc8SSebastian Siewior	help
1023584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
1024584fffc8SSebastian Siewior
1025584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
1026584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
1027584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
1028e2ee95b8SHye-Shik Chang
1029e2ee95b8SHye-Shik Chang	  See also:
1030584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
1031584fffc8SSebastian Siewior
103252ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON
103352ba867cSJussi Kivilinna	tristate
103452ba867cSJussi Kivilinna	help
103552ba867cSJussi Kivilinna	  Common parts of the Blowfish cipher algorithm shared by the
103652ba867cSJussi Kivilinna	  generic c and the assembler implementations.
103752ba867cSJussi Kivilinna
103852ba867cSJussi Kivilinna	  See also:
103952ba867cSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
104052ba867cSJussi Kivilinna
104164b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64
104264b94ceaSJussi Kivilinna	tristate "Blowfish cipher algorithm (x86_64)"
1043f21a7c19SAl Viro	depends on X86 && 64BIT
104464b94ceaSJussi Kivilinna	select CRYPTO_ALGAPI
104564b94ceaSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
104664b94ceaSJussi Kivilinna	help
104764b94ceaSJussi Kivilinna	  Blowfish cipher algorithm (x86_64), by Bruce Schneier.
104864b94ceaSJussi Kivilinna
104964b94ceaSJussi Kivilinna	  This is a variable key length cipher which can use keys from 32
105064b94ceaSJussi Kivilinna	  bits to 448 bits in length.  It's fast, simple and specifically
105164b94ceaSJussi Kivilinna	  designed for use on "large microprocessors".
105264b94ceaSJussi Kivilinna
105364b94ceaSJussi Kivilinna	  See also:
105464b94ceaSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
105564b94ceaSJussi Kivilinna
1056584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
1057584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
1058584fffc8SSebastian Siewior	depends on CRYPTO
1059584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1060584fffc8SSebastian Siewior	help
1061584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
1062584fffc8SSebastian Siewior
1063584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
1064584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
1065584fffc8SSebastian Siewior
1066584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
1067584fffc8SSebastian Siewior
1068584fffc8SSebastian Siewior	  See also:
1069584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
1070584fffc8SSebastian Siewior
10710b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64
10720b95ec56SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64)"
1073f21a7c19SAl Viro	depends on X86 && 64BIT
10740b95ec56SJussi Kivilinna	depends on CRYPTO
10750b95ec56SJussi Kivilinna	select CRYPTO_ALGAPI
1076964263afSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
10770b95ec56SJussi Kivilinna	select CRYPTO_LRW
10780b95ec56SJussi Kivilinna	select CRYPTO_XTS
10790b95ec56SJussi Kivilinna	help
10800b95ec56SJussi Kivilinna	  Camellia cipher algorithm module (x86_64).
10810b95ec56SJussi Kivilinna
10820b95ec56SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
10830b95ec56SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
10840b95ec56SJussi Kivilinna
10850b95ec56SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
10860b95ec56SJussi Kivilinna
10870b95ec56SJussi Kivilinna	  See also:
10880b95ec56SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
10890b95ec56SJussi Kivilinna
1090d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64
1091d9b1d2e7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
1092d9b1d2e7SJussi Kivilinna	depends on X86 && 64BIT
1093d9b1d2e7SJussi Kivilinna	depends on CRYPTO
1094d9b1d2e7SJussi Kivilinna	select CRYPTO_ALGAPI
1095d9b1d2e7SJussi Kivilinna	select CRYPTO_CRYPTD
1096801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1097d9b1d2e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1098d9b1d2e7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
1099d9b1d2e7SJussi Kivilinna	select CRYPTO_LRW
1100d9b1d2e7SJussi Kivilinna	select CRYPTO_XTS
1101d9b1d2e7SJussi Kivilinna	help
1102d9b1d2e7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX).
1103d9b1d2e7SJussi Kivilinna
1104d9b1d2e7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
1105d9b1d2e7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
1106d9b1d2e7SJussi Kivilinna
1107d9b1d2e7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
1108d9b1d2e7SJussi Kivilinna
1109d9b1d2e7SJussi Kivilinna	  See also:
1110d9b1d2e7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
1111d9b1d2e7SJussi Kivilinna
1112f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64
1113f3f935a7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)"
1114f3f935a7SJussi Kivilinna	depends on X86 && 64BIT
1115f3f935a7SJussi Kivilinna	depends on CRYPTO
1116f3f935a7SJussi Kivilinna	select CRYPTO_ALGAPI
1117f3f935a7SJussi Kivilinna	select CRYPTO_CRYPTD
1118801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1119f3f935a7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1120f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
1121f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_AESNI_AVX_X86_64
1122f3f935a7SJussi Kivilinna	select CRYPTO_LRW
1123f3f935a7SJussi Kivilinna	select CRYPTO_XTS
1124f3f935a7SJussi Kivilinna	help
1125f3f935a7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX2).
1126f3f935a7SJussi Kivilinna
1127f3f935a7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
1128f3f935a7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
1129f3f935a7SJussi Kivilinna
1130f3f935a7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
1131f3f935a7SJussi Kivilinna
1132f3f935a7SJussi Kivilinna	  See also:
1133f3f935a7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
1134f3f935a7SJussi Kivilinna
113581658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64
113681658ad0SDavid S. Miller	tristate "Camellia cipher algorithm (SPARC64)"
113781658ad0SDavid S. Miller	depends on SPARC64
113881658ad0SDavid S. Miller	depends on CRYPTO
113981658ad0SDavid S. Miller	select CRYPTO_ALGAPI
114081658ad0SDavid S. Miller	help
114181658ad0SDavid S. Miller	  Camellia cipher algorithm module (SPARC64).
114281658ad0SDavid S. Miller
114381658ad0SDavid S. Miller	  Camellia is a symmetric key block cipher developed jointly
114481658ad0SDavid S. Miller	  at NTT and Mitsubishi Electric Corporation.
114581658ad0SDavid S. Miller
114681658ad0SDavid S. Miller	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
114781658ad0SDavid S. Miller
114881658ad0SDavid S. Miller	  See also:
114981658ad0SDavid S. Miller	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
115081658ad0SDavid S. Miller
1151044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON
1152044ab525SJussi Kivilinna	tristate
1153044ab525SJussi Kivilinna	help
1154044ab525SJussi Kivilinna	  Common parts of the CAST cipher algorithms shared by the
1155044ab525SJussi Kivilinna	  generic c and the assembler implementations.
1156044ab525SJussi Kivilinna
1157584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
1158584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
1159584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1160044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
1161584fffc8SSebastian Siewior	help
1162584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
1163584fffc8SSebastian Siewior	  described in RFC2144.
1164584fffc8SSebastian Siewior
11654d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64
11664d6d6a2cSJohannes Goetzfried	tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
11674d6d6a2cSJohannes Goetzfried	depends on X86 && 64BIT
11684d6d6a2cSJohannes Goetzfried	select CRYPTO_ALGAPI
11694d6d6a2cSJohannes Goetzfried	select CRYPTO_CRYPTD
1170801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1171044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
11724d6d6a2cSJohannes Goetzfried	select CRYPTO_CAST5
11734d6d6a2cSJohannes Goetzfried	help
11744d6d6a2cSJohannes Goetzfried	  The CAST5 encryption algorithm (synonymous with CAST-128) is
11754d6d6a2cSJohannes Goetzfried	  described in RFC2144.
11764d6d6a2cSJohannes Goetzfried
11774d6d6a2cSJohannes Goetzfried	  This module provides the Cast5 cipher algorithm that processes
11784d6d6a2cSJohannes Goetzfried	  sixteen blocks parallel using the AVX instruction set.
11794d6d6a2cSJohannes Goetzfried
1180584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
1181584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
1182584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1183044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
1184584fffc8SSebastian Siewior	help
1185584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
1186584fffc8SSebastian Siewior	  described in RFC2612.
1187584fffc8SSebastian Siewior
11884ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64
11894ea1277dSJohannes Goetzfried	tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
11904ea1277dSJohannes Goetzfried	depends on X86 && 64BIT
11914ea1277dSJohannes Goetzfried	select CRYPTO_ALGAPI
11924ea1277dSJohannes Goetzfried	select CRYPTO_CRYPTD
1193801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
11944ea1277dSJohannes Goetzfried	select CRYPTO_GLUE_HELPER_X86
1195044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
11964ea1277dSJohannes Goetzfried	select CRYPTO_CAST6
11974ea1277dSJohannes Goetzfried	select CRYPTO_LRW
11984ea1277dSJohannes Goetzfried	select CRYPTO_XTS
11994ea1277dSJohannes Goetzfried	help
12004ea1277dSJohannes Goetzfried	  The CAST6 encryption algorithm (synonymous with CAST-256) is
12014ea1277dSJohannes Goetzfried	  described in RFC2612.
12024ea1277dSJohannes Goetzfried
12034ea1277dSJohannes Goetzfried	  This module provides the Cast6 cipher algorithm that processes
12044ea1277dSJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
12054ea1277dSJohannes Goetzfried
1206584fffc8SSebastian Siewiorconfig CRYPTO_DES
1207584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
1208584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1209584fffc8SSebastian Siewior	help
1210584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1211584fffc8SSebastian Siewior
1212c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64
1213c5aac2dfSDavid S. Miller	tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
121497da37b3SDave Jones	depends on SPARC64
1215c5aac2dfSDavid S. Miller	select CRYPTO_ALGAPI
1216c5aac2dfSDavid S. Miller	select CRYPTO_DES
1217c5aac2dfSDavid S. Miller	help
1218c5aac2dfSDavid S. Miller	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
1219c5aac2dfSDavid S. Miller	  optimized using SPARC64 crypto opcodes.
1220c5aac2dfSDavid S. Miller
12216574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64
12226574e6c6SJussi Kivilinna	tristate "Triple DES EDE cipher algorithm (x86-64)"
12236574e6c6SJussi Kivilinna	depends on X86 && 64BIT
12246574e6c6SJussi Kivilinna	select CRYPTO_ALGAPI
12256574e6c6SJussi Kivilinna	select CRYPTO_DES
12266574e6c6SJussi Kivilinna	help
12276574e6c6SJussi Kivilinna	  Triple DES EDE (FIPS 46-3) algorithm.
12286574e6c6SJussi Kivilinna
12296574e6c6SJussi Kivilinna	  This module provides implementation of the Triple DES EDE cipher
12306574e6c6SJussi Kivilinna	  algorithm that is optimized for x86-64 processors. Two versions of
12316574e6c6SJussi Kivilinna	  algorithm are provided; regular processing one input block and
12326574e6c6SJussi Kivilinna	  one that processes three blocks parallel.
12336574e6c6SJussi Kivilinna
1234584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
1235584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
1236584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1237584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
1238584fffc8SSebastian Siewior	help
1239584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
1240584fffc8SSebastian Siewior
1241584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
1242584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
1243584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1244584fffc8SSebastian Siewior	help
1245584fffc8SSebastian Siewior	  Khazad cipher algorithm.
1246584fffc8SSebastian Siewior
1247584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
1248584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
1249584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
1250584fffc8SSebastian Siewior
1251584fffc8SSebastian Siewior	  See also:
12526d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
1253e2ee95b8SHye-Shik Chang
12542407d608STan Swee Hengconfig CRYPTO_SALSA20
12553b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm"
12562407d608STan Swee Heng	select CRYPTO_BLKCIPHER
12572407d608STan Swee Heng	help
12582407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
12592407d608STan Swee Heng
12602407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
12612407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
12622407d608STan Swee Heng
12632407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
12642407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
12651da177e4SLinus Torvalds
1266974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
12673b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (i586)"
1268974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
1269974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
1270974e4b75STan Swee Heng	help
1271974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
1272974e4b75STan Swee Heng
1273974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
1274974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
1275974e4b75STan Swee Heng
1276974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
1277974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
1278974e4b75STan Swee Heng
12799a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
12803b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (x86_64)"
12819a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
12829a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
12839a7dafbbSTan Swee Heng	help
12849a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
12859a7dafbbSTan Swee Heng
12869a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
12879a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
12889a7dafbbSTan Swee Heng
12899a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
12909a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
12919a7dafbbSTan Swee Heng
1292c08d0e64SMartin Williconfig CRYPTO_CHACHA20
1293c08d0e64SMartin Willi	tristate "ChaCha20 cipher algorithm"
1294c08d0e64SMartin Willi	select CRYPTO_BLKCIPHER
1295c08d0e64SMartin Willi	help
1296c08d0e64SMartin Willi	  ChaCha20 cipher algorithm, RFC7539.
1297c08d0e64SMartin Willi
1298c08d0e64SMartin Willi	  ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J.
1299c08d0e64SMartin Willi	  Bernstein and further specified in RFC7539 for use in IETF protocols.
1300c08d0e64SMartin Willi	  This is the portable C implementation of ChaCha20.
1301c08d0e64SMartin Willi
1302c08d0e64SMartin Willi	  See also:
1303c08d0e64SMartin Willi	  <http://cr.yp.to/chacha/chacha-20080128.pdf>
1304c08d0e64SMartin Willi
1305c9320b6dSMartin Williconfig CRYPTO_CHACHA20_X86_64
13063d1e93cdSMartin Willi	tristate "ChaCha20 cipher algorithm (x86_64/SSSE3/AVX2)"
1307c9320b6dSMartin Willi	depends on X86 && 64BIT
1308c9320b6dSMartin Willi	select CRYPTO_BLKCIPHER
1309c9320b6dSMartin Willi	select CRYPTO_CHACHA20
1310c9320b6dSMartin Willi	help
1311c9320b6dSMartin Willi	  ChaCha20 cipher algorithm, RFC7539.
1312c9320b6dSMartin Willi
1313c9320b6dSMartin Willi	  ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J.
1314c9320b6dSMartin Willi	  Bernstein and further specified in RFC7539 for use in IETF protocols.
1315c9320b6dSMartin Willi	  This is the x86_64 assembler implementation using SIMD instructions.
1316c9320b6dSMartin Willi
1317c9320b6dSMartin Willi	  See also:
1318c9320b6dSMartin Willi	  <http://cr.yp.to/chacha/chacha-20080128.pdf>
1319c9320b6dSMartin Willi
1320584fffc8SSebastian Siewiorconfig CRYPTO_SEED
1321584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
1322584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1323584fffc8SSebastian Siewior	help
1324584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
1325584fffc8SSebastian Siewior
1326584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
1327584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
1328584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
1329584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
1330584fffc8SSebastian Siewior
1331584fffc8SSebastian Siewior	  See also:
1332584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
1333584fffc8SSebastian Siewior
1334584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
1335584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
1336584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1337584fffc8SSebastian Siewior	help
1338584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1339584fffc8SSebastian Siewior
1340584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
1341584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
1342584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
1343584fffc8SSebastian Siewior
1344584fffc8SSebastian Siewior	  See also:
1345584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1346584fffc8SSebastian Siewior
1347937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64
1348937c30d7SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/SSE2)"
1349937c30d7SJussi Kivilinna	depends on X86 && 64BIT
1350937c30d7SJussi Kivilinna	select CRYPTO_ALGAPI
1351341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1352801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1353596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1354937c30d7SJussi Kivilinna	select CRYPTO_SERPENT
1355feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1356feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1357937c30d7SJussi Kivilinna	help
1358937c30d7SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1359937c30d7SJussi Kivilinna
1360937c30d7SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1361937c30d7SJussi Kivilinna	  of 8 bits.
1362937c30d7SJussi Kivilinna
13631e6232f8SMasanari Iida	  This module provides Serpent cipher algorithm that processes eight
1364937c30d7SJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1365937c30d7SJussi Kivilinna
1366937c30d7SJussi Kivilinna	  See also:
1367937c30d7SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1368937c30d7SJussi Kivilinna
1369251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586
1370251496dbSJussi Kivilinna	tristate "Serpent cipher algorithm (i586/SSE2)"
1371251496dbSJussi Kivilinna	depends on X86 && !64BIT
1372251496dbSJussi Kivilinna	select CRYPTO_ALGAPI
1373341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1374801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1375596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1376251496dbSJussi Kivilinna	select CRYPTO_SERPENT
1377feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1378feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1379251496dbSJussi Kivilinna	help
1380251496dbSJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1381251496dbSJussi Kivilinna
1382251496dbSJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1383251496dbSJussi Kivilinna	  of 8 bits.
1384251496dbSJussi Kivilinna
1385251496dbSJussi Kivilinna	  This module provides Serpent cipher algorithm that processes four
1386251496dbSJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1387251496dbSJussi Kivilinna
1388251496dbSJussi Kivilinna	  See also:
1389251496dbSJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1390251496dbSJussi Kivilinna
13917efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64
13927efe4076SJohannes Goetzfried	tristate "Serpent cipher algorithm (x86_64/AVX)"
13937efe4076SJohannes Goetzfried	depends on X86 && 64BIT
13947efe4076SJohannes Goetzfried	select CRYPTO_ALGAPI
13957efe4076SJohannes Goetzfried	select CRYPTO_CRYPTD
1396801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
13971d0debbdSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
13987efe4076SJohannes Goetzfried	select CRYPTO_SERPENT
13997efe4076SJohannes Goetzfried	select CRYPTO_LRW
14007efe4076SJohannes Goetzfried	select CRYPTO_XTS
14017efe4076SJohannes Goetzfried	help
14027efe4076SJohannes Goetzfried	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
14037efe4076SJohannes Goetzfried
14047efe4076SJohannes Goetzfried	  Keys are allowed to be from 0 to 256 bits in length, in steps
14057efe4076SJohannes Goetzfried	  of 8 bits.
14067efe4076SJohannes Goetzfried
14077efe4076SJohannes Goetzfried	  This module provides the Serpent cipher algorithm that processes
14087efe4076SJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
14097efe4076SJohannes Goetzfried
14107efe4076SJohannes Goetzfried	  See also:
14117efe4076SJohannes Goetzfried	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
14127efe4076SJohannes Goetzfried
141356d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64
141456d76c96SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/AVX2)"
141556d76c96SJussi Kivilinna	depends on X86 && 64BIT
141656d76c96SJussi Kivilinna	select CRYPTO_ALGAPI
141756d76c96SJussi Kivilinna	select CRYPTO_CRYPTD
1418801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
141956d76c96SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
142056d76c96SJussi Kivilinna	select CRYPTO_SERPENT
142156d76c96SJussi Kivilinna	select CRYPTO_SERPENT_AVX_X86_64
142256d76c96SJussi Kivilinna	select CRYPTO_LRW
142356d76c96SJussi Kivilinna	select CRYPTO_XTS
142456d76c96SJussi Kivilinna	help
142556d76c96SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
142656d76c96SJussi Kivilinna
142756d76c96SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
142856d76c96SJussi Kivilinna	  of 8 bits.
142956d76c96SJussi Kivilinna
143056d76c96SJussi Kivilinna	  This module provides Serpent cipher algorithm that processes 16
143156d76c96SJussi Kivilinna	  blocks parallel using AVX2 instruction set.
143256d76c96SJussi Kivilinna
143356d76c96SJussi Kivilinna	  See also:
143456d76c96SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
143556d76c96SJussi Kivilinna
1436584fffc8SSebastian Siewiorconfig CRYPTO_TEA
1437584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
1438584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1439584fffc8SSebastian Siewior	help
1440584fffc8SSebastian Siewior	  TEA cipher algorithm.
1441584fffc8SSebastian Siewior
1442584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
1443584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
1444584fffc8SSebastian Siewior	  little memory.
1445584fffc8SSebastian Siewior
1446584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
1447584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
1448584fffc8SSebastian Siewior	  in the TEA algorithm.
1449584fffc8SSebastian Siewior
1450584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
1451584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
1452584fffc8SSebastian Siewior
1453584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
1454584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
1455584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1456584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1457584fffc8SSebastian Siewior	help
1458584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1459584fffc8SSebastian Siewior
1460584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1461584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1462584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1463584fffc8SSebastian Siewior	  bits.
1464584fffc8SSebastian Siewior
1465584fffc8SSebastian Siewior	  See also:
1466584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1467584fffc8SSebastian Siewior
1468584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
1469584fffc8SSebastian Siewior	tristate
1470584fffc8SSebastian Siewior	help
1471584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
1472584fffc8SSebastian Siewior	  generic c and the assembler implementations.
1473584fffc8SSebastian Siewior
1474584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
1475584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
1476584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
1477584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1478584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1479584fffc8SSebastian Siewior	help
1480584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1481584fffc8SSebastian Siewior
1482584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1483584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1484584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1485584fffc8SSebastian Siewior	  bits.
1486584fffc8SSebastian Siewior
1487584fffc8SSebastian Siewior	  See also:
1488584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1489584fffc8SSebastian Siewior
1490584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
1491584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
1492584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
1493584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1494584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1495584fffc8SSebastian Siewior	help
1496584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
1497584fffc8SSebastian Siewior
1498584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1499584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1500584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1501584fffc8SSebastian Siewior	  bits.
1502584fffc8SSebastian Siewior
1503584fffc8SSebastian Siewior	  See also:
1504584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1505584fffc8SSebastian Siewior
15068280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY
15078280daadSJussi Kivilinna	tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
1508f21a7c19SAl Viro	depends on X86 && 64BIT
15098280daadSJussi Kivilinna	select CRYPTO_ALGAPI
15108280daadSJussi Kivilinna	select CRYPTO_TWOFISH_COMMON
15118280daadSJussi Kivilinna	select CRYPTO_TWOFISH_X86_64
1512414cb5e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1513e7cda5d2SJussi Kivilinna	select CRYPTO_LRW
1514e7cda5d2SJussi Kivilinna	select CRYPTO_XTS
15158280daadSJussi Kivilinna	help
15168280daadSJussi Kivilinna	  Twofish cipher algorithm (x86_64, 3-way parallel).
15178280daadSJussi Kivilinna
15188280daadSJussi Kivilinna	  Twofish was submitted as an AES (Advanced Encryption Standard)
15198280daadSJussi Kivilinna	  candidate cipher by researchers at CounterPane Systems.  It is a
15208280daadSJussi Kivilinna	  16 round block cipher supporting key sizes of 128, 192, and 256
15218280daadSJussi Kivilinna	  bits.
15228280daadSJussi Kivilinna
15238280daadSJussi Kivilinna	  This module provides Twofish cipher algorithm that processes three
15248280daadSJussi Kivilinna	  blocks parallel, utilizing resources of out-of-order CPUs better.
15258280daadSJussi Kivilinna
15268280daadSJussi Kivilinna	  See also:
15278280daadSJussi Kivilinna	  <http://www.schneier.com/twofish.html>
15288280daadSJussi Kivilinna
1529107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64
1530107778b5SJohannes Goetzfried	tristate "Twofish cipher algorithm (x86_64/AVX)"
1531107778b5SJohannes Goetzfried	depends on X86 && 64BIT
1532107778b5SJohannes Goetzfried	select CRYPTO_ALGAPI
1533107778b5SJohannes Goetzfried	select CRYPTO_CRYPTD
1534801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1535a7378d4eSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1536107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_COMMON
1537107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64
1538107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64_3WAY
1539107778b5SJohannes Goetzfried	select CRYPTO_LRW
1540107778b5SJohannes Goetzfried	select CRYPTO_XTS
1541107778b5SJohannes Goetzfried	help
1542107778b5SJohannes Goetzfried	  Twofish cipher algorithm (x86_64/AVX).
1543107778b5SJohannes Goetzfried
1544107778b5SJohannes Goetzfried	  Twofish was submitted as an AES (Advanced Encryption Standard)
1545107778b5SJohannes Goetzfried	  candidate cipher by researchers at CounterPane Systems.  It is a
1546107778b5SJohannes Goetzfried	  16 round block cipher supporting key sizes of 128, 192, and 256
1547107778b5SJohannes Goetzfried	  bits.
1548107778b5SJohannes Goetzfried
1549107778b5SJohannes Goetzfried	  This module provides the Twofish cipher algorithm that processes
1550107778b5SJohannes Goetzfried	  eight blocks parallel using the AVX Instruction Set.
1551107778b5SJohannes Goetzfried
1552107778b5SJohannes Goetzfried	  See also:
1553107778b5SJohannes Goetzfried	  <http://www.schneier.com/twofish.html>
1554107778b5SJohannes Goetzfried
1555584fffc8SSebastian Siewiorcomment "Compression"
1556584fffc8SSebastian Siewior
15571da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
15581da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
1559cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
15601da177e4SLinus Torvalds	select ZLIB_INFLATE
15611da177e4SLinus Torvalds	select ZLIB_DEFLATE
15621da177e4SLinus Torvalds	help
15631da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
15641da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
15651da177e4SLinus Torvalds
15661da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
15671da177e4SLinus Torvalds
15680b77abb3SZoltan Sogorconfig CRYPTO_LZO
15690b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
15700b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
15710b77abb3SZoltan Sogor	select LZO_COMPRESS
15720b77abb3SZoltan Sogor	select LZO_DECOMPRESS
15730b77abb3SZoltan Sogor	help
15740b77abb3SZoltan Sogor	  This is the LZO algorithm.
15750b77abb3SZoltan Sogor
157635a1fc18SSeth Jenningsconfig CRYPTO_842
157735a1fc18SSeth Jennings	tristate "842 compression algorithm"
15782062c5b6SDan Streetman	select CRYPTO_ALGAPI
15792062c5b6SDan Streetman	select 842_COMPRESS
15802062c5b6SDan Streetman	select 842_DECOMPRESS
158135a1fc18SSeth Jennings	help
158235a1fc18SSeth Jennings	  This is the 842 algorithm.
158335a1fc18SSeth Jennings
15840ea8530dSChanho Minconfig CRYPTO_LZ4
15850ea8530dSChanho Min	tristate "LZ4 compression algorithm"
15860ea8530dSChanho Min	select CRYPTO_ALGAPI
15870ea8530dSChanho Min	select LZ4_COMPRESS
15880ea8530dSChanho Min	select LZ4_DECOMPRESS
15890ea8530dSChanho Min	help
15900ea8530dSChanho Min	  This is the LZ4 algorithm.
15910ea8530dSChanho Min
15920ea8530dSChanho Minconfig CRYPTO_LZ4HC
15930ea8530dSChanho Min	tristate "LZ4HC compression algorithm"
15940ea8530dSChanho Min	select CRYPTO_ALGAPI
15950ea8530dSChanho Min	select LZ4HC_COMPRESS
15960ea8530dSChanho Min	select LZ4_DECOMPRESS
15970ea8530dSChanho Min	help
15980ea8530dSChanho Min	  This is the LZ4 high compression mode algorithm.
15990ea8530dSChanho Min
160017f0f4a4SNeil Hormancomment "Random Number Generation"
160117f0f4a4SNeil Horman
160217f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
160317f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
160417f0f4a4SNeil Horman	select CRYPTO_AES
160517f0f4a4SNeil Horman	select CRYPTO_RNG
160617f0f4a4SNeil Horman	help
160717f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
160817f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
16097dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
16107dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
161117f0f4a4SNeil Horman
1612f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU
1613419090c6SStephan Mueller	tristate "NIST SP800-90A DRBG"
1614419090c6SStephan Mueller	help
1615419090c6SStephan Mueller	  NIST SP800-90A compliant DRBG. In the following submenu, one or
1616419090c6SStephan Mueller	  more of the DRBG types must be selected.
1617419090c6SStephan Mueller
1618f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU
1619419090c6SStephan Mueller
1620419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC
1621401e4238SHerbert Xu	bool
1622419090c6SStephan Mueller	default y
1623419090c6SStephan Mueller	select CRYPTO_HMAC
1624826775bbSHerbert Xu	select CRYPTO_SHA256
1625419090c6SStephan Mueller
1626419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH
1627419090c6SStephan Mueller	bool "Enable Hash DRBG"
1628826775bbSHerbert Xu	select CRYPTO_SHA256
1629419090c6SStephan Mueller	help
1630419090c6SStephan Mueller	  Enable the Hash DRBG variant as defined in NIST SP800-90A.
1631419090c6SStephan Mueller
1632419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR
1633419090c6SStephan Mueller	bool "Enable CTR DRBG"
1634419090c6SStephan Mueller	select CRYPTO_AES
163535591285SStephan Mueller	depends on CRYPTO_CTR
1636419090c6SStephan Mueller	help
1637419090c6SStephan Mueller	  Enable the CTR DRBG variant as defined in NIST SP800-90A.
1638419090c6SStephan Mueller
1639f2c89a10SHerbert Xuconfig CRYPTO_DRBG
1640f2c89a10SHerbert Xu	tristate
1641401e4238SHerbert Xu	default CRYPTO_DRBG_MENU
1642f2c89a10SHerbert Xu	select CRYPTO_RNG
1643bb5530e4SStephan Mueller	select CRYPTO_JITTERENTROPY
1644f2c89a10SHerbert Xu
1645f2c89a10SHerbert Xuendif	# if CRYPTO_DRBG_MENU
1646419090c6SStephan Mueller
1647bb5530e4SStephan Muellerconfig CRYPTO_JITTERENTROPY
1648bb5530e4SStephan Mueller	tristate "Jitterentropy Non-Deterministic Random Number Generator"
16492f313e02SArnd Bergmann	select CRYPTO_RNG
1650bb5530e4SStephan Mueller	help
1651bb5530e4SStephan Mueller	  The Jitterentropy RNG is a noise that is intended
1652bb5530e4SStephan Mueller	  to provide seed to another RNG. The RNG does not
1653bb5530e4SStephan Mueller	  perform any cryptographic whitening of the generated
1654bb5530e4SStephan Mueller	  random numbers. This Jitterentropy RNG registers with
1655bb5530e4SStephan Mueller	  the kernel crypto API and can be used by any caller.
1656bb5530e4SStephan Mueller
165703c8efc1SHerbert Xuconfig CRYPTO_USER_API
165803c8efc1SHerbert Xu	tristate
165903c8efc1SHerbert Xu
1660fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH
1661fe869cdbSHerbert Xu	tristate "User-space interface for hash algorithms"
16627451708fSHerbert Xu	depends on NET
1663fe869cdbSHerbert Xu	select CRYPTO_HASH
1664fe869cdbSHerbert Xu	select CRYPTO_USER_API
1665fe869cdbSHerbert Xu	help
1666fe869cdbSHerbert Xu	  This option enables the user-spaces interface for hash
1667fe869cdbSHerbert Xu	  algorithms.
1668fe869cdbSHerbert Xu
16698ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER
16708ff59090SHerbert Xu	tristate "User-space interface for symmetric key cipher algorithms"
16717451708fSHerbert Xu	depends on NET
16728ff59090SHerbert Xu	select CRYPTO_BLKCIPHER
16738ff59090SHerbert Xu	select CRYPTO_USER_API
16748ff59090SHerbert Xu	help
16758ff59090SHerbert Xu	  This option enables the user-spaces interface for symmetric
16768ff59090SHerbert Xu	  key cipher algorithms.
16778ff59090SHerbert Xu
16782f375538SStephan Muellerconfig CRYPTO_USER_API_RNG
16792f375538SStephan Mueller	tristate "User-space interface for random number generator algorithms"
16802f375538SStephan Mueller	depends on NET
16812f375538SStephan Mueller	select CRYPTO_RNG
16822f375538SStephan Mueller	select CRYPTO_USER_API
16832f375538SStephan Mueller	help
16842f375538SStephan Mueller	  This option enables the user-spaces interface for random
16852f375538SStephan Mueller	  number generator algorithms.
16862f375538SStephan Mueller
1687b64a2d95SHerbert Xuconfig CRYPTO_USER_API_AEAD
1688b64a2d95SHerbert Xu	tristate "User-space interface for AEAD cipher algorithms"
1689b64a2d95SHerbert Xu	depends on NET
1690b64a2d95SHerbert Xu	select CRYPTO_AEAD
1691b64a2d95SHerbert Xu	select CRYPTO_USER_API
1692b64a2d95SHerbert Xu	help
1693b64a2d95SHerbert Xu	  This option enables the user-spaces interface for AEAD
1694b64a2d95SHerbert Xu	  cipher algorithms.
1695b64a2d95SHerbert Xu
1696ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO
1697ee08997fSDmitry Kasatkin	bool
1698ee08997fSDmitry Kasatkin
16991da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
1700964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig
1701cfc411e7SDavid Howellssource certs/Kconfig
17021da177e4SLinus Torvalds
1703cce9e06dSHerbert Xuendif	# if CRYPTO
1704