xref: /linux/crypto/Kconfig (revision 7c1da8d0d046174a4188b5729d7579abf3d29427)
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"
26e84c5480SChuck Ebbert	depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
27ccb778e1SNeil Horman	help
28ccb778e1SNeil Horman	  This options enables the fips boot option which is
29ccb778e1SNeil Horman	  required if you want to system to operate in a FIPS 200
30ccb778e1SNeil Horman	  certification.  You should say no unless you know what
31e84c5480SChuck Ebbert	  this is.
32ccb778e1SNeil Horman
33cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI
34cce9e06dSHerbert Xu	tristate
356a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
36cce9e06dSHerbert Xu	help
37cce9e06dSHerbert Xu	  This option provides the API for cryptographic algorithms.
38cce9e06dSHerbert Xu
396a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2
406a0fcbb4SHerbert Xu	tristate
416a0fcbb4SHerbert Xu
421ae97820SHerbert Xuconfig CRYPTO_AEAD
431ae97820SHerbert Xu	tristate
446a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
451ae97820SHerbert Xu	select CRYPTO_ALGAPI
461ae97820SHerbert Xu
476a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2
486a0fcbb4SHerbert Xu	tristate
496a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
506a0fcbb4SHerbert Xu
515cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER
525cde0af2SHerbert Xu	tristate
536a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
545cde0af2SHerbert Xu	select CRYPTO_ALGAPI
556a0fcbb4SHerbert Xu
566a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2
576a0fcbb4SHerbert Xu	tristate
586a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
596a0fcbb4SHerbert Xu	select CRYPTO_RNG2
600a2e821dSHuang Ying	select CRYPTO_WORKQUEUE
615cde0af2SHerbert Xu
62055bcee3SHerbert Xuconfig CRYPTO_HASH
63055bcee3SHerbert Xu	tristate
646a0fcbb4SHerbert Xu	select CRYPTO_HASH2
65055bcee3SHerbert Xu	select CRYPTO_ALGAPI
66055bcee3SHerbert Xu
676a0fcbb4SHerbert Xuconfig CRYPTO_HASH2
686a0fcbb4SHerbert Xu	tristate
696a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
706a0fcbb4SHerbert Xu
7117f0f4a4SNeil Hormanconfig CRYPTO_RNG
7217f0f4a4SNeil Horman	tristate
736a0fcbb4SHerbert Xu	select CRYPTO_RNG2
7417f0f4a4SNeil Horman	select CRYPTO_ALGAPI
7517f0f4a4SNeil Horman
766a0fcbb4SHerbert Xuconfig CRYPTO_RNG2
776a0fcbb4SHerbert Xu	tristate
786a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
796a0fcbb4SHerbert Xu
80a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP
81a1d2f095SGeert Uytterhoeven	tristate
82bc94e596SHerbert Xu	select CRYPTO_PCOMP2
83bc94e596SHerbert Xu	select CRYPTO_ALGAPI
84bc94e596SHerbert Xu
85bc94e596SHerbert Xuconfig CRYPTO_PCOMP2
86bc94e596SHerbert Xu	tristate
87a1d2f095SGeert Uytterhoeven	select CRYPTO_ALGAPI2
88a1d2f095SGeert Uytterhoeven
892b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
902b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
916a0fcbb4SHerbert Xu	select CRYPTO_MANAGER2
922b8c19dbSHerbert Xu	help
932b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
942b8c19dbSHerbert Xu	  cbc(aes).
952b8c19dbSHerbert Xu
966a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2
976a0fcbb4SHerbert Xu	def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
986a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
996a0fcbb4SHerbert Xu	select CRYPTO_HASH2
1006a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
101bc94e596SHerbert Xu	select CRYPTO_PCOMP2
1026a0fcbb4SHerbert Xu
103a38f7907SSteffen Klassertconfig CRYPTO_USER
104a38f7907SSteffen Klassert	tristate "Userspace cryptographic algorithm configuration"
1055db017aaSHerbert Xu	depends on NET
106a38f7907SSteffen Klassert	select CRYPTO_MANAGER
107a38f7907SSteffen Klassert	help
108d19978f5SValdis.Kletnieks@vt.edu	  Userspace configuration for cryptographic instantiations such as
109a38f7907SSteffen Klassert	  cbc(aes).
110a38f7907SSteffen Klassert
111326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS
112326a6346SHerbert Xu	bool "Disable run-time self tests"
11300ca28a5SHerbert Xu	default y
11400ca28a5SHerbert Xu	depends on CRYPTO_MANAGER2
1150b767f96SAlexander Shishkin	help
116326a6346SHerbert Xu	  Disable run-time self tests that normally take place at
117326a6346SHerbert Xu	  algorithm registration.
1180b767f96SAlexander Shishkin
119584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
12008c70fc3SJussi Kivilinna	tristate "GF(2^128) multiplication functions"
121584fffc8SSebastian Siewior	help
122584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
123584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
124584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
125584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
126584fffc8SSebastian Siewior	  an external module that requires these functions.
127584fffc8SSebastian Siewior
128584fffc8SSebastian Siewiorconfig CRYPTO_NULL
129584fffc8SSebastian Siewior	tristate "Null algorithms"
130584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
131584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
132d35d2454SHerbert Xu	select CRYPTO_HASH
133584fffc8SSebastian Siewior	help
134584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
135584fffc8SSebastian Siewior
1365068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT
1373b4afaf2SKees Cook	tristate "Parallel crypto engine"
1383b4afaf2SKees Cook	depends on SMP
1395068c7a8SSteffen Klassert	select PADATA
1405068c7a8SSteffen Klassert	select CRYPTO_MANAGER
1415068c7a8SSteffen Klassert	select CRYPTO_AEAD
1425068c7a8SSteffen Klassert	help
1435068c7a8SSteffen Klassert	  This converts an arbitrary crypto algorithm into a parallel
1445068c7a8SSteffen Klassert	  algorithm that executes in kernel threads.
1455068c7a8SSteffen Klassert
14625c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE
14725c38d3fSHuang Ying       tristate
14825c38d3fSHuang Ying
149584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
150584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
151584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
152b8a28251SLoc Ho	select CRYPTO_HASH
153584fffc8SSebastian Siewior	select CRYPTO_MANAGER
154254eff77SHuang Ying	select CRYPTO_WORKQUEUE
155584fffc8SSebastian Siewior	help
156584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
157584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
158584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
159584fffc8SSebastian Siewior
160584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
161584fffc8SSebastian Siewior	tristate "Authenc support"
162584fffc8SSebastian Siewior	select CRYPTO_AEAD
163584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
164584fffc8SSebastian Siewior	select CRYPTO_MANAGER
165584fffc8SSebastian Siewior	select CRYPTO_HASH
166584fffc8SSebastian Siewior	help
167584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
168584fffc8SSebastian Siewior	  This is required for IPSec.
169584fffc8SSebastian Siewior
170584fffc8SSebastian Siewiorconfig CRYPTO_TEST
171584fffc8SSebastian Siewior	tristate "Testing module"
172584fffc8SSebastian Siewior	depends on m
173da7f033dSHerbert Xu	select CRYPTO_MANAGER
174584fffc8SSebastian Siewior	help
175584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
176584fffc8SSebastian Siewior
177a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER
178ffaf9156SJussi Kivilinna	tristate
179ffaf9156SJussi Kivilinna	select CRYPTO_CRYPTD
180ffaf9156SJussi Kivilinna
181596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86
182596d8750SJussi Kivilinna	tristate
183596d8750SJussi Kivilinna	depends on X86
184596d8750SJussi Kivilinna	select CRYPTO_ALGAPI
185596d8750SJussi Kivilinna
186584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
187584fffc8SSebastian Siewior
188584fffc8SSebastian Siewiorconfig CRYPTO_CCM
189584fffc8SSebastian Siewior	tristate "CCM support"
190584fffc8SSebastian Siewior	select CRYPTO_CTR
191584fffc8SSebastian Siewior	select CRYPTO_AEAD
192584fffc8SSebastian Siewior	help
193584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
194584fffc8SSebastian Siewior
195584fffc8SSebastian Siewiorconfig CRYPTO_GCM
196584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
197584fffc8SSebastian Siewior	select CRYPTO_CTR
198584fffc8SSebastian Siewior	select CRYPTO_AEAD
1999382d97aSHuang Ying	select CRYPTO_GHASH
2009489667dSJussi Kivilinna	select CRYPTO_NULL
201584fffc8SSebastian Siewior	help
202584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
203584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
204584fffc8SSebastian Siewior
205584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
206584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
207584fffc8SSebastian Siewior	select CRYPTO_AEAD
208584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
209a0f000ecSHerbert Xu	select CRYPTO_RNG
210584fffc8SSebastian Siewior	help
211584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
212584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
213584fffc8SSebastian Siewior
214584fffc8SSebastian Siewiorcomment "Block modes"
215584fffc8SSebastian Siewior
216584fffc8SSebastian Siewiorconfig CRYPTO_CBC
217584fffc8SSebastian Siewior	tristate "CBC support"
218584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
219584fffc8SSebastian Siewior	select CRYPTO_MANAGER
220584fffc8SSebastian Siewior	help
221584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
222584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
223584fffc8SSebastian Siewior
224584fffc8SSebastian Siewiorconfig CRYPTO_CTR
225584fffc8SSebastian Siewior	tristate "CTR support"
226584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
227584fffc8SSebastian Siewior	select CRYPTO_SEQIV
228584fffc8SSebastian Siewior	select CRYPTO_MANAGER
229584fffc8SSebastian Siewior	help
230584fffc8SSebastian Siewior	  CTR: Counter mode
231584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
232584fffc8SSebastian Siewior
233584fffc8SSebastian Siewiorconfig CRYPTO_CTS
234584fffc8SSebastian Siewior	tristate "CTS support"
235584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
236584fffc8SSebastian Siewior	help
237584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
238584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
239584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
240584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
241584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
242584fffc8SSebastian Siewior	  for AES encryption.
243584fffc8SSebastian Siewior
244584fffc8SSebastian Siewiorconfig CRYPTO_ECB
245584fffc8SSebastian Siewior	tristate "ECB support"
246584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
247584fffc8SSebastian Siewior	select CRYPTO_MANAGER
248584fffc8SSebastian Siewior	help
249584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
250584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
251584fffc8SSebastian Siewior	  the input block by block.
252584fffc8SSebastian Siewior
253584fffc8SSebastian Siewiorconfig CRYPTO_LRW
2542470a2b2SJussi Kivilinna	tristate "LRW support"
255584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
256584fffc8SSebastian Siewior	select CRYPTO_MANAGER
257584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
258584fffc8SSebastian Siewior	help
259584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
260584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
261584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
262584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
263584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
264584fffc8SSebastian Siewior
265584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
266584fffc8SSebastian Siewior	tristate "PCBC support"
267584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
268584fffc8SSebastian Siewior	select CRYPTO_MANAGER
269584fffc8SSebastian Siewior	help
270584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
271584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
272584fffc8SSebastian Siewior
273584fffc8SSebastian Siewiorconfig CRYPTO_XTS
2745bcf8e6dSJussi Kivilinna	tristate "XTS support"
275584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
276584fffc8SSebastian Siewior	select CRYPTO_MANAGER
277584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
278584fffc8SSebastian Siewior	help
279584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
280584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
281584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
282584fffc8SSebastian Siewior
283584fffc8SSebastian Siewiorcomment "Hash modes"
284584fffc8SSebastian Siewior
28593b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC
28693b5e86aSJussi Kivilinna	tristate "CMAC support"
28793b5e86aSJussi Kivilinna	select CRYPTO_HASH
28893b5e86aSJussi Kivilinna	select CRYPTO_MANAGER
28993b5e86aSJussi Kivilinna	help
29093b5e86aSJussi Kivilinna	  Cipher-based Message Authentication Code (CMAC) specified by
29193b5e86aSJussi Kivilinna	  The National Institute of Standards and Technology (NIST).
29293b5e86aSJussi Kivilinna
29393b5e86aSJussi Kivilinna	  https://tools.ietf.org/html/rfc4493
29493b5e86aSJussi Kivilinna	  http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf
29593b5e86aSJussi Kivilinna
2961da177e4SLinus Torvaldsconfig CRYPTO_HMAC
2978425165dSHerbert Xu	tristate "HMAC support"
2980796ae06SHerbert Xu	select CRYPTO_HASH
29943518407SHerbert Xu	select CRYPTO_MANAGER
3001da177e4SLinus Torvalds	help
3011da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
3021da177e4SLinus Torvalds	  This is required for IPSec.
3031da177e4SLinus Torvalds
304333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
305333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
306333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
307333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
308333b0d7eSKazunori MIYAZAWA	help
309333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
310333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
311333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
312333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
313333b0d7eSKazunori MIYAZAWA
314f1939f7cSShane Wangconfig CRYPTO_VMAC
315f1939f7cSShane Wang	tristate "VMAC support"
316f1939f7cSShane Wang	select CRYPTO_HASH
317f1939f7cSShane Wang	select CRYPTO_MANAGER
318f1939f7cSShane Wang	help
319f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
320f1939f7cSShane Wang	  very high speed on 64-bit architectures.
321f1939f7cSShane Wang
322f1939f7cSShane Wang	  See also:
323f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
324f1939f7cSShane Wang
325584fffc8SSebastian Siewiorcomment "Digest"
326584fffc8SSebastian Siewior
327584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
328584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
3295773a3e6SHerbert Xu	select CRYPTO_HASH
3306a0962b2SDarrick J. Wong	select CRC32
3311da177e4SLinus Torvalds	help
332584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
333584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
33469c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
3351da177e4SLinus Torvalds
3368cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
3378cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
3388cb51ba8SAustin Zhang	depends on X86
3398cb51ba8SAustin Zhang	select CRYPTO_HASH
3408cb51ba8SAustin Zhang	help
3418cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
3428cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
3438cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
3448cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
3458cb51ba8SAustin Zhang	  gain performance compared with software implementation.
3468cb51ba8SAustin Zhang	  Module will be crc32c-intel.
3478cb51ba8SAustin Zhang
348442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64
349442a7c40SDavid S. Miller	tristate "CRC32c CRC algorithm (SPARC64)"
350442a7c40SDavid S. Miller	depends on SPARC64
351442a7c40SDavid S. Miller	select CRYPTO_HASH
352442a7c40SDavid S. Miller	select CRC32
353442a7c40SDavid S. Miller	help
354442a7c40SDavid S. Miller	  CRC32c CRC algorithm implemented using sparc64 crypto instructions,
355442a7c40SDavid S. Miller	  when available.
356442a7c40SDavid S. Miller
35778c37d19SAlexander Boykoconfig CRYPTO_CRC32
35878c37d19SAlexander Boyko	tristate "CRC32 CRC algorithm"
35978c37d19SAlexander Boyko	select CRYPTO_HASH
36078c37d19SAlexander Boyko	select CRC32
36178c37d19SAlexander Boyko	help
36278c37d19SAlexander Boyko	  CRC-32-IEEE 802.3 cyclic redundancy-check algorithm.
36378c37d19SAlexander Boyko	  Shash crypto api wrappers to crc32_le function.
36478c37d19SAlexander Boyko
36578c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL
36678c37d19SAlexander Boyko	tristate "CRC32 PCLMULQDQ hardware acceleration"
36778c37d19SAlexander Boyko	depends on X86
36878c37d19SAlexander Boyko	select CRYPTO_HASH
36978c37d19SAlexander Boyko	select CRC32
37078c37d19SAlexander Boyko	help
37178c37d19SAlexander Boyko	  From Intel Westmere and AMD Bulldozer processor with SSE4.2
37278c37d19SAlexander Boyko	  and PCLMULQDQ supported, the processor will support
37378c37d19SAlexander Boyko	  CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ
37478c37d19SAlexander Boyko	  instruction. This option will create 'crc32-plcmul' module,
37578c37d19SAlexander Boyko	  which will enable any routine to use the CRC-32-IEEE 802.3 checksum
37678c37d19SAlexander Boyko	  and gain better performance as compared with the table implementation.
37778c37d19SAlexander Boyko
37868411521SHerbert Xuconfig CRYPTO_CRCT10DIF
37968411521SHerbert Xu	tristate "CRCT10DIF algorithm"
38068411521SHerbert Xu	select CRYPTO_HASH
38168411521SHerbert Xu	help
38268411521SHerbert Xu	  CRC T10 Data Integrity Field computation is being cast as
38368411521SHerbert Xu	  a crypto transform.  This allows for faster crc t10 diff
38468411521SHerbert Xu	  transforms to be used if they are available.
38568411521SHerbert Xu
38668411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL
38768411521SHerbert Xu	tristate "CRCT10DIF PCLMULQDQ hardware acceleration"
38868411521SHerbert Xu	depends on X86 && 64BIT && CRC_T10DIF
38968411521SHerbert Xu	select CRYPTO_HASH
39068411521SHerbert Xu	help
39168411521SHerbert Xu	  For x86_64 processors with SSE4.2 and PCLMULQDQ supported,
39268411521SHerbert Xu	  CRC T10 DIF PCLMULQDQ computation can be hardware
39368411521SHerbert Xu	  accelerated PCLMULQDQ instruction. This option will create
39468411521SHerbert Xu	  'crct10dif-plcmul' module, which is faster when computing the
39568411521SHerbert Xu	  crct10dif checksum as compared with the generic table implementation.
39668411521SHerbert Xu
3972cdc6899SHuang Yingconfig CRYPTO_GHASH
3982cdc6899SHuang Ying	tristate "GHASH digest algorithm"
3992cdc6899SHuang Ying	select CRYPTO_GF128MUL
4002cdc6899SHuang Ying	help
4012cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
4022cdc6899SHuang Ying
4031da177e4SLinus Torvaldsconfig CRYPTO_MD4
4041da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
405808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4061da177e4SLinus Torvalds	help
4071da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
4081da177e4SLinus Torvalds
4091da177e4SLinus Torvaldsconfig CRYPTO_MD5
4101da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
41114b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
4141da177e4SLinus Torvalds
415fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64
416fa4dfedcSDavid S. Miller	tristate "MD5 digest algorithm (SPARC64)"
417fa4dfedcSDavid S. Miller	depends on SPARC64
418fa4dfedcSDavid S. Miller	select CRYPTO_MD5
419fa4dfedcSDavid S. Miller	select CRYPTO_HASH
420fa4dfedcSDavid S. Miller	help
421fa4dfedcSDavid S. Miller	  MD5 message digest algorithm (RFC1321) implemented
422fa4dfedcSDavid S. Miller	  using sparc64 crypto instructions, when available.
423fa4dfedcSDavid S. Miller
424584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
425584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
42619e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
427584fffc8SSebastian Siewior	help
428584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
429584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
430584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
431584fffc8SSebastian Siewior	  of the algorithm.
432584fffc8SSebastian Siewior
43382798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
43482798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
4357c4468bcSHerbert Xu	select CRYPTO_HASH
43682798f90SAdrian-Ken Rueegsegger	help
43782798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
43882798f90SAdrian-Ken Rueegsegger
43982798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
44035ed4b35SMichael Witten	  be used as a secure replacement for RIPEMD. For other use cases,
44182798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
44282798f90SAdrian-Ken Rueegsegger
44382798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4446d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
44582798f90SAdrian-Ken Rueegsegger
44682798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
44782798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
448e5835fbaSHerbert Xu	select CRYPTO_HASH
44982798f90SAdrian-Ken Rueegsegger	help
45082798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
45182798f90SAdrian-Ken Rueegsegger
45282798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
45382798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
454b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
455b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
45682798f90SAdrian-Ken Rueegsegger
457b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
458b6d44341SAdrian Bunk	  against RIPEMD-160.
459534fe2c1SAdrian-Ken Rueegsegger
460534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4616d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
462534fe2c1SAdrian-Ken Rueegsegger
463534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
464534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
465d8a5e2e9SHerbert Xu	select CRYPTO_HASH
466534fe2c1SAdrian-Ken Rueegsegger	help
467b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
468b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
469b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
470b6d44341SAdrian Bunk	  (than RIPEMD-128).
471534fe2c1SAdrian-Ken Rueegsegger
472534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4736d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
474534fe2c1SAdrian-Ken Rueegsegger
475534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
476534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
4773b8efb4cSHerbert Xu	select CRYPTO_HASH
478534fe2c1SAdrian-Ken Rueegsegger	help
479b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
480b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
481b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
482b6d44341SAdrian Bunk	  (than RIPEMD-160).
483534fe2c1SAdrian-Ken Rueegsegger
48482798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4856d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
48682798f90SAdrian-Ken Rueegsegger
4871da177e4SLinus Torvaldsconfig CRYPTO_SHA1
4881da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
48954ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4901da177e4SLinus Torvalds	help
4911da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
4921da177e4SLinus Torvalds
49366be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3
494*7c1da8d0Schandramouli narayanan	tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)"
49566be8951SMathias Krause	depends on X86 && 64BIT
49666be8951SMathias Krause	select CRYPTO_SHA1
49766be8951SMathias Krause	select CRYPTO_HASH
49866be8951SMathias Krause	help
49966be8951SMathias Krause	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
50066be8951SMathias Krause	  using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
501*7c1da8d0Schandramouli narayanan	  Extensions (AVX/AVX2), when available.
50266be8951SMathias Krause
5038275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3
5048275d1aaSTim Chen	tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)"
5058275d1aaSTim Chen	depends on X86 && 64BIT
5068275d1aaSTim Chen	select CRYPTO_SHA256
5078275d1aaSTim Chen	select CRYPTO_HASH
5088275d1aaSTim Chen	help
5098275d1aaSTim Chen	  SHA-256 secure hash standard (DFIPS 180-2) implemented
5108275d1aaSTim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
5118275d1aaSTim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
5128275d1aaSTim Chen	  version 2 (AVX2) instructions, when available.
5138275d1aaSTim Chen
51487de4579STim Chenconfig CRYPTO_SHA512_SSSE3
51587de4579STim Chen	tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
51687de4579STim Chen	depends on X86 && 64BIT
51787de4579STim Chen	select CRYPTO_SHA512
51887de4579STim Chen	select CRYPTO_HASH
51987de4579STim Chen	help
52087de4579STim Chen	  SHA-512 secure hash standard (DFIPS 180-2) implemented
52187de4579STim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
52287de4579STim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
52387de4579STim Chen	  version 2 (AVX2) instructions, when available.
52487de4579STim Chen
5254ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64
5264ff28d4cSDavid S. Miller	tristate "SHA1 digest algorithm (SPARC64)"
5274ff28d4cSDavid S. Miller	depends on SPARC64
5284ff28d4cSDavid S. Miller	select CRYPTO_SHA1
5294ff28d4cSDavid S. Miller	select CRYPTO_HASH
5304ff28d4cSDavid S. Miller	help
5314ff28d4cSDavid S. Miller	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
5324ff28d4cSDavid S. Miller	  using sparc64 crypto instructions, when available.
5334ff28d4cSDavid S. Miller
534f0be44f4SDavid McCulloughconfig CRYPTO_SHA1_ARM
535f0be44f4SDavid McCullough	tristate "SHA1 digest algorithm (ARM-asm)"
536f0be44f4SDavid McCullough	depends on ARM
537f0be44f4SDavid McCullough	select CRYPTO_SHA1
538f0be44f4SDavid McCullough	select CRYPTO_HASH
539f0be44f4SDavid McCullough	help
540f0be44f4SDavid McCullough	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
541f0be44f4SDavid McCullough	  using optimized ARM assembler.
542f0be44f4SDavid McCullough
543323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC
544323a6bf1SMichael Ellerman	tristate "SHA1 digest algorithm (powerpc)"
545323a6bf1SMichael Ellerman	depends on PPC
546323a6bf1SMichael Ellerman	help
547323a6bf1SMichael Ellerman	  This is the powerpc hardware accelerated implementation of the
548323a6bf1SMichael Ellerman	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
549323a6bf1SMichael Ellerman
5501da177e4SLinus Torvaldsconfig CRYPTO_SHA256
551cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
55250e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
5531da177e4SLinus Torvalds	help
5541da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
5551da177e4SLinus Torvalds
5561da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
5571da177e4SLinus Torvalds	  security against collision attacks.
5581da177e4SLinus Torvalds
559cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
560cd12fb90SJonathan Lynch	  of security against collision attacks.
561cd12fb90SJonathan Lynch
56286c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64
56386c93b24SDavid S. Miller	tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
56486c93b24SDavid S. Miller	depends on SPARC64
56586c93b24SDavid S. Miller	select CRYPTO_SHA256
56686c93b24SDavid S. Miller	select CRYPTO_HASH
56786c93b24SDavid S. Miller	help
56886c93b24SDavid S. Miller	  SHA-256 secure hash standard (DFIPS 180-2) implemented
56986c93b24SDavid S. Miller	  using sparc64 crypto instructions, when available.
57086c93b24SDavid S. Miller
5711da177e4SLinus Torvaldsconfig CRYPTO_SHA512
5721da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
573bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
5741da177e4SLinus Torvalds	help
5751da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
5761da177e4SLinus Torvalds
5771da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
5781da177e4SLinus Torvalds	  security against collision attacks.
5791da177e4SLinus Torvalds
5801da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
5811da177e4SLinus Torvalds	  of security against collision attacks.
5821da177e4SLinus Torvalds
583775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64
584775e0c69SDavid S. Miller	tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
585775e0c69SDavid S. Miller	depends on SPARC64
586775e0c69SDavid S. Miller	select CRYPTO_SHA512
587775e0c69SDavid S. Miller	select CRYPTO_HASH
588775e0c69SDavid S. Miller	help
589775e0c69SDavid S. Miller	  SHA-512 secure hash standard (DFIPS 180-2) implemented
590775e0c69SDavid S. Miller	  using sparc64 crypto instructions, when available.
591775e0c69SDavid S. Miller
5921da177e4SLinus Torvaldsconfig CRYPTO_TGR192
5931da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
594f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
5951da177e4SLinus Torvalds	help
5961da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
5971da177e4SLinus Torvalds
5981da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
5991da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
6001da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
6011da177e4SLinus Torvalds
6021da177e4SLinus Torvalds	  See also:
6031da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
6041da177e4SLinus Torvalds
605584fffc8SSebastian Siewiorconfig CRYPTO_WP512
606584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
6074946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
6081da177e4SLinus Torvalds	help
609584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
6101da177e4SLinus Torvalds
611584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
612584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
6131da177e4SLinus Torvalds
6141da177e4SLinus Torvalds	  See also:
6156d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
6161da177e4SLinus Torvalds
6170e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
6180e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
6198af00860SRichard Weinberger	depends on X86 && 64BIT
6200e1227d3SHuang Ying	select CRYPTO_CRYPTD
6210e1227d3SHuang Ying	help
6220e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
6230e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
6240e1227d3SHuang Ying
625584fffc8SSebastian Siewiorcomment "Ciphers"
6261da177e4SLinus Torvalds
6271da177e4SLinus Torvaldsconfig CRYPTO_AES
6281da177e4SLinus Torvalds	tristate "AES cipher algorithms"
629cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
6301da177e4SLinus Torvalds	help
6311da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
6321da177e4SLinus Torvalds	  algorithm.
6331da177e4SLinus Torvalds
6341da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
6351da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
6361da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
6371da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
6381da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
6391da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
6401da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
6411da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
6421da177e4SLinus Torvalds
6431da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
6441da177e4SLinus Torvalds
6451da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
6461da177e4SLinus Torvalds
6471da177e4SLinus Torvaldsconfig CRYPTO_AES_586
6481da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
649cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
650cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
6515157dea8SSebastian Siewior	select CRYPTO_AES
6521da177e4SLinus Torvalds	help
6531da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
6541da177e4SLinus Torvalds	  algorithm.
6551da177e4SLinus Torvalds
6561da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
6571da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
6581da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
6591da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
6601da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
6611da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
6621da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
6631da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
6641da177e4SLinus Torvalds
6651da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
6661da177e4SLinus Torvalds
6671da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
6681da177e4SLinus Torvalds
669a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
670a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
671cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
672cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
67381190b32SSebastian Siewior	select CRYPTO_AES
674a2a892a2SAndreas Steinmetz	help
675a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
676a2a892a2SAndreas Steinmetz	  algorithm.
677a2a892a2SAndreas Steinmetz
678a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
679a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
680a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
681a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
682a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
683a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
684a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
685a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
686a2a892a2SAndreas Steinmetz
687a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
688a2a892a2SAndreas Steinmetz
689a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
690a2a892a2SAndreas Steinmetz
69154b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
69254b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
6938af00860SRichard Weinberger	depends on X86
6940d258efbSMathias Krause	select CRYPTO_AES_X86_64 if 64BIT
6950d258efbSMathias Krause	select CRYPTO_AES_586 if !64BIT
69654b6a1bdSHuang Ying	select CRYPTO_CRYPTD
697801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
69854b6a1bdSHuang Ying	select CRYPTO_ALGAPI
6997643a11aSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86 if 64BIT
700023af608SJussi Kivilinna	select CRYPTO_LRW
701023af608SJussi Kivilinna	select CRYPTO_XTS
70254b6a1bdSHuang Ying	help
70354b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
70454b6a1bdSHuang Ying
70554b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
70654b6a1bdSHuang Ying	  algorithm.
70754b6a1bdSHuang Ying
70854b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
70954b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
71054b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
71154b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
71254b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
71354b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
71454b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
71554b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
71654b6a1bdSHuang Ying
71754b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
71854b6a1bdSHuang Ying
71954b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
72054b6a1bdSHuang Ying
7210d258efbSMathias Krause	  In addition to AES cipher algorithm support, the acceleration
7220d258efbSMathias Krause	  for some popular block cipher mode is supported too, including
7230d258efbSMathias Krause	  ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
7240d258efbSMathias Krause	  acceleration for CTR.
7252cf4ac8bSHuang Ying
7269bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64
7279bf4852dSDavid S. Miller	tristate "AES cipher algorithms (SPARC64)"
7289bf4852dSDavid S. Miller	depends on SPARC64
7299bf4852dSDavid S. Miller	select CRYPTO_CRYPTD
7309bf4852dSDavid S. Miller	select CRYPTO_ALGAPI
7319bf4852dSDavid S. Miller	help
7329bf4852dSDavid S. Miller	  Use SPARC64 crypto opcodes for AES algorithm.
7339bf4852dSDavid S. Miller
7349bf4852dSDavid S. Miller	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
7359bf4852dSDavid S. Miller	  algorithm.
7369bf4852dSDavid S. Miller
7379bf4852dSDavid S. Miller	  Rijndael appears to be consistently a very good performer in
7389bf4852dSDavid S. Miller	  both hardware and software across a wide range of computing
7399bf4852dSDavid S. Miller	  environments regardless of its use in feedback or non-feedback
7409bf4852dSDavid S. Miller	  modes. Its key setup time is excellent, and its key agility is
7419bf4852dSDavid S. Miller	  good. Rijndael's very low memory requirements make it very well
7429bf4852dSDavid S. Miller	  suited for restricted-space environments, in which it also
7439bf4852dSDavid S. Miller	  demonstrates excellent performance. Rijndael's operations are
7449bf4852dSDavid S. Miller	  among the easiest to defend against power and timing attacks.
7459bf4852dSDavid S. Miller
7469bf4852dSDavid S. Miller	  The AES specifies three key sizes: 128, 192 and 256 bits
7479bf4852dSDavid S. Miller
7489bf4852dSDavid S. Miller	  See <http://csrc.nist.gov/encryption/aes/> for more information.
7499bf4852dSDavid S. Miller
7509bf4852dSDavid S. Miller	  In addition to AES cipher algorithm support, the acceleration
7519bf4852dSDavid S. Miller	  for some popular block cipher mode is supported too, including
7529bf4852dSDavid S. Miller	  ECB and CBC.
7539bf4852dSDavid S. Miller
754f0be44f4SDavid McCulloughconfig CRYPTO_AES_ARM
755f0be44f4SDavid McCullough	tristate "AES cipher algorithms (ARM-asm)"
756f0be44f4SDavid McCullough	depends on ARM
757f0be44f4SDavid McCullough	select CRYPTO_ALGAPI
758f0be44f4SDavid McCullough	select CRYPTO_AES
759f0be44f4SDavid McCullough	help
760f0be44f4SDavid McCullough	  Use optimized AES assembler routines for ARM platforms.
761f0be44f4SDavid McCullough
762f0be44f4SDavid McCullough	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
763f0be44f4SDavid McCullough	  algorithm.
764f0be44f4SDavid McCullough
765f0be44f4SDavid McCullough	  Rijndael appears to be consistently a very good performer in
766f0be44f4SDavid McCullough	  both hardware and software across a wide range of computing
767f0be44f4SDavid McCullough	  environments regardless of its use in feedback or non-feedback
768f0be44f4SDavid McCullough	  modes. Its key setup time is excellent, and its key agility is
769f0be44f4SDavid McCullough	  good. Rijndael's very low memory requirements make it very well
770f0be44f4SDavid McCullough	  suited for restricted-space environments, in which it also
771f0be44f4SDavid McCullough	  demonstrates excellent performance. Rijndael's operations are
772f0be44f4SDavid McCullough	  among the easiest to defend against power and timing attacks.
773f0be44f4SDavid McCullough
774f0be44f4SDavid McCullough	  The AES specifies three key sizes: 128, 192 and 256 bits
775f0be44f4SDavid McCullough
776f0be44f4SDavid McCullough	  See <http://csrc.nist.gov/encryption/aes/> for more information.
777f0be44f4SDavid McCullough
778e4e7f10bSArd Biesheuvelconfig CRYPTO_AES_ARM_BS
779e4e7f10bSArd Biesheuvel	tristate "Bit sliced AES using NEON instructions"
780e4e7f10bSArd Biesheuvel	depends on ARM && KERNEL_MODE_NEON
781e4e7f10bSArd Biesheuvel	select CRYPTO_ALGAPI
782e4e7f10bSArd Biesheuvel	select CRYPTO_AES_ARM
783e4e7f10bSArd Biesheuvel	select CRYPTO_ABLK_HELPER
784e4e7f10bSArd Biesheuvel	help
785e4e7f10bSArd Biesheuvel	  Use a faster and more secure NEON based implementation of AES in CBC,
786e4e7f10bSArd Biesheuvel	  CTR and XTS modes
787e4e7f10bSArd Biesheuvel
788e4e7f10bSArd Biesheuvel	  Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode
789e4e7f10bSArd Biesheuvel	  and for XTS mode encryption, CBC and XTS mode decryption speedup is
790e4e7f10bSArd Biesheuvel	  around 25%. (CBC encryption speed is not affected by this driver.)
791e4e7f10bSArd Biesheuvel	  This implementation does not rely on any lookup tables so it is
792e4e7f10bSArd Biesheuvel	  believed to be invulnerable to cache timing attacks.
793e4e7f10bSArd Biesheuvel
7941da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
7951da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
796cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7971da177e4SLinus Torvalds	help
7981da177e4SLinus Torvalds	  Anubis cipher algorithm.
7991da177e4SLinus Torvalds
8001da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
8011da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
8021da177e4SLinus Torvalds	  in the NESSIE competition.
8031da177e4SLinus Torvalds
8041da177e4SLinus Torvalds	  See also:
8056d8de74cSJustin P. Mattock	  <https://www.cosic.esat.kuleuven.be/nessie/reports/>
8066d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
8071da177e4SLinus Torvalds
808584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
809584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
810b9b0f080SSebastian Andrzej Siewior	select CRYPTO_BLKCIPHER
811e2ee95b8SHye-Shik Chang	help
812584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
813e2ee95b8SHye-Shik Chang
814584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
815584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
816584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
817584fffc8SSebastian Siewior	  weakness of the algorithm.
818584fffc8SSebastian Siewior
819584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
820584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
821584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
82252ba867cSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
823584fffc8SSebastian Siewior	help
824584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
825584fffc8SSebastian Siewior
826584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
827584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
828584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
829e2ee95b8SHye-Shik Chang
830e2ee95b8SHye-Shik Chang	  See also:
831584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
832584fffc8SSebastian Siewior
83352ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON
83452ba867cSJussi Kivilinna	tristate
83552ba867cSJussi Kivilinna	help
83652ba867cSJussi Kivilinna	  Common parts of the Blowfish cipher algorithm shared by the
83752ba867cSJussi Kivilinna	  generic c and the assembler implementations.
83852ba867cSJussi Kivilinna
83952ba867cSJussi Kivilinna	  See also:
84052ba867cSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
84152ba867cSJussi Kivilinna
84264b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64
84364b94ceaSJussi Kivilinna	tristate "Blowfish cipher algorithm (x86_64)"
844f21a7c19SAl Viro	depends on X86 && 64BIT
84564b94ceaSJussi Kivilinna	select CRYPTO_ALGAPI
84664b94ceaSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
84764b94ceaSJussi Kivilinna	help
84864b94ceaSJussi Kivilinna	  Blowfish cipher algorithm (x86_64), by Bruce Schneier.
84964b94ceaSJussi Kivilinna
85064b94ceaSJussi Kivilinna	  This is a variable key length cipher which can use keys from 32
85164b94ceaSJussi Kivilinna	  bits to 448 bits in length.  It's fast, simple and specifically
85264b94ceaSJussi Kivilinna	  designed for use on "large microprocessors".
85364b94ceaSJussi Kivilinna
85464b94ceaSJussi Kivilinna	  See also:
85564b94ceaSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
85664b94ceaSJussi Kivilinna
857584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
858584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
859584fffc8SSebastian Siewior	depends on CRYPTO
860584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
861584fffc8SSebastian Siewior	help
862584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
863584fffc8SSebastian Siewior
864584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
865584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
866584fffc8SSebastian Siewior
867584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
868584fffc8SSebastian Siewior
869584fffc8SSebastian Siewior	  See also:
870584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
871584fffc8SSebastian Siewior
8720b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64
8730b95ec56SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64)"
874f21a7c19SAl Viro	depends on X86 && 64BIT
8750b95ec56SJussi Kivilinna	depends on CRYPTO
8760b95ec56SJussi Kivilinna	select CRYPTO_ALGAPI
877964263afSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
8780b95ec56SJussi Kivilinna	select CRYPTO_LRW
8790b95ec56SJussi Kivilinna	select CRYPTO_XTS
8800b95ec56SJussi Kivilinna	help
8810b95ec56SJussi Kivilinna	  Camellia cipher algorithm module (x86_64).
8820b95ec56SJussi Kivilinna
8830b95ec56SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
8840b95ec56SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
8850b95ec56SJussi Kivilinna
8860b95ec56SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
8870b95ec56SJussi Kivilinna
8880b95ec56SJussi Kivilinna	  See also:
8890b95ec56SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
8900b95ec56SJussi Kivilinna
891d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64
892d9b1d2e7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
893d9b1d2e7SJussi Kivilinna	depends on X86 && 64BIT
894d9b1d2e7SJussi Kivilinna	depends on CRYPTO
895d9b1d2e7SJussi Kivilinna	select CRYPTO_ALGAPI
896d9b1d2e7SJussi Kivilinna	select CRYPTO_CRYPTD
897801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
898d9b1d2e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
899d9b1d2e7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
900d9b1d2e7SJussi Kivilinna	select CRYPTO_LRW
901d9b1d2e7SJussi Kivilinna	select CRYPTO_XTS
902d9b1d2e7SJussi Kivilinna	help
903d9b1d2e7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX).
904d9b1d2e7SJussi Kivilinna
905d9b1d2e7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
906d9b1d2e7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
907d9b1d2e7SJussi Kivilinna
908d9b1d2e7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
909d9b1d2e7SJussi Kivilinna
910d9b1d2e7SJussi Kivilinna	  See also:
911d9b1d2e7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
912d9b1d2e7SJussi Kivilinna
913f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64
914f3f935a7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)"
915f3f935a7SJussi Kivilinna	depends on X86 && 64BIT
916f3f935a7SJussi Kivilinna	depends on CRYPTO
917f3f935a7SJussi Kivilinna	select CRYPTO_ALGAPI
918f3f935a7SJussi Kivilinna	select CRYPTO_CRYPTD
919801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
920f3f935a7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
921f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
922f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_AESNI_AVX_X86_64
923f3f935a7SJussi Kivilinna	select CRYPTO_LRW
924f3f935a7SJussi Kivilinna	select CRYPTO_XTS
925f3f935a7SJussi Kivilinna	help
926f3f935a7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX2).
927f3f935a7SJussi Kivilinna
928f3f935a7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
929f3f935a7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
930f3f935a7SJussi Kivilinna
931f3f935a7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
932f3f935a7SJussi Kivilinna
933f3f935a7SJussi Kivilinna	  See also:
934f3f935a7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
935f3f935a7SJussi Kivilinna
93681658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64
93781658ad0SDavid S. Miller	tristate "Camellia cipher algorithm (SPARC64)"
93881658ad0SDavid S. Miller	depends on SPARC64
93981658ad0SDavid S. Miller	depends on CRYPTO
94081658ad0SDavid S. Miller	select CRYPTO_ALGAPI
94181658ad0SDavid S. Miller	help
94281658ad0SDavid S. Miller	  Camellia cipher algorithm module (SPARC64).
94381658ad0SDavid S. Miller
94481658ad0SDavid S. Miller	  Camellia is a symmetric key block cipher developed jointly
94581658ad0SDavid S. Miller	  at NTT and Mitsubishi Electric Corporation.
94681658ad0SDavid S. Miller
94781658ad0SDavid S. Miller	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
94881658ad0SDavid S. Miller
94981658ad0SDavid S. Miller	  See also:
95081658ad0SDavid S. Miller	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
95181658ad0SDavid S. Miller
952044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON
953044ab525SJussi Kivilinna	tristate
954044ab525SJussi Kivilinna	help
955044ab525SJussi Kivilinna	  Common parts of the CAST cipher algorithms shared by the
956044ab525SJussi Kivilinna	  generic c and the assembler implementations.
957044ab525SJussi Kivilinna
958584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
959584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
960584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
961044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
962584fffc8SSebastian Siewior	help
963584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
964584fffc8SSebastian Siewior	  described in RFC2144.
965584fffc8SSebastian Siewior
9664d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64
9674d6d6a2cSJohannes Goetzfried	tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
9684d6d6a2cSJohannes Goetzfried	depends on X86 && 64BIT
9694d6d6a2cSJohannes Goetzfried	select CRYPTO_ALGAPI
9704d6d6a2cSJohannes Goetzfried	select CRYPTO_CRYPTD
971801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
972044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
9734d6d6a2cSJohannes Goetzfried	select CRYPTO_CAST5
9744d6d6a2cSJohannes Goetzfried	help
9754d6d6a2cSJohannes Goetzfried	  The CAST5 encryption algorithm (synonymous with CAST-128) is
9764d6d6a2cSJohannes Goetzfried	  described in RFC2144.
9774d6d6a2cSJohannes Goetzfried
9784d6d6a2cSJohannes Goetzfried	  This module provides the Cast5 cipher algorithm that processes
9794d6d6a2cSJohannes Goetzfried	  sixteen blocks parallel using the AVX instruction set.
9804d6d6a2cSJohannes Goetzfried
981584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
982584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
983584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
984044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
985584fffc8SSebastian Siewior	help
986584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
987584fffc8SSebastian Siewior	  described in RFC2612.
988584fffc8SSebastian Siewior
9894ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64
9904ea1277dSJohannes Goetzfried	tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
9914ea1277dSJohannes Goetzfried	depends on X86 && 64BIT
9924ea1277dSJohannes Goetzfried	select CRYPTO_ALGAPI
9934ea1277dSJohannes Goetzfried	select CRYPTO_CRYPTD
994801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
9954ea1277dSJohannes Goetzfried	select CRYPTO_GLUE_HELPER_X86
996044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
9974ea1277dSJohannes Goetzfried	select CRYPTO_CAST6
9984ea1277dSJohannes Goetzfried	select CRYPTO_LRW
9994ea1277dSJohannes Goetzfried	select CRYPTO_XTS
10004ea1277dSJohannes Goetzfried	help
10014ea1277dSJohannes Goetzfried	  The CAST6 encryption algorithm (synonymous with CAST-256) is
10024ea1277dSJohannes Goetzfried	  described in RFC2612.
10034ea1277dSJohannes Goetzfried
10044ea1277dSJohannes Goetzfried	  This module provides the Cast6 cipher algorithm that processes
10054ea1277dSJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
10064ea1277dSJohannes Goetzfried
1007584fffc8SSebastian Siewiorconfig CRYPTO_DES
1008584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
1009584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1010584fffc8SSebastian Siewior	help
1011584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1012584fffc8SSebastian Siewior
1013c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64
1014c5aac2dfSDavid S. Miller	tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
101597da37b3SDave Jones	depends on SPARC64
1016c5aac2dfSDavid S. Miller	select CRYPTO_ALGAPI
1017c5aac2dfSDavid S. Miller	select CRYPTO_DES
1018c5aac2dfSDavid S. Miller	help
1019c5aac2dfSDavid S. Miller	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
1020c5aac2dfSDavid S. Miller	  optimized using SPARC64 crypto opcodes.
1021c5aac2dfSDavid S. Miller
1022584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
1023584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
1024584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1025584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
1026584fffc8SSebastian Siewior	help
1027584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
1028584fffc8SSebastian Siewior
1029584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
1030584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
1031584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1032584fffc8SSebastian Siewior	help
1033584fffc8SSebastian Siewior	  Khazad cipher algorithm.
1034584fffc8SSebastian Siewior
1035584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
1036584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
1037584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
1038584fffc8SSebastian Siewior
1039584fffc8SSebastian Siewior	  See also:
10406d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
1041e2ee95b8SHye-Shik Chang
10422407d608STan Swee Hengconfig CRYPTO_SALSA20
10433b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm"
10442407d608STan Swee Heng	select CRYPTO_BLKCIPHER
10452407d608STan Swee Heng	help
10462407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
10472407d608STan Swee Heng
10482407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
10492407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
10502407d608STan Swee Heng
10512407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
10522407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
10531da177e4SLinus Torvalds
1054974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
10553b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (i586)"
1056974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
1057974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
1058974e4b75STan Swee Heng	help
1059974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
1060974e4b75STan Swee Heng
1061974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
1062974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
1063974e4b75STan Swee Heng
1064974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
1065974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
1066974e4b75STan Swee Heng
10679a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
10683b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (x86_64)"
10699a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
10709a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
10719a7dafbbSTan Swee Heng	help
10729a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
10739a7dafbbSTan Swee Heng
10749a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
10759a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
10769a7dafbbSTan Swee Heng
10779a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
10789a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
10799a7dafbbSTan Swee Heng
1080584fffc8SSebastian Siewiorconfig CRYPTO_SEED
1081584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
1082584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1083584fffc8SSebastian Siewior	help
1084584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
1085584fffc8SSebastian Siewior
1086584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
1087584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
1088584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
1089584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
1090584fffc8SSebastian Siewior
1091584fffc8SSebastian Siewior	  See also:
1092584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
1093584fffc8SSebastian Siewior
1094584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
1095584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
1096584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1097584fffc8SSebastian Siewior	help
1098584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1099584fffc8SSebastian Siewior
1100584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
1101584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
1102584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
1103584fffc8SSebastian Siewior
1104584fffc8SSebastian Siewior	  See also:
1105584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1106584fffc8SSebastian Siewior
1107937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64
1108937c30d7SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/SSE2)"
1109937c30d7SJussi Kivilinna	depends on X86 && 64BIT
1110937c30d7SJussi Kivilinna	select CRYPTO_ALGAPI
1111341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1112801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1113596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1114937c30d7SJussi Kivilinna	select CRYPTO_SERPENT
1115feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1116feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1117937c30d7SJussi Kivilinna	help
1118937c30d7SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1119937c30d7SJussi Kivilinna
1120937c30d7SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1121937c30d7SJussi Kivilinna	  of 8 bits.
1122937c30d7SJussi Kivilinna
1123937c30d7SJussi Kivilinna	  This module provides Serpent cipher algorithm that processes eigth
1124937c30d7SJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1125937c30d7SJussi Kivilinna
1126937c30d7SJussi Kivilinna	  See also:
1127937c30d7SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1128937c30d7SJussi Kivilinna
1129251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586
1130251496dbSJussi Kivilinna	tristate "Serpent cipher algorithm (i586/SSE2)"
1131251496dbSJussi Kivilinna	depends on X86 && !64BIT
1132251496dbSJussi Kivilinna	select CRYPTO_ALGAPI
1133341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1134801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1135596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1136251496dbSJussi Kivilinna	select CRYPTO_SERPENT
1137feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1138feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1139251496dbSJussi Kivilinna	help
1140251496dbSJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1141251496dbSJussi Kivilinna
1142251496dbSJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1143251496dbSJussi Kivilinna	  of 8 bits.
1144251496dbSJussi Kivilinna
1145251496dbSJussi Kivilinna	  This module provides Serpent cipher algorithm that processes four
1146251496dbSJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1147251496dbSJussi Kivilinna
1148251496dbSJussi Kivilinna	  See also:
1149251496dbSJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1150251496dbSJussi Kivilinna
11517efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64
11527efe4076SJohannes Goetzfried	tristate "Serpent cipher algorithm (x86_64/AVX)"
11537efe4076SJohannes Goetzfried	depends on X86 && 64BIT
11547efe4076SJohannes Goetzfried	select CRYPTO_ALGAPI
11557efe4076SJohannes Goetzfried	select CRYPTO_CRYPTD
1156801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
11571d0debbdSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
11587efe4076SJohannes Goetzfried	select CRYPTO_SERPENT
11597efe4076SJohannes Goetzfried	select CRYPTO_LRW
11607efe4076SJohannes Goetzfried	select CRYPTO_XTS
11617efe4076SJohannes Goetzfried	help
11627efe4076SJohannes Goetzfried	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
11637efe4076SJohannes Goetzfried
11647efe4076SJohannes Goetzfried	  Keys are allowed to be from 0 to 256 bits in length, in steps
11657efe4076SJohannes Goetzfried	  of 8 bits.
11667efe4076SJohannes Goetzfried
11677efe4076SJohannes Goetzfried	  This module provides the Serpent cipher algorithm that processes
11687efe4076SJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
11697efe4076SJohannes Goetzfried
11707efe4076SJohannes Goetzfried	  See also:
11717efe4076SJohannes Goetzfried	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
11727efe4076SJohannes Goetzfried
117356d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64
117456d76c96SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/AVX2)"
117556d76c96SJussi Kivilinna	depends on X86 && 64BIT
117656d76c96SJussi Kivilinna	select CRYPTO_ALGAPI
117756d76c96SJussi Kivilinna	select CRYPTO_CRYPTD
1178801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
117956d76c96SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
118056d76c96SJussi Kivilinna	select CRYPTO_SERPENT
118156d76c96SJussi Kivilinna	select CRYPTO_SERPENT_AVX_X86_64
118256d76c96SJussi Kivilinna	select CRYPTO_LRW
118356d76c96SJussi Kivilinna	select CRYPTO_XTS
118456d76c96SJussi Kivilinna	help
118556d76c96SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
118656d76c96SJussi Kivilinna
118756d76c96SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
118856d76c96SJussi Kivilinna	  of 8 bits.
118956d76c96SJussi Kivilinna
119056d76c96SJussi Kivilinna	  This module provides Serpent cipher algorithm that processes 16
119156d76c96SJussi Kivilinna	  blocks parallel using AVX2 instruction set.
119256d76c96SJussi Kivilinna
119356d76c96SJussi Kivilinna	  See also:
119456d76c96SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
119556d76c96SJussi Kivilinna
1196584fffc8SSebastian Siewiorconfig CRYPTO_TEA
1197584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
1198584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1199584fffc8SSebastian Siewior	help
1200584fffc8SSebastian Siewior	  TEA cipher algorithm.
1201584fffc8SSebastian Siewior
1202584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
1203584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
1204584fffc8SSebastian Siewior	  little memory.
1205584fffc8SSebastian Siewior
1206584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
1207584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
1208584fffc8SSebastian Siewior	  in the TEA algorithm.
1209584fffc8SSebastian Siewior
1210584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
1211584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
1212584fffc8SSebastian Siewior
1213584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
1214584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
1215584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1216584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1217584fffc8SSebastian Siewior	help
1218584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1219584fffc8SSebastian Siewior
1220584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1221584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1222584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1223584fffc8SSebastian Siewior	  bits.
1224584fffc8SSebastian Siewior
1225584fffc8SSebastian Siewior	  See also:
1226584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1227584fffc8SSebastian Siewior
1228584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
1229584fffc8SSebastian Siewior	tristate
1230584fffc8SSebastian Siewior	help
1231584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
1232584fffc8SSebastian Siewior	  generic c and the assembler implementations.
1233584fffc8SSebastian Siewior
1234584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
1235584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
1236584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
1237584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1238584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1239584fffc8SSebastian Siewior	help
1240584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1241584fffc8SSebastian Siewior
1242584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1243584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1244584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1245584fffc8SSebastian Siewior	  bits.
1246584fffc8SSebastian Siewior
1247584fffc8SSebastian Siewior	  See also:
1248584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1249584fffc8SSebastian Siewior
1250584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
1251584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
1252584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
1253584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1254584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1255584fffc8SSebastian Siewior	help
1256584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
1257584fffc8SSebastian Siewior
1258584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1259584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1260584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1261584fffc8SSebastian Siewior	  bits.
1262584fffc8SSebastian Siewior
1263584fffc8SSebastian Siewior	  See also:
1264584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1265584fffc8SSebastian Siewior
12668280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY
12678280daadSJussi Kivilinna	tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
1268f21a7c19SAl Viro	depends on X86 && 64BIT
12698280daadSJussi Kivilinna	select CRYPTO_ALGAPI
12708280daadSJussi Kivilinna	select CRYPTO_TWOFISH_COMMON
12718280daadSJussi Kivilinna	select CRYPTO_TWOFISH_X86_64
1272414cb5e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1273e7cda5d2SJussi Kivilinna	select CRYPTO_LRW
1274e7cda5d2SJussi Kivilinna	select CRYPTO_XTS
12758280daadSJussi Kivilinna	help
12768280daadSJussi Kivilinna	  Twofish cipher algorithm (x86_64, 3-way parallel).
12778280daadSJussi Kivilinna
12788280daadSJussi Kivilinna	  Twofish was submitted as an AES (Advanced Encryption Standard)
12798280daadSJussi Kivilinna	  candidate cipher by researchers at CounterPane Systems.  It is a
12808280daadSJussi Kivilinna	  16 round block cipher supporting key sizes of 128, 192, and 256
12818280daadSJussi Kivilinna	  bits.
12828280daadSJussi Kivilinna
12838280daadSJussi Kivilinna	  This module provides Twofish cipher algorithm that processes three
12848280daadSJussi Kivilinna	  blocks parallel, utilizing resources of out-of-order CPUs better.
12858280daadSJussi Kivilinna
12868280daadSJussi Kivilinna	  See also:
12878280daadSJussi Kivilinna	  <http://www.schneier.com/twofish.html>
12888280daadSJussi Kivilinna
1289107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64
1290107778b5SJohannes Goetzfried	tristate "Twofish cipher algorithm (x86_64/AVX)"
1291107778b5SJohannes Goetzfried	depends on X86 && 64BIT
1292107778b5SJohannes Goetzfried	select CRYPTO_ALGAPI
1293107778b5SJohannes Goetzfried	select CRYPTO_CRYPTD
1294801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1295a7378d4eSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1296107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_COMMON
1297107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64
1298107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64_3WAY
1299107778b5SJohannes Goetzfried	select CRYPTO_LRW
1300107778b5SJohannes Goetzfried	select CRYPTO_XTS
1301107778b5SJohannes Goetzfried	help
1302107778b5SJohannes Goetzfried	  Twofish cipher algorithm (x86_64/AVX).
1303107778b5SJohannes Goetzfried
1304107778b5SJohannes Goetzfried	  Twofish was submitted as an AES (Advanced Encryption Standard)
1305107778b5SJohannes Goetzfried	  candidate cipher by researchers at CounterPane Systems.  It is a
1306107778b5SJohannes Goetzfried	  16 round block cipher supporting key sizes of 128, 192, and 256
1307107778b5SJohannes Goetzfried	  bits.
1308107778b5SJohannes Goetzfried
1309107778b5SJohannes Goetzfried	  This module provides the Twofish cipher algorithm that processes
1310107778b5SJohannes Goetzfried	  eight blocks parallel using the AVX Instruction Set.
1311107778b5SJohannes Goetzfried
1312107778b5SJohannes Goetzfried	  See also:
1313107778b5SJohannes Goetzfried	  <http://www.schneier.com/twofish.html>
1314107778b5SJohannes Goetzfried
1315584fffc8SSebastian Siewiorcomment "Compression"
1316584fffc8SSebastian Siewior
13171da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
13181da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
1319cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
13201da177e4SLinus Torvalds	select ZLIB_INFLATE
13211da177e4SLinus Torvalds	select ZLIB_DEFLATE
13221da177e4SLinus Torvalds	help
13231da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
13241da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
13251da177e4SLinus Torvalds
13261da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
13271da177e4SLinus Torvalds
1328bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB
1329bf68e65eSGeert Uytterhoeven	tristate "Zlib compression algorithm"
1330bf68e65eSGeert Uytterhoeven	select CRYPTO_PCOMP
1331bf68e65eSGeert Uytterhoeven	select ZLIB_INFLATE
1332bf68e65eSGeert Uytterhoeven	select ZLIB_DEFLATE
1333bf68e65eSGeert Uytterhoeven	select NLATTR
1334bf68e65eSGeert Uytterhoeven	help
1335bf68e65eSGeert Uytterhoeven	  This is the zlib algorithm.
1336bf68e65eSGeert Uytterhoeven
13370b77abb3SZoltan Sogorconfig CRYPTO_LZO
13380b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
13390b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
13400b77abb3SZoltan Sogor	select LZO_COMPRESS
13410b77abb3SZoltan Sogor	select LZO_DECOMPRESS
13420b77abb3SZoltan Sogor	help
13430b77abb3SZoltan Sogor	  This is the LZO algorithm.
13440b77abb3SZoltan Sogor
134535a1fc18SSeth Jenningsconfig CRYPTO_842
134635a1fc18SSeth Jennings	tristate "842 compression algorithm"
134735a1fc18SSeth Jennings	depends on CRYPTO_DEV_NX_COMPRESS
134835a1fc18SSeth Jennings	# 842 uses lzo if the hardware becomes unavailable
134935a1fc18SSeth Jennings	select LZO_COMPRESS
135035a1fc18SSeth Jennings	select LZO_DECOMPRESS
135135a1fc18SSeth Jennings	help
135235a1fc18SSeth Jennings	  This is the 842 algorithm.
135335a1fc18SSeth Jennings
13540ea8530dSChanho Minconfig CRYPTO_LZ4
13550ea8530dSChanho Min	tristate "LZ4 compression algorithm"
13560ea8530dSChanho Min	select CRYPTO_ALGAPI
13570ea8530dSChanho Min	select LZ4_COMPRESS
13580ea8530dSChanho Min	select LZ4_DECOMPRESS
13590ea8530dSChanho Min	help
13600ea8530dSChanho Min	  This is the LZ4 algorithm.
13610ea8530dSChanho Min
13620ea8530dSChanho Minconfig CRYPTO_LZ4HC
13630ea8530dSChanho Min	tristate "LZ4HC compression algorithm"
13640ea8530dSChanho Min	select CRYPTO_ALGAPI
13650ea8530dSChanho Min	select LZ4HC_COMPRESS
13660ea8530dSChanho Min	select LZ4_DECOMPRESS
13670ea8530dSChanho Min	help
13680ea8530dSChanho Min	  This is the LZ4 high compression mode algorithm.
13690ea8530dSChanho Min
137017f0f4a4SNeil Hormancomment "Random Number Generation"
137117f0f4a4SNeil Horman
137217f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
137317f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
13744e4ed83bSNeil Horman	default m
137517f0f4a4SNeil Horman	select CRYPTO_AES
137617f0f4a4SNeil Horman	select CRYPTO_RNG
137717f0f4a4SNeil Horman	help
137817f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
137917f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
13807dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
13817dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
138217f0f4a4SNeil Horman
138303c8efc1SHerbert Xuconfig CRYPTO_USER_API
138403c8efc1SHerbert Xu	tristate
138503c8efc1SHerbert Xu
1386fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH
1387fe869cdbSHerbert Xu	tristate "User-space interface for hash algorithms"
13887451708fSHerbert Xu	depends on NET
1389fe869cdbSHerbert Xu	select CRYPTO_HASH
1390fe869cdbSHerbert Xu	select CRYPTO_USER_API
1391fe869cdbSHerbert Xu	help
1392fe869cdbSHerbert Xu	  This option enables the user-spaces interface for hash
1393fe869cdbSHerbert Xu	  algorithms.
1394fe869cdbSHerbert Xu
13958ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER
13968ff59090SHerbert Xu	tristate "User-space interface for symmetric key cipher algorithms"
13977451708fSHerbert Xu	depends on NET
13988ff59090SHerbert Xu	select CRYPTO_BLKCIPHER
13998ff59090SHerbert Xu	select CRYPTO_USER_API
14008ff59090SHerbert Xu	help
14018ff59090SHerbert Xu	  This option enables the user-spaces interface for symmetric
14028ff59090SHerbert Xu	  key cipher algorithms.
14038ff59090SHerbert Xu
1404ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO
1405ee08997fSDmitry Kasatkin	bool
1406ee08997fSDmitry Kasatkin
14071da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
1408964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig
14091da177e4SLinus Torvalds
1410cce9e06dSHerbert Xuendif	# if CRYPTO
1411