xref: /linux/crypto/Kconfig (revision 3b4afaf29e0f508920cc3eafb6cc297aaad494b1)
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
137*3b4afaf2SKees Cook	tristate "Parallel crypto engine"
138*3b4afaf2SKees 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
177ffaf9156SJussi Kivilinnaconfig CRYPTO_ABLK_HELPER_X86
178ffaf9156SJussi Kivilinna	tristate
179ffaf9156SJussi Kivilinna	depends on X86
180ffaf9156SJussi Kivilinna	select CRYPTO_CRYPTD
181ffaf9156SJussi Kivilinna
182596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86
183596d8750SJussi Kivilinna	tristate
184596d8750SJussi Kivilinna	depends on X86
185596d8750SJussi Kivilinna	select CRYPTO_ALGAPI
186596d8750SJussi Kivilinna
187584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
188584fffc8SSebastian Siewior
189584fffc8SSebastian Siewiorconfig CRYPTO_CCM
190584fffc8SSebastian Siewior	tristate "CCM support"
191584fffc8SSebastian Siewior	select CRYPTO_CTR
192584fffc8SSebastian Siewior	select CRYPTO_AEAD
193584fffc8SSebastian Siewior	help
194584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
195584fffc8SSebastian Siewior
196584fffc8SSebastian Siewiorconfig CRYPTO_GCM
197584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
198584fffc8SSebastian Siewior	select CRYPTO_CTR
199584fffc8SSebastian Siewior	select CRYPTO_AEAD
2009382d97aSHuang Ying	select CRYPTO_GHASH
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
2851da177e4SLinus Torvaldsconfig CRYPTO_HMAC
2868425165dSHerbert Xu	tristate "HMAC support"
2870796ae06SHerbert Xu	select CRYPTO_HASH
28843518407SHerbert Xu	select CRYPTO_MANAGER
2891da177e4SLinus Torvalds	help
2901da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
2911da177e4SLinus Torvalds	  This is required for IPSec.
2921da177e4SLinus Torvalds
293333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
294333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
295333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
296333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
297333b0d7eSKazunori MIYAZAWA	help
298333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
299333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
300333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
301333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
302333b0d7eSKazunori MIYAZAWA
303f1939f7cSShane Wangconfig CRYPTO_VMAC
304f1939f7cSShane Wang	tristate "VMAC support"
305f1939f7cSShane Wang	select CRYPTO_HASH
306f1939f7cSShane Wang	select CRYPTO_MANAGER
307f1939f7cSShane Wang	help
308f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
309f1939f7cSShane Wang	  very high speed on 64-bit architectures.
310f1939f7cSShane Wang
311f1939f7cSShane Wang	  See also:
312f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
313f1939f7cSShane Wang
314584fffc8SSebastian Siewiorcomment "Digest"
315584fffc8SSebastian Siewior
316584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
317584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
3185773a3e6SHerbert Xu	select CRYPTO_HASH
3196a0962b2SDarrick J. Wong	select CRC32
3201da177e4SLinus Torvalds	help
321584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
322584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
32369c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
3241da177e4SLinus Torvalds
3256a8ce1efSTim Chenconfig CRYPTO_CRC32C_X86_64
3266a8ce1efSTim Chen	bool
3276a8ce1efSTim Chen	depends on X86 && 64BIT
3286a8ce1efSTim Chen	select CRYPTO_HASH
3296a8ce1efSTim Chen	help
3306a8ce1efSTim Chen	  In Intel processor with SSE4.2 supported, the processor will
3316a8ce1efSTim Chen	  support CRC32C calculation using hardware accelerated CRC32
3326a8ce1efSTim Chen	  instruction optimized with PCLMULQDQ instruction when available.
3336a8ce1efSTim Chen
3348cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
3358cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
3368cb51ba8SAustin Zhang	depends on X86
3376a8ce1efSTim Chen	select CRYPTO_CRC32C_X86_64 if 64BIT
3388cb51ba8SAustin Zhang	select CRYPTO_HASH
3398cb51ba8SAustin Zhang	help
3408cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
3418cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
3428cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
3438cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
3448cb51ba8SAustin Zhang	  gain performance compared with software implementation.
3458cb51ba8SAustin Zhang	  Module will be crc32c-intel.
3468cb51ba8SAustin Zhang
347442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64
348442a7c40SDavid S. Miller	tristate "CRC32c CRC algorithm (SPARC64)"
349442a7c40SDavid S. Miller	depends on SPARC64
350442a7c40SDavid S. Miller	select CRYPTO_HASH
351442a7c40SDavid S. Miller	select CRC32
352442a7c40SDavid S. Miller	help
353442a7c40SDavid S. Miller	  CRC32c CRC algorithm implemented using sparc64 crypto instructions,
354442a7c40SDavid S. Miller	  when available.
355442a7c40SDavid S. Miller
3562cdc6899SHuang Yingconfig CRYPTO_GHASH
3572cdc6899SHuang Ying	tristate "GHASH digest algorithm"
3582cdc6899SHuang Ying	select CRYPTO_GF128MUL
3592cdc6899SHuang Ying	help
3602cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
3612cdc6899SHuang Ying
3621da177e4SLinus Torvaldsconfig CRYPTO_MD4
3631da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
364808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3651da177e4SLinus Torvalds	help
3661da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
3671da177e4SLinus Torvalds
3681da177e4SLinus Torvaldsconfig CRYPTO_MD5
3691da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
37014b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3711da177e4SLinus Torvalds	help
3721da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
3731da177e4SLinus Torvalds
374fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64
375fa4dfedcSDavid S. Miller	tristate "MD5 digest algorithm (SPARC64)"
376fa4dfedcSDavid S. Miller	depends on SPARC64
377fa4dfedcSDavid S. Miller	select CRYPTO_MD5
378fa4dfedcSDavid S. Miller	select CRYPTO_HASH
379fa4dfedcSDavid S. Miller	help
380fa4dfedcSDavid S. Miller	  MD5 message digest algorithm (RFC1321) implemented
381fa4dfedcSDavid S. Miller	  using sparc64 crypto instructions, when available.
382fa4dfedcSDavid S. Miller
383584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
384584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
38519e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
386584fffc8SSebastian Siewior	help
387584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
388584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
389584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
390584fffc8SSebastian Siewior	  of the algorithm.
391584fffc8SSebastian Siewior
39282798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
39382798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
3947c4468bcSHerbert Xu	select CRYPTO_HASH
39582798f90SAdrian-Ken Rueegsegger	help
39682798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
39782798f90SAdrian-Ken Rueegsegger
39882798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
39935ed4b35SMichael Witten	  be used as a secure replacement for RIPEMD. For other use cases,
40082798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
40182798f90SAdrian-Ken Rueegsegger
40282798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4036d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
40482798f90SAdrian-Ken Rueegsegger
40582798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
40682798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
407e5835fbaSHerbert Xu	select CRYPTO_HASH
40882798f90SAdrian-Ken Rueegsegger	help
40982798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
41082798f90SAdrian-Ken Rueegsegger
41182798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
41282798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
413b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
414b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
41582798f90SAdrian-Ken Rueegsegger
416b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
417b6d44341SAdrian Bunk	  against RIPEMD-160.
418534fe2c1SAdrian-Ken Rueegsegger
419534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4206d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
421534fe2c1SAdrian-Ken Rueegsegger
422534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
423534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
424d8a5e2e9SHerbert Xu	select CRYPTO_HASH
425534fe2c1SAdrian-Ken Rueegsegger	help
426b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
427b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
428b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
429b6d44341SAdrian Bunk	  (than RIPEMD-128).
430534fe2c1SAdrian-Ken Rueegsegger
431534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
4326d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
433534fe2c1SAdrian-Ken Rueegsegger
434534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
435534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
4363b8efb4cSHerbert Xu	select CRYPTO_HASH
437534fe2c1SAdrian-Ken Rueegsegger	help
438b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
439b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
440b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
441b6d44341SAdrian Bunk	  (than RIPEMD-160).
442534fe2c1SAdrian-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
4461da177e4SLinus Torvaldsconfig CRYPTO_SHA1
4471da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
44854ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4491da177e4SLinus Torvalds	help
4501da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
4511da177e4SLinus Torvalds
45266be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3
45366be8951SMathias Krause	tristate "SHA1 digest algorithm (SSSE3/AVX)"
45466be8951SMathias Krause	depends on X86 && 64BIT
45566be8951SMathias Krause	select CRYPTO_SHA1
45666be8951SMathias Krause	select CRYPTO_HASH
45766be8951SMathias Krause	help
45866be8951SMathias Krause	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
45966be8951SMathias Krause	  using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
46066be8951SMathias Krause	  Extensions (AVX), when available.
46166be8951SMathias Krause
4624ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64
4634ff28d4cSDavid S. Miller	tristate "SHA1 digest algorithm (SPARC64)"
4644ff28d4cSDavid S. Miller	depends on SPARC64
4654ff28d4cSDavid S. Miller	select CRYPTO_SHA1
4664ff28d4cSDavid S. Miller	select CRYPTO_HASH
4674ff28d4cSDavid S. Miller	help
4684ff28d4cSDavid S. Miller	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
4694ff28d4cSDavid S. Miller	  using sparc64 crypto instructions, when available.
4704ff28d4cSDavid S. Miller
471f0be44f4SDavid McCulloughconfig CRYPTO_SHA1_ARM
472f0be44f4SDavid McCullough	tristate "SHA1 digest algorithm (ARM-asm)"
473f0be44f4SDavid McCullough	depends on ARM
474f0be44f4SDavid McCullough	select CRYPTO_SHA1
475f0be44f4SDavid McCullough	select CRYPTO_HASH
476f0be44f4SDavid McCullough	help
477f0be44f4SDavid McCullough	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
478f0be44f4SDavid McCullough	  using optimized ARM assembler.
479f0be44f4SDavid McCullough
4801da177e4SLinus Torvaldsconfig CRYPTO_SHA256
481cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
48250e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4831da177e4SLinus Torvalds	help
4841da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
4851da177e4SLinus Torvalds
4861da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
4871da177e4SLinus Torvalds	  security against collision attacks.
4881da177e4SLinus Torvalds
489cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
490cd12fb90SJonathan Lynch	  of security against collision attacks.
491cd12fb90SJonathan Lynch
49286c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64
49386c93b24SDavid S. Miller	tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
49486c93b24SDavid S. Miller	depends on SPARC64
49586c93b24SDavid S. Miller	select CRYPTO_SHA256
49686c93b24SDavid S. Miller	select CRYPTO_HASH
49786c93b24SDavid S. Miller	help
49886c93b24SDavid S. Miller	  SHA-256 secure hash standard (DFIPS 180-2) implemented
49986c93b24SDavid S. Miller	  using sparc64 crypto instructions, when available.
50086c93b24SDavid S. Miller
5011da177e4SLinus Torvaldsconfig CRYPTO_SHA512
5021da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
503bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
5041da177e4SLinus Torvalds	help
5051da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
5061da177e4SLinus Torvalds
5071da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
5081da177e4SLinus Torvalds	  security against collision attacks.
5091da177e4SLinus Torvalds
5101da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
5111da177e4SLinus Torvalds	  of security against collision attacks.
5121da177e4SLinus Torvalds
513775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64
514775e0c69SDavid S. Miller	tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
515775e0c69SDavid S. Miller	depends on SPARC64
516775e0c69SDavid S. Miller	select CRYPTO_SHA512
517775e0c69SDavid S. Miller	select CRYPTO_HASH
518775e0c69SDavid S. Miller	help
519775e0c69SDavid S. Miller	  SHA-512 secure hash standard (DFIPS 180-2) implemented
520775e0c69SDavid S. Miller	  using sparc64 crypto instructions, when available.
521775e0c69SDavid S. Miller
5221da177e4SLinus Torvaldsconfig CRYPTO_TGR192
5231da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
524f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
5251da177e4SLinus Torvalds	help
5261da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
5271da177e4SLinus Torvalds
5281da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
5291da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
5301da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
5311da177e4SLinus Torvalds
5321da177e4SLinus Torvalds	  See also:
5331da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
5341da177e4SLinus Torvalds
535584fffc8SSebastian Siewiorconfig CRYPTO_WP512
536584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
5374946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
5381da177e4SLinus Torvalds	help
539584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
5401da177e4SLinus Torvalds
541584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
542584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
5431da177e4SLinus Torvalds
5441da177e4SLinus Torvalds	  See also:
5456d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
5461da177e4SLinus Torvalds
5470e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
5480e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
5498af00860SRichard Weinberger	depends on X86 && 64BIT
5500e1227d3SHuang Ying	select CRYPTO_CRYPTD
5510e1227d3SHuang Ying	help
5520e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
5530e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
5540e1227d3SHuang Ying
555584fffc8SSebastian Siewiorcomment "Ciphers"
5561da177e4SLinus Torvalds
5571da177e4SLinus Torvaldsconfig CRYPTO_AES
5581da177e4SLinus Torvalds	tristate "AES cipher algorithms"
559cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
5601da177e4SLinus Torvalds	help
5611da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
5621da177e4SLinus Torvalds	  algorithm.
5631da177e4SLinus Torvalds
5641da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
5651da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
5661da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
5671da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
5681da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
5691da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
5701da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
5711da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
5721da177e4SLinus Torvalds
5731da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
5741da177e4SLinus Torvalds
5751da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
5761da177e4SLinus Torvalds
5771da177e4SLinus Torvaldsconfig CRYPTO_AES_586
5781da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
579cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
580cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
5815157dea8SSebastian Siewior	select CRYPTO_AES
5821da177e4SLinus Torvalds	help
5831da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
5841da177e4SLinus Torvalds	  algorithm.
5851da177e4SLinus Torvalds
5861da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
5871da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
5881da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
5891da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
5901da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
5911da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
5921da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
5931da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
5941da177e4SLinus Torvalds
5951da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
5961da177e4SLinus Torvalds
5971da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
5981da177e4SLinus Torvalds
599a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
600a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
601cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
602cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
60381190b32SSebastian Siewior	select CRYPTO_AES
604a2a892a2SAndreas Steinmetz	help
605a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
606a2a892a2SAndreas Steinmetz	  algorithm.
607a2a892a2SAndreas Steinmetz
608a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
609a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
610a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
611a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
612a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
613a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
614a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
615a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
616a2a892a2SAndreas Steinmetz
617a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
618a2a892a2SAndreas Steinmetz
619a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
620a2a892a2SAndreas Steinmetz
62154b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
62254b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
6238af00860SRichard Weinberger	depends on X86
6240d258efbSMathias Krause	select CRYPTO_AES_X86_64 if 64BIT
6250d258efbSMathias Krause	select CRYPTO_AES_586 if !64BIT
62654b6a1bdSHuang Ying	select CRYPTO_CRYPTD
627a9629d71SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
62854b6a1bdSHuang Ying	select CRYPTO_ALGAPI
629023af608SJussi Kivilinna	select CRYPTO_LRW
630023af608SJussi Kivilinna	select CRYPTO_XTS
63154b6a1bdSHuang Ying	help
63254b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
63354b6a1bdSHuang Ying
63454b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
63554b6a1bdSHuang Ying	  algorithm.
63654b6a1bdSHuang Ying
63754b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
63854b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
63954b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
64054b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
64154b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
64254b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
64354b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
64454b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
64554b6a1bdSHuang Ying
64654b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
64754b6a1bdSHuang Ying
64854b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
64954b6a1bdSHuang Ying
6500d258efbSMathias Krause	  In addition to AES cipher algorithm support, the acceleration
6510d258efbSMathias Krause	  for some popular block cipher mode is supported too, including
6520d258efbSMathias Krause	  ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
6530d258efbSMathias Krause	  acceleration for CTR.
6542cf4ac8bSHuang Ying
6559bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64
6569bf4852dSDavid S. Miller	tristate "AES cipher algorithms (SPARC64)"
6579bf4852dSDavid S. Miller	depends on SPARC64
6589bf4852dSDavid S. Miller	select CRYPTO_CRYPTD
6599bf4852dSDavid S. Miller	select CRYPTO_ALGAPI
6609bf4852dSDavid S. Miller	help
6619bf4852dSDavid S. Miller	  Use SPARC64 crypto opcodes for AES algorithm.
6629bf4852dSDavid S. Miller
6639bf4852dSDavid S. Miller	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
6649bf4852dSDavid S. Miller	  algorithm.
6659bf4852dSDavid S. Miller
6669bf4852dSDavid S. Miller	  Rijndael appears to be consistently a very good performer in
6679bf4852dSDavid S. Miller	  both hardware and software across a wide range of computing
6689bf4852dSDavid S. Miller	  environments regardless of its use in feedback or non-feedback
6699bf4852dSDavid S. Miller	  modes. Its key setup time is excellent, and its key agility is
6709bf4852dSDavid S. Miller	  good. Rijndael's very low memory requirements make it very well
6719bf4852dSDavid S. Miller	  suited for restricted-space environments, in which it also
6729bf4852dSDavid S. Miller	  demonstrates excellent performance. Rijndael's operations are
6739bf4852dSDavid S. Miller	  among the easiest to defend against power and timing attacks.
6749bf4852dSDavid S. Miller
6759bf4852dSDavid S. Miller	  The AES specifies three key sizes: 128, 192 and 256 bits
6769bf4852dSDavid S. Miller
6779bf4852dSDavid S. Miller	  See <http://csrc.nist.gov/encryption/aes/> for more information.
6789bf4852dSDavid S. Miller
6799bf4852dSDavid S. Miller	  In addition to AES cipher algorithm support, the acceleration
6809bf4852dSDavid S. Miller	  for some popular block cipher mode is supported too, including
6819bf4852dSDavid S. Miller	  ECB and CBC.
6829bf4852dSDavid S. Miller
683f0be44f4SDavid McCulloughconfig CRYPTO_AES_ARM
684f0be44f4SDavid McCullough	tristate "AES cipher algorithms (ARM-asm)"
685f0be44f4SDavid McCullough	depends on ARM
686f0be44f4SDavid McCullough	select CRYPTO_ALGAPI
687f0be44f4SDavid McCullough	select CRYPTO_AES
688f0be44f4SDavid McCullough	help
689f0be44f4SDavid McCullough	  Use optimized AES assembler routines for ARM platforms.
690f0be44f4SDavid McCullough
691f0be44f4SDavid McCullough	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
692f0be44f4SDavid McCullough	  algorithm.
693f0be44f4SDavid McCullough
694f0be44f4SDavid McCullough	  Rijndael appears to be consistently a very good performer in
695f0be44f4SDavid McCullough	  both hardware and software across a wide range of computing
696f0be44f4SDavid McCullough	  environments regardless of its use in feedback or non-feedback
697f0be44f4SDavid McCullough	  modes. Its key setup time is excellent, and its key agility is
698f0be44f4SDavid McCullough	  good. Rijndael's very low memory requirements make it very well
699f0be44f4SDavid McCullough	  suited for restricted-space environments, in which it also
700f0be44f4SDavid McCullough	  demonstrates excellent performance. Rijndael's operations are
701f0be44f4SDavid McCullough	  among the easiest to defend against power and timing attacks.
702f0be44f4SDavid McCullough
703f0be44f4SDavid McCullough	  The AES specifies three key sizes: 128, 192 and 256 bits
704f0be44f4SDavid McCullough
705f0be44f4SDavid McCullough	  See <http://csrc.nist.gov/encryption/aes/> for more information.
706f0be44f4SDavid McCullough
7071da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
7081da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
709cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7101da177e4SLinus Torvalds	help
7111da177e4SLinus Torvalds	  Anubis cipher algorithm.
7121da177e4SLinus Torvalds
7131da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
7141da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
7151da177e4SLinus Torvalds	  in the NESSIE competition.
7161da177e4SLinus Torvalds
7171da177e4SLinus Torvalds	  See also:
7186d8de74cSJustin P. Mattock	  <https://www.cosic.esat.kuleuven.be/nessie/reports/>
7196d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
7201da177e4SLinus Torvalds
721584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
722584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
723b9b0f080SSebastian Andrzej Siewior	select CRYPTO_BLKCIPHER
724e2ee95b8SHye-Shik Chang	help
725584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
726e2ee95b8SHye-Shik Chang
727584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
728584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
729584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
730584fffc8SSebastian Siewior	  weakness of the algorithm.
731584fffc8SSebastian Siewior
732584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
733584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
734584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
73552ba867cSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
736584fffc8SSebastian Siewior	help
737584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
738584fffc8SSebastian Siewior
739584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
740584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
741584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
742e2ee95b8SHye-Shik Chang
743e2ee95b8SHye-Shik Chang	  See also:
744584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
745584fffc8SSebastian Siewior
74652ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON
74752ba867cSJussi Kivilinna	tristate
74852ba867cSJussi Kivilinna	help
74952ba867cSJussi Kivilinna	  Common parts of the Blowfish cipher algorithm shared by the
75052ba867cSJussi Kivilinna	  generic c and the assembler implementations.
75152ba867cSJussi Kivilinna
75252ba867cSJussi Kivilinna	  See also:
75352ba867cSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
75452ba867cSJussi Kivilinna
75564b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64
75664b94ceaSJussi Kivilinna	tristate "Blowfish cipher algorithm (x86_64)"
757f21a7c19SAl Viro	depends on X86 && 64BIT
75864b94ceaSJussi Kivilinna	select CRYPTO_ALGAPI
75964b94ceaSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
76064b94ceaSJussi Kivilinna	help
76164b94ceaSJussi Kivilinna	  Blowfish cipher algorithm (x86_64), by Bruce Schneier.
76264b94ceaSJussi Kivilinna
76364b94ceaSJussi Kivilinna	  This is a variable key length cipher which can use keys from 32
76464b94ceaSJussi Kivilinna	  bits to 448 bits in length.  It's fast, simple and specifically
76564b94ceaSJussi Kivilinna	  designed for use on "large microprocessors".
76664b94ceaSJussi Kivilinna
76764b94ceaSJussi Kivilinna	  See also:
76864b94ceaSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
76964b94ceaSJussi Kivilinna
770584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
771584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
772584fffc8SSebastian Siewior	depends on CRYPTO
773584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
774584fffc8SSebastian Siewior	help
775584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
776584fffc8SSebastian Siewior
777584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
778584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
779584fffc8SSebastian Siewior
780584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
781584fffc8SSebastian Siewior
782584fffc8SSebastian Siewior	  See also:
783584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
784584fffc8SSebastian Siewior
7850b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64
7860b95ec56SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64)"
787f21a7c19SAl Viro	depends on X86 && 64BIT
7880b95ec56SJussi Kivilinna	depends on CRYPTO
7890b95ec56SJussi Kivilinna	select CRYPTO_ALGAPI
790964263afSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
7910b95ec56SJussi Kivilinna	select CRYPTO_LRW
7920b95ec56SJussi Kivilinna	select CRYPTO_XTS
7930b95ec56SJussi Kivilinna	help
7940b95ec56SJussi Kivilinna	  Camellia cipher algorithm module (x86_64).
7950b95ec56SJussi Kivilinna
7960b95ec56SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
7970b95ec56SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
7980b95ec56SJussi Kivilinna
7990b95ec56SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
8000b95ec56SJussi Kivilinna
8010b95ec56SJussi Kivilinna	  See also:
8020b95ec56SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
8030b95ec56SJussi Kivilinna
804d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64
805d9b1d2e7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
806d9b1d2e7SJussi Kivilinna	depends on X86 && 64BIT
807d9b1d2e7SJussi Kivilinna	depends on CRYPTO
808d9b1d2e7SJussi Kivilinna	select CRYPTO_ALGAPI
809d9b1d2e7SJussi Kivilinna	select CRYPTO_CRYPTD
810d9b1d2e7SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
811d9b1d2e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
812d9b1d2e7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
813d9b1d2e7SJussi Kivilinna	select CRYPTO_LRW
814d9b1d2e7SJussi Kivilinna	select CRYPTO_XTS
815d9b1d2e7SJussi Kivilinna	help
816d9b1d2e7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX).
817d9b1d2e7SJussi Kivilinna
818d9b1d2e7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
819d9b1d2e7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
820d9b1d2e7SJussi Kivilinna
821d9b1d2e7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
822d9b1d2e7SJussi Kivilinna
823d9b1d2e7SJussi Kivilinna	  See also:
824d9b1d2e7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
825d9b1d2e7SJussi Kivilinna
82681658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64
82781658ad0SDavid S. Miller	tristate "Camellia cipher algorithm (SPARC64)"
82881658ad0SDavid S. Miller	depends on SPARC64
82981658ad0SDavid S. Miller	depends on CRYPTO
83081658ad0SDavid S. Miller	select CRYPTO_ALGAPI
83181658ad0SDavid S. Miller	help
83281658ad0SDavid S. Miller	  Camellia cipher algorithm module (SPARC64).
83381658ad0SDavid S. Miller
83481658ad0SDavid S. Miller	  Camellia is a symmetric key block cipher developed jointly
83581658ad0SDavid S. Miller	  at NTT and Mitsubishi Electric Corporation.
83681658ad0SDavid S. Miller
83781658ad0SDavid S. Miller	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
83881658ad0SDavid S. Miller
83981658ad0SDavid S. Miller	  See also:
84081658ad0SDavid S. Miller	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
84181658ad0SDavid S. Miller
842044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON
843044ab525SJussi Kivilinna	tristate
844044ab525SJussi Kivilinna	help
845044ab525SJussi Kivilinna	  Common parts of the CAST cipher algorithms shared by the
846044ab525SJussi Kivilinna	  generic c and the assembler implementations.
847044ab525SJussi Kivilinna
848584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
849584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
850584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
851044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
852584fffc8SSebastian Siewior	help
853584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
854584fffc8SSebastian Siewior	  described in RFC2144.
855584fffc8SSebastian Siewior
8564d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64
8574d6d6a2cSJohannes Goetzfried	tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
8584d6d6a2cSJohannes Goetzfried	depends on X86 && 64BIT
8594d6d6a2cSJohannes Goetzfried	select CRYPTO_ALGAPI
8604d6d6a2cSJohannes Goetzfried	select CRYPTO_CRYPTD
8614d6d6a2cSJohannes Goetzfried	select CRYPTO_ABLK_HELPER_X86
862044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
8634d6d6a2cSJohannes Goetzfried	select CRYPTO_CAST5
8644d6d6a2cSJohannes Goetzfried	help
8654d6d6a2cSJohannes Goetzfried	  The CAST5 encryption algorithm (synonymous with CAST-128) is
8664d6d6a2cSJohannes Goetzfried	  described in RFC2144.
8674d6d6a2cSJohannes Goetzfried
8684d6d6a2cSJohannes Goetzfried	  This module provides the Cast5 cipher algorithm that processes
8694d6d6a2cSJohannes Goetzfried	  sixteen blocks parallel using the AVX instruction set.
8704d6d6a2cSJohannes Goetzfried
871584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
872584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
873584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
874044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
875584fffc8SSebastian Siewior	help
876584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
877584fffc8SSebastian Siewior	  described in RFC2612.
878584fffc8SSebastian Siewior
8794ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64
8804ea1277dSJohannes Goetzfried	tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
8814ea1277dSJohannes Goetzfried	depends on X86 && 64BIT
8824ea1277dSJohannes Goetzfried	select CRYPTO_ALGAPI
8834ea1277dSJohannes Goetzfried	select CRYPTO_CRYPTD
8844ea1277dSJohannes Goetzfried	select CRYPTO_ABLK_HELPER_X86
8854ea1277dSJohannes Goetzfried	select CRYPTO_GLUE_HELPER_X86
886044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
8874ea1277dSJohannes Goetzfried	select CRYPTO_CAST6
8884ea1277dSJohannes Goetzfried	select CRYPTO_LRW
8894ea1277dSJohannes Goetzfried	select CRYPTO_XTS
8904ea1277dSJohannes Goetzfried	help
8914ea1277dSJohannes Goetzfried	  The CAST6 encryption algorithm (synonymous with CAST-256) is
8924ea1277dSJohannes Goetzfried	  described in RFC2612.
8934ea1277dSJohannes Goetzfried
8944ea1277dSJohannes Goetzfried	  This module provides the Cast6 cipher algorithm that processes
8954ea1277dSJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
8964ea1277dSJohannes Goetzfried
897584fffc8SSebastian Siewiorconfig CRYPTO_DES
898584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
899584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
900584fffc8SSebastian Siewior	help
901584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
902584fffc8SSebastian Siewior
903c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64
904c5aac2dfSDavid S. Miller	tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
90597da37b3SDave Jones	depends on SPARC64
906c5aac2dfSDavid S. Miller	select CRYPTO_ALGAPI
907c5aac2dfSDavid S. Miller	select CRYPTO_DES
908c5aac2dfSDavid S. Miller	help
909c5aac2dfSDavid S. Miller	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
910c5aac2dfSDavid S. Miller	  optimized using SPARC64 crypto opcodes.
911c5aac2dfSDavid S. Miller
912584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
913584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
914584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
915584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
916584fffc8SSebastian Siewior	help
917584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
918584fffc8SSebastian Siewior
919584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
920584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
921584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
922584fffc8SSebastian Siewior	help
923584fffc8SSebastian Siewior	  Khazad cipher algorithm.
924584fffc8SSebastian Siewior
925584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
926584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
927584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
928584fffc8SSebastian Siewior
929584fffc8SSebastian Siewior	  See also:
9306d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
931e2ee95b8SHye-Shik Chang
9322407d608STan Swee Hengconfig CRYPTO_SALSA20
933*3b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm"
9342407d608STan Swee Heng	select CRYPTO_BLKCIPHER
9352407d608STan Swee Heng	help
9362407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
9372407d608STan Swee Heng
9382407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
9392407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
9402407d608STan Swee Heng
9412407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
9422407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
9431da177e4SLinus Torvalds
944974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
945*3b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (i586)"
946974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
947974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
948974e4b75STan Swee Heng	help
949974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
950974e4b75STan Swee Heng
951974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
952974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
953974e4b75STan Swee Heng
954974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
955974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
956974e4b75STan Swee Heng
9579a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
958*3b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (x86_64)"
9599a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
9609a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
9619a7dafbbSTan Swee Heng	help
9629a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
9639a7dafbbSTan Swee Heng
9649a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
9659a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
9669a7dafbbSTan Swee Heng
9679a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
9689a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
9699a7dafbbSTan Swee Heng
970584fffc8SSebastian Siewiorconfig CRYPTO_SEED
971584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
972584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
973584fffc8SSebastian Siewior	help
974584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
975584fffc8SSebastian Siewior
976584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
977584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
978584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
979584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
980584fffc8SSebastian Siewior
981584fffc8SSebastian Siewior	  See also:
982584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
983584fffc8SSebastian Siewior
984584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
985584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
986584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
987584fffc8SSebastian Siewior	help
988584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
989584fffc8SSebastian Siewior
990584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
991584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
992584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
993584fffc8SSebastian Siewior
994584fffc8SSebastian Siewior	  See also:
995584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
996584fffc8SSebastian Siewior
997937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64
998937c30d7SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/SSE2)"
999937c30d7SJussi Kivilinna	depends on X86 && 64BIT
1000937c30d7SJussi Kivilinna	select CRYPTO_ALGAPI
1001341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1002ffaf9156SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
1003596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1004937c30d7SJussi Kivilinna	select CRYPTO_SERPENT
1005feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1006feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1007937c30d7SJussi Kivilinna	help
1008937c30d7SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1009937c30d7SJussi Kivilinna
1010937c30d7SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1011937c30d7SJussi Kivilinna	  of 8 bits.
1012937c30d7SJussi Kivilinna
1013937c30d7SJussi Kivilinna	  This module provides Serpent cipher algorithm that processes eigth
1014937c30d7SJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1015937c30d7SJussi Kivilinna
1016937c30d7SJussi Kivilinna	  See also:
1017937c30d7SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1018937c30d7SJussi Kivilinna
1019251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586
1020251496dbSJussi Kivilinna	tristate "Serpent cipher algorithm (i586/SSE2)"
1021251496dbSJussi Kivilinna	depends on X86 && !64BIT
1022251496dbSJussi Kivilinna	select CRYPTO_ALGAPI
1023341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1024ffaf9156SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
1025596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1026251496dbSJussi Kivilinna	select CRYPTO_SERPENT
1027feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1028feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1029251496dbSJussi Kivilinna	help
1030251496dbSJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1031251496dbSJussi Kivilinna
1032251496dbSJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1033251496dbSJussi Kivilinna	  of 8 bits.
1034251496dbSJussi Kivilinna
1035251496dbSJussi Kivilinna	  This module provides Serpent cipher algorithm that processes four
1036251496dbSJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1037251496dbSJussi Kivilinna
1038251496dbSJussi Kivilinna	  See also:
1039251496dbSJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1040251496dbSJussi Kivilinna
10417efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64
10427efe4076SJohannes Goetzfried	tristate "Serpent cipher algorithm (x86_64/AVX)"
10437efe4076SJohannes Goetzfried	depends on X86 && 64BIT
10447efe4076SJohannes Goetzfried	select CRYPTO_ALGAPI
10457efe4076SJohannes Goetzfried	select CRYPTO_CRYPTD
1046ffaf9156SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
10471d0debbdSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
10487efe4076SJohannes Goetzfried	select CRYPTO_SERPENT
10497efe4076SJohannes Goetzfried	select CRYPTO_LRW
10507efe4076SJohannes Goetzfried	select CRYPTO_XTS
10517efe4076SJohannes Goetzfried	help
10527efe4076SJohannes Goetzfried	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
10537efe4076SJohannes Goetzfried
10547efe4076SJohannes Goetzfried	  Keys are allowed to be from 0 to 256 bits in length, in steps
10557efe4076SJohannes Goetzfried	  of 8 bits.
10567efe4076SJohannes Goetzfried
10577efe4076SJohannes Goetzfried	  This module provides the Serpent cipher algorithm that processes
10587efe4076SJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
10597efe4076SJohannes Goetzfried
10607efe4076SJohannes Goetzfried	  See also:
10617efe4076SJohannes Goetzfried	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
10627efe4076SJohannes Goetzfried
1063584fffc8SSebastian Siewiorconfig CRYPTO_TEA
1064584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
1065584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1066584fffc8SSebastian Siewior	help
1067584fffc8SSebastian Siewior	  TEA cipher algorithm.
1068584fffc8SSebastian Siewior
1069584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
1070584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
1071584fffc8SSebastian Siewior	  little memory.
1072584fffc8SSebastian Siewior
1073584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
1074584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
1075584fffc8SSebastian Siewior	  in the TEA algorithm.
1076584fffc8SSebastian Siewior
1077584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
1078584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
1079584fffc8SSebastian Siewior
1080584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
1081584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
1082584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1083584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1084584fffc8SSebastian Siewior	help
1085584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1086584fffc8SSebastian Siewior
1087584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1088584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1089584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1090584fffc8SSebastian Siewior	  bits.
1091584fffc8SSebastian Siewior
1092584fffc8SSebastian Siewior	  See also:
1093584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1094584fffc8SSebastian Siewior
1095584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
1096584fffc8SSebastian Siewior	tristate
1097584fffc8SSebastian Siewior	help
1098584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
1099584fffc8SSebastian Siewior	  generic c and the assembler implementations.
1100584fffc8SSebastian Siewior
1101584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
1102584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
1103584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
1104584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1105584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1106584fffc8SSebastian Siewior	help
1107584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1108584fffc8SSebastian Siewior
1109584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1110584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1111584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1112584fffc8SSebastian Siewior	  bits.
1113584fffc8SSebastian Siewior
1114584fffc8SSebastian Siewior	  See also:
1115584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1116584fffc8SSebastian Siewior
1117584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
1118584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
1119584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
1120584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1121584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1122584fffc8SSebastian Siewior	help
1123584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
1124584fffc8SSebastian Siewior
1125584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1126584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1127584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1128584fffc8SSebastian Siewior	  bits.
1129584fffc8SSebastian Siewior
1130584fffc8SSebastian Siewior	  See also:
1131584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1132584fffc8SSebastian Siewior
11338280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY
11348280daadSJussi Kivilinna	tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
1135f21a7c19SAl Viro	depends on X86 && 64BIT
11368280daadSJussi Kivilinna	select CRYPTO_ALGAPI
11378280daadSJussi Kivilinna	select CRYPTO_TWOFISH_COMMON
11388280daadSJussi Kivilinna	select CRYPTO_TWOFISH_X86_64
1139414cb5e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1140e7cda5d2SJussi Kivilinna	select CRYPTO_LRW
1141e7cda5d2SJussi Kivilinna	select CRYPTO_XTS
11428280daadSJussi Kivilinna	help
11438280daadSJussi Kivilinna	  Twofish cipher algorithm (x86_64, 3-way parallel).
11448280daadSJussi Kivilinna
11458280daadSJussi Kivilinna	  Twofish was submitted as an AES (Advanced Encryption Standard)
11468280daadSJussi Kivilinna	  candidate cipher by researchers at CounterPane Systems.  It is a
11478280daadSJussi Kivilinna	  16 round block cipher supporting key sizes of 128, 192, and 256
11488280daadSJussi Kivilinna	  bits.
11498280daadSJussi Kivilinna
11508280daadSJussi Kivilinna	  This module provides Twofish cipher algorithm that processes three
11518280daadSJussi Kivilinna	  blocks parallel, utilizing resources of out-of-order CPUs better.
11528280daadSJussi Kivilinna
11538280daadSJussi Kivilinna	  See also:
11548280daadSJussi Kivilinna	  <http://www.schneier.com/twofish.html>
11558280daadSJussi Kivilinna
1156107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64
1157107778b5SJohannes Goetzfried	tristate "Twofish cipher algorithm (x86_64/AVX)"
1158107778b5SJohannes Goetzfried	depends on X86 && 64BIT
1159107778b5SJohannes Goetzfried	select CRYPTO_ALGAPI
1160107778b5SJohannes Goetzfried	select CRYPTO_CRYPTD
116130a04008SJussi Kivilinna	select CRYPTO_ABLK_HELPER_X86
1162a7378d4eSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1163107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_COMMON
1164107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64
1165107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64_3WAY
1166107778b5SJohannes Goetzfried	select CRYPTO_LRW
1167107778b5SJohannes Goetzfried	select CRYPTO_XTS
1168107778b5SJohannes Goetzfried	help
1169107778b5SJohannes Goetzfried	  Twofish cipher algorithm (x86_64/AVX).
1170107778b5SJohannes Goetzfried
1171107778b5SJohannes Goetzfried	  Twofish was submitted as an AES (Advanced Encryption Standard)
1172107778b5SJohannes Goetzfried	  candidate cipher by researchers at CounterPane Systems.  It is a
1173107778b5SJohannes Goetzfried	  16 round block cipher supporting key sizes of 128, 192, and 256
1174107778b5SJohannes Goetzfried	  bits.
1175107778b5SJohannes Goetzfried
1176107778b5SJohannes Goetzfried	  This module provides the Twofish cipher algorithm that processes
1177107778b5SJohannes Goetzfried	  eight blocks parallel using the AVX Instruction Set.
1178107778b5SJohannes Goetzfried
1179107778b5SJohannes Goetzfried	  See also:
1180107778b5SJohannes Goetzfried	  <http://www.schneier.com/twofish.html>
1181107778b5SJohannes Goetzfried
1182584fffc8SSebastian Siewiorcomment "Compression"
1183584fffc8SSebastian Siewior
11841da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
11851da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
1186cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
11871da177e4SLinus Torvalds	select ZLIB_INFLATE
11881da177e4SLinus Torvalds	select ZLIB_DEFLATE
11891da177e4SLinus Torvalds	help
11901da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
11911da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
11921da177e4SLinus Torvalds
11931da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
11941da177e4SLinus Torvalds
1195bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB
1196bf68e65eSGeert Uytterhoeven	tristate "Zlib compression algorithm"
1197bf68e65eSGeert Uytterhoeven	select CRYPTO_PCOMP
1198bf68e65eSGeert Uytterhoeven	select ZLIB_INFLATE
1199bf68e65eSGeert Uytterhoeven	select ZLIB_DEFLATE
1200bf68e65eSGeert Uytterhoeven	select NLATTR
1201bf68e65eSGeert Uytterhoeven	help
1202bf68e65eSGeert Uytterhoeven	  This is the zlib algorithm.
1203bf68e65eSGeert Uytterhoeven
12040b77abb3SZoltan Sogorconfig CRYPTO_LZO
12050b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
12060b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
12070b77abb3SZoltan Sogor	select LZO_COMPRESS
12080b77abb3SZoltan Sogor	select LZO_DECOMPRESS
12090b77abb3SZoltan Sogor	help
12100b77abb3SZoltan Sogor	  This is the LZO algorithm.
12110b77abb3SZoltan Sogor
121235a1fc18SSeth Jenningsconfig CRYPTO_842
121335a1fc18SSeth Jennings	tristate "842 compression algorithm"
121435a1fc18SSeth Jennings	depends on CRYPTO_DEV_NX_COMPRESS
121535a1fc18SSeth Jennings	# 842 uses lzo if the hardware becomes unavailable
121635a1fc18SSeth Jennings	select LZO_COMPRESS
121735a1fc18SSeth Jennings	select LZO_DECOMPRESS
121835a1fc18SSeth Jennings	help
121935a1fc18SSeth Jennings	  This is the 842 algorithm.
122035a1fc18SSeth Jennings
122117f0f4a4SNeil Hormancomment "Random Number Generation"
122217f0f4a4SNeil Horman
122317f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
122417f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
12254e4ed83bSNeil Horman	default m
122617f0f4a4SNeil Horman	select CRYPTO_AES
122717f0f4a4SNeil Horman	select CRYPTO_RNG
122817f0f4a4SNeil Horman	help
122917f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
123017f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
12317dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
12327dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
123317f0f4a4SNeil Horman
123403c8efc1SHerbert Xuconfig CRYPTO_USER_API
123503c8efc1SHerbert Xu	tristate
123603c8efc1SHerbert Xu
1237fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH
1238fe869cdbSHerbert Xu	tristate "User-space interface for hash algorithms"
12397451708fSHerbert Xu	depends on NET
1240fe869cdbSHerbert Xu	select CRYPTO_HASH
1241fe869cdbSHerbert Xu	select CRYPTO_USER_API
1242fe869cdbSHerbert Xu	help
1243fe869cdbSHerbert Xu	  This option enables the user-spaces interface for hash
1244fe869cdbSHerbert Xu	  algorithms.
1245fe869cdbSHerbert Xu
12468ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER
12478ff59090SHerbert Xu	tristate "User-space interface for symmetric key cipher algorithms"
12487451708fSHerbert Xu	depends on NET
12498ff59090SHerbert Xu	select CRYPTO_BLKCIPHER
12508ff59090SHerbert Xu	select CRYPTO_USER_API
12518ff59090SHerbert Xu	help
12528ff59090SHerbert Xu	  This option enables the user-spaces interface for symmetric
12538ff59090SHerbert Xu	  key cipher algorithms.
12548ff59090SHerbert Xu
12551da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
1256964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig
12571da177e4SLinus Torvalds
1258cce9e06dSHerbert Xuendif	# if CRYPTO
1259