xref: /linux/crypto/Kconfig (revision bc94e59662c13516d13e117b6edab4bec487d5a0)
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"
264e4ed83bSNeil Horman	depends on CRYPTO_ANSI_CPRNG
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
31f77f13e2SGilles Espinasse	  this is. Note that CRYPTO_ANSI_CPRNG is required if this
324e4ed83bSNeil Horman	  option is selected
33ccb778e1SNeil Horman
34cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI
35cce9e06dSHerbert Xu	tristate
366a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
37cce9e06dSHerbert Xu	help
38cce9e06dSHerbert Xu	  This option provides the API for cryptographic algorithms.
39cce9e06dSHerbert Xu
406a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2
416a0fcbb4SHerbert Xu	tristate
426a0fcbb4SHerbert Xu
431ae97820SHerbert Xuconfig CRYPTO_AEAD
441ae97820SHerbert Xu	tristate
456a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
461ae97820SHerbert Xu	select CRYPTO_ALGAPI
471ae97820SHerbert Xu
486a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2
496a0fcbb4SHerbert Xu	tristate
506a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
516a0fcbb4SHerbert Xu
525cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER
535cde0af2SHerbert Xu	tristate
546a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
555cde0af2SHerbert Xu	select CRYPTO_ALGAPI
566a0fcbb4SHerbert Xu
576a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2
586a0fcbb4SHerbert Xu	tristate
596a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
606a0fcbb4SHerbert Xu	select CRYPTO_RNG2
610a2e821dSHuang Ying	select CRYPTO_WORKQUEUE
625cde0af2SHerbert Xu
63055bcee3SHerbert Xuconfig CRYPTO_HASH
64055bcee3SHerbert Xu	tristate
656a0fcbb4SHerbert Xu	select CRYPTO_HASH2
66055bcee3SHerbert Xu	select CRYPTO_ALGAPI
67055bcee3SHerbert Xu
686a0fcbb4SHerbert Xuconfig CRYPTO_HASH2
696a0fcbb4SHerbert Xu	tristate
706a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
716a0fcbb4SHerbert Xu
7217f0f4a4SNeil Hormanconfig CRYPTO_RNG
7317f0f4a4SNeil Horman	tristate
746a0fcbb4SHerbert Xu	select CRYPTO_RNG2
7517f0f4a4SNeil Horman	select CRYPTO_ALGAPI
7617f0f4a4SNeil Horman
776a0fcbb4SHerbert Xuconfig CRYPTO_RNG2
786a0fcbb4SHerbert Xu	tristate
796a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
806a0fcbb4SHerbert Xu
81a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP
82a1d2f095SGeert Uytterhoeven	tristate
83*bc94e596SHerbert Xu	select CRYPTO_PCOMP2
84*bc94e596SHerbert Xu	select CRYPTO_ALGAPI
85*bc94e596SHerbert Xu
86*bc94e596SHerbert Xuconfig CRYPTO_PCOMP2
87*bc94e596SHerbert Xu	tristate
88a1d2f095SGeert Uytterhoeven	select CRYPTO_ALGAPI2
89a1d2f095SGeert Uytterhoeven
902b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
912b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
926a0fcbb4SHerbert Xu	select CRYPTO_MANAGER2
932b8c19dbSHerbert Xu	help
942b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
952b8c19dbSHerbert Xu	  cbc(aes).
962b8c19dbSHerbert Xu
976a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2
986a0fcbb4SHerbert Xu	def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
996a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
1006a0fcbb4SHerbert Xu	select CRYPTO_HASH2
1016a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
102*bc94e596SHerbert Xu	select CRYPTO_PCOMP2
1036a0fcbb4SHerbert Xu
104584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
105584fffc8SSebastian Siewior	tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
106584fffc8SSebastian Siewior	depends on EXPERIMENTAL
107584fffc8SSebastian Siewior	help
108584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
109584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
110584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
111584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
112584fffc8SSebastian Siewior	  an external module that requires these functions.
113584fffc8SSebastian Siewior
114584fffc8SSebastian Siewiorconfig CRYPTO_NULL
115584fffc8SSebastian Siewior	tristate "Null algorithms"
116584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
117584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
118d35d2454SHerbert Xu	select CRYPTO_HASH
119584fffc8SSebastian Siewior	help
120584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
121584fffc8SSebastian Siewior
1225068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT
1235068c7a8SSteffen Klassert	tristate "Parallel crypto engine (EXPERIMENTAL)"
1245068c7a8SSteffen Klassert	depends on SMP && EXPERIMENTAL
1255068c7a8SSteffen Klassert	select PADATA
1265068c7a8SSteffen Klassert	select CRYPTO_MANAGER
1275068c7a8SSteffen Klassert	select CRYPTO_AEAD
1285068c7a8SSteffen Klassert	help
1295068c7a8SSteffen Klassert	  This converts an arbitrary crypto algorithm into a parallel
1305068c7a8SSteffen Klassert	  algorithm that executes in kernel threads.
1315068c7a8SSteffen Klassert
13225c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE
13325c38d3fSHuang Ying       tristate
13425c38d3fSHuang Ying
135584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
136584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
137584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
138b8a28251SLoc Ho	select CRYPTO_HASH
139584fffc8SSebastian Siewior	select CRYPTO_MANAGER
140254eff77SHuang Ying	select CRYPTO_WORKQUEUE
141584fffc8SSebastian Siewior	help
142584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
143584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
144584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
145584fffc8SSebastian Siewior
146584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
147584fffc8SSebastian Siewior	tristate "Authenc support"
148584fffc8SSebastian Siewior	select CRYPTO_AEAD
149584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
150584fffc8SSebastian Siewior	select CRYPTO_MANAGER
151584fffc8SSebastian Siewior	select CRYPTO_HASH
152584fffc8SSebastian Siewior	help
153584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
154584fffc8SSebastian Siewior	  This is required for IPSec.
155584fffc8SSebastian Siewior
156584fffc8SSebastian Siewiorconfig CRYPTO_TEST
157584fffc8SSebastian Siewior	tristate "Testing module"
158584fffc8SSebastian Siewior	depends on m
159da7f033dSHerbert Xu	select CRYPTO_MANAGER
160584fffc8SSebastian Siewior	help
161584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
162584fffc8SSebastian Siewior
163584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
164584fffc8SSebastian Siewior
165584fffc8SSebastian Siewiorconfig CRYPTO_CCM
166584fffc8SSebastian Siewior	tristate "CCM support"
167584fffc8SSebastian Siewior	select CRYPTO_CTR
168584fffc8SSebastian Siewior	select CRYPTO_AEAD
169584fffc8SSebastian Siewior	help
170584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
171584fffc8SSebastian Siewior
172584fffc8SSebastian Siewiorconfig CRYPTO_GCM
173584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
174584fffc8SSebastian Siewior	select CRYPTO_CTR
175584fffc8SSebastian Siewior	select CRYPTO_AEAD
1769382d97aSHuang Ying	select CRYPTO_GHASH
177584fffc8SSebastian Siewior	help
178584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
179584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
180584fffc8SSebastian Siewior
181584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
182584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
183584fffc8SSebastian Siewior	select CRYPTO_AEAD
184584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
185a0f000ecSHerbert Xu	select CRYPTO_RNG
186584fffc8SSebastian Siewior	help
187584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
188584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
189584fffc8SSebastian Siewior
190584fffc8SSebastian Siewiorcomment "Block modes"
191584fffc8SSebastian Siewior
192584fffc8SSebastian Siewiorconfig CRYPTO_CBC
193584fffc8SSebastian Siewior	tristate "CBC support"
194584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
195584fffc8SSebastian Siewior	select CRYPTO_MANAGER
196584fffc8SSebastian Siewior	help
197584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
198584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
199584fffc8SSebastian Siewior
200584fffc8SSebastian Siewiorconfig CRYPTO_CTR
201584fffc8SSebastian Siewior	tristate "CTR support"
202584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
203584fffc8SSebastian Siewior	select CRYPTO_SEQIV
204584fffc8SSebastian Siewior	select CRYPTO_MANAGER
205584fffc8SSebastian Siewior	help
206584fffc8SSebastian Siewior	  CTR: Counter mode
207584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
208584fffc8SSebastian Siewior
209584fffc8SSebastian Siewiorconfig CRYPTO_CTS
210584fffc8SSebastian Siewior	tristate "CTS support"
211584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
212584fffc8SSebastian Siewior	help
213584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
214584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
215584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
216584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
217584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
218584fffc8SSebastian Siewior	  for AES encryption.
219584fffc8SSebastian Siewior
220584fffc8SSebastian Siewiorconfig CRYPTO_ECB
221584fffc8SSebastian Siewior	tristate "ECB support"
222584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
223584fffc8SSebastian Siewior	select CRYPTO_MANAGER
224584fffc8SSebastian Siewior	help
225584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
226584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
227584fffc8SSebastian Siewior	  the input block by block.
228584fffc8SSebastian Siewior
229584fffc8SSebastian Siewiorconfig CRYPTO_LRW
230584fffc8SSebastian Siewior	tristate "LRW support (EXPERIMENTAL)"
231584fffc8SSebastian Siewior	depends on EXPERIMENTAL
232584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
233584fffc8SSebastian Siewior	select CRYPTO_MANAGER
234584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
235584fffc8SSebastian Siewior	help
236584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
237584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
238584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
239584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
240584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
241584fffc8SSebastian Siewior
242584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
243584fffc8SSebastian Siewior	tristate "PCBC support"
244584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
245584fffc8SSebastian Siewior	select CRYPTO_MANAGER
246584fffc8SSebastian Siewior	help
247584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
248584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
249584fffc8SSebastian Siewior
250584fffc8SSebastian Siewiorconfig CRYPTO_XTS
251584fffc8SSebastian Siewior	tristate "XTS support (EXPERIMENTAL)"
252584fffc8SSebastian Siewior	depends on EXPERIMENTAL
253584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
254584fffc8SSebastian Siewior	select CRYPTO_MANAGER
255584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
256584fffc8SSebastian Siewior	help
257584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
258584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
259584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
260584fffc8SSebastian Siewior
261150c7e85SHuang Yingconfig CRYPTO_FPU
262150c7e85SHuang Ying	tristate
263150c7e85SHuang Ying	select CRYPTO_BLKCIPHER
264150c7e85SHuang Ying	select CRYPTO_MANAGER
265150c7e85SHuang Ying
266584fffc8SSebastian Siewiorcomment "Hash modes"
267584fffc8SSebastian Siewior
2681da177e4SLinus Torvaldsconfig CRYPTO_HMAC
2698425165dSHerbert Xu	tristate "HMAC support"
2700796ae06SHerbert Xu	select CRYPTO_HASH
27143518407SHerbert Xu	select CRYPTO_MANAGER
2721da177e4SLinus Torvalds	help
2731da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
2741da177e4SLinus Torvalds	  This is required for IPSec.
2751da177e4SLinus Torvalds
276333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
277333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
278333b0d7eSKazunori MIYAZAWA	depends on EXPERIMENTAL
279333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
280333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
281333b0d7eSKazunori MIYAZAWA	help
282333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
283333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
284333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
285333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
286333b0d7eSKazunori MIYAZAWA
287f1939f7cSShane Wangconfig CRYPTO_VMAC
288f1939f7cSShane Wang	tristate "VMAC support"
289f1939f7cSShane Wang	depends on EXPERIMENTAL
290f1939f7cSShane Wang	select CRYPTO_HASH
291f1939f7cSShane Wang	select CRYPTO_MANAGER
292f1939f7cSShane Wang	help
293f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
294f1939f7cSShane Wang	  very high speed on 64-bit architectures.
295f1939f7cSShane Wang
296f1939f7cSShane Wang	  See also:
297f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
298f1939f7cSShane Wang
299584fffc8SSebastian Siewiorcomment "Digest"
300584fffc8SSebastian Siewior
301584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
302584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
3035773a3e6SHerbert Xu	select CRYPTO_HASH
3041da177e4SLinus Torvalds	help
305584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
306584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
30769c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
3081da177e4SLinus Torvalds
3098cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
3108cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
3118cb51ba8SAustin Zhang	depends on X86
3128cb51ba8SAustin Zhang	select CRYPTO_HASH
3138cb51ba8SAustin Zhang	help
3148cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
3158cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
3168cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
3178cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
3188cb51ba8SAustin Zhang	  gain performance compared with software implementation.
3198cb51ba8SAustin Zhang	  Module will be crc32c-intel.
3208cb51ba8SAustin Zhang
3212cdc6899SHuang Yingconfig CRYPTO_GHASH
3222cdc6899SHuang Ying	tristate "GHASH digest algorithm"
3232cdc6899SHuang Ying	select CRYPTO_SHASH
3242cdc6899SHuang Ying	select CRYPTO_GF128MUL
3252cdc6899SHuang Ying	help
3262cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
3272cdc6899SHuang Ying
3281da177e4SLinus Torvaldsconfig CRYPTO_MD4
3291da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
330808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3311da177e4SLinus Torvalds	help
3321da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
3331da177e4SLinus Torvalds
3341da177e4SLinus Torvaldsconfig CRYPTO_MD5
3351da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
33614b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3371da177e4SLinus Torvalds	help
3381da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
3391da177e4SLinus Torvalds
340584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
341584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
34219e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
343584fffc8SSebastian Siewior	help
344584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
345584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
346584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
347584fffc8SSebastian Siewior	  of the algorithm.
348584fffc8SSebastian Siewior
34982798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
35082798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
3517c4468bcSHerbert Xu	select CRYPTO_HASH
35282798f90SAdrian-Ken Rueegsegger	help
35382798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
35482798f90SAdrian-Ken Rueegsegger
35582798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
35682798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for RIPEMD. For other use cases
35782798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
35882798f90SAdrian-Ken Rueegsegger
35982798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
36082798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
36182798f90SAdrian-Ken Rueegsegger
36282798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
36382798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
364e5835fbaSHerbert Xu	select CRYPTO_HASH
36582798f90SAdrian-Ken Rueegsegger	help
36682798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
36782798f90SAdrian-Ken Rueegsegger
36882798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
36982798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
370b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
371b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
37282798f90SAdrian-Ken Rueegsegger
373b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
374b6d44341SAdrian Bunk	  against RIPEMD-160.
375534fe2c1SAdrian-Ken Rueegsegger
376534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
377534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
378534fe2c1SAdrian-Ken Rueegsegger
379534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
380534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
381d8a5e2e9SHerbert Xu	select CRYPTO_HASH
382534fe2c1SAdrian-Ken Rueegsegger	help
383b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
384b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
385b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
386b6d44341SAdrian Bunk	  (than RIPEMD-128).
387534fe2c1SAdrian-Ken Rueegsegger
388534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
389534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
390534fe2c1SAdrian-Ken Rueegsegger
391534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
392534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
3933b8efb4cSHerbert Xu	select CRYPTO_HASH
394534fe2c1SAdrian-Ken Rueegsegger	help
395b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
396b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
397b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
398b6d44341SAdrian Bunk	  (than RIPEMD-160).
399534fe2c1SAdrian-Ken Rueegsegger
40082798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
40182798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
40282798f90SAdrian-Ken Rueegsegger
4031da177e4SLinus Torvaldsconfig CRYPTO_SHA1
4041da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
40554ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4061da177e4SLinus Torvalds	help
4071da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
4081da177e4SLinus Torvalds
4091da177e4SLinus Torvaldsconfig CRYPTO_SHA256
410cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
41150e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
4141da177e4SLinus Torvalds
4151da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
4161da177e4SLinus Torvalds	  security against collision attacks.
4171da177e4SLinus Torvalds
418cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
419cd12fb90SJonathan Lynch	  of security against collision attacks.
420cd12fb90SJonathan Lynch
4211da177e4SLinus Torvaldsconfig CRYPTO_SHA512
4221da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
423bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4241da177e4SLinus Torvalds	help
4251da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
4261da177e4SLinus Torvalds
4271da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
4281da177e4SLinus Torvalds	  security against collision attacks.
4291da177e4SLinus Torvalds
4301da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
4311da177e4SLinus Torvalds	  of security against collision attacks.
4321da177e4SLinus Torvalds
4331da177e4SLinus Torvaldsconfig CRYPTO_TGR192
4341da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
435f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4361da177e4SLinus Torvalds	help
4371da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
4381da177e4SLinus Torvalds
4391da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
4401da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
4411da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
4421da177e4SLinus Torvalds
4431da177e4SLinus Torvalds	  See also:
4441da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
4451da177e4SLinus Torvalds
446584fffc8SSebastian Siewiorconfig CRYPTO_WP512
447584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
4484946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4491da177e4SLinus Torvalds	help
450584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
4511da177e4SLinus Torvalds
452584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
453584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
4541da177e4SLinus Torvalds
4551da177e4SLinus Torvalds	  See also:
456584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
4571da177e4SLinus Torvalds
4580e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
4590e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
4603e02e5cbSHuang Ying	depends on (X86 || UML_X86) && 64BIT
4610e1227d3SHuang Ying	select CRYPTO_SHASH
4620e1227d3SHuang Ying	select CRYPTO_CRYPTD
4630e1227d3SHuang Ying	help
4640e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
4650e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
4660e1227d3SHuang Ying
467584fffc8SSebastian Siewiorcomment "Ciphers"
4681da177e4SLinus Torvalds
4691da177e4SLinus Torvaldsconfig CRYPTO_AES
4701da177e4SLinus Torvalds	tristate "AES cipher algorithms"
471cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4721da177e4SLinus Torvalds	help
4731da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
4741da177e4SLinus Torvalds	  algorithm.
4751da177e4SLinus Torvalds
4761da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
4771da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
4781da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
4791da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
4801da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
4811da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
4821da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
4831da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
4841da177e4SLinus Torvalds
4851da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
4861da177e4SLinus Torvalds
4871da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
4881da177e4SLinus Torvalds
4891da177e4SLinus Torvaldsconfig CRYPTO_AES_586
4901da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
491cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
492cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4935157dea8SSebastian Siewior	select CRYPTO_AES
4941da177e4SLinus Torvalds	help
4951da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
4961da177e4SLinus Torvalds	  algorithm.
4971da177e4SLinus Torvalds
4981da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
4991da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
5001da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
5011da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
5021da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
5031da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
5041da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
5051da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
5061da177e4SLinus Torvalds
5071da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
5081da177e4SLinus Torvalds
5091da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
5101da177e4SLinus Torvalds
511a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
512a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
513cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
514cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
51581190b32SSebastian Siewior	select CRYPTO_AES
516a2a892a2SAndreas Steinmetz	help
517a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
518a2a892a2SAndreas Steinmetz	  algorithm.
519a2a892a2SAndreas Steinmetz
520a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
521a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
522a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
523a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
524a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
525a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
526a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
527a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
528a2a892a2SAndreas Steinmetz
529a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
530a2a892a2SAndreas Steinmetz
531a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
532a2a892a2SAndreas Steinmetz
53354b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
53454b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
53554b6a1bdSHuang Ying	depends on (X86 || UML_X86) && 64BIT
53654b6a1bdSHuang Ying	select CRYPTO_AES_X86_64
53754b6a1bdSHuang Ying	select CRYPTO_CRYPTD
53854b6a1bdSHuang Ying	select CRYPTO_ALGAPI
5392cf4ac8bSHuang Ying	select CRYPTO_FPU
54054b6a1bdSHuang Ying	help
54154b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
54254b6a1bdSHuang Ying
54354b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
54454b6a1bdSHuang Ying	  algorithm.
54554b6a1bdSHuang Ying
54654b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
54754b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
54854b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
54954b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
55054b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
55154b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
55254b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
55354b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
55454b6a1bdSHuang Ying
55554b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
55654b6a1bdSHuang Ying
55754b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
55854b6a1bdSHuang Ying
5592cf4ac8bSHuang Ying	  In addition to AES cipher algorithm support, the
5602cf4ac8bSHuang Ying	  acceleration for some popular block cipher mode is supported
5612cf4ac8bSHuang Ying	  too, including ECB, CBC, CTR, LRW, PCBC, XTS.
5622cf4ac8bSHuang Ying
5631da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
5641da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
565cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
5661da177e4SLinus Torvalds	help
5671da177e4SLinus Torvalds	  Anubis cipher algorithm.
5681da177e4SLinus Torvalds
5691da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
5701da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
5711da177e4SLinus Torvalds	  in the NESSIE competition.
5721da177e4SLinus Torvalds
5731da177e4SLinus Torvalds	  See also:
5741da177e4SLinus Torvalds	  <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
5751da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
5761da177e4SLinus Torvalds
577584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
578584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
579e2ee95b8SHye-Shik Chang	select CRYPTO_ALGAPI
580e2ee95b8SHye-Shik Chang	help
581584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
582e2ee95b8SHye-Shik Chang
583584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
584584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
585584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
586584fffc8SSebastian Siewior	  weakness of the algorithm.
587584fffc8SSebastian Siewior
588584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
589584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
590584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
591584fffc8SSebastian Siewior	help
592584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
593584fffc8SSebastian Siewior
594584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
595584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
596584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
597e2ee95b8SHye-Shik Chang
598e2ee95b8SHye-Shik Chang	  See also:
599584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
600584fffc8SSebastian Siewior
601584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
602584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
603584fffc8SSebastian Siewior	depends on CRYPTO
604584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
605584fffc8SSebastian Siewior	help
606584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
607584fffc8SSebastian Siewior
608584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
609584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
610584fffc8SSebastian Siewior
611584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
612584fffc8SSebastian Siewior
613584fffc8SSebastian Siewior	  See also:
614584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
615584fffc8SSebastian Siewior
616584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
617584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
618584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
619584fffc8SSebastian Siewior	help
620584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
621584fffc8SSebastian Siewior	  described in RFC2144.
622584fffc8SSebastian Siewior
623584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
624584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
625584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
626584fffc8SSebastian Siewior	help
627584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
628584fffc8SSebastian Siewior	  described in RFC2612.
629584fffc8SSebastian Siewior
630584fffc8SSebastian Siewiorconfig CRYPTO_DES
631584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
632584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
633584fffc8SSebastian Siewior	help
634584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
635584fffc8SSebastian Siewior
636584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
637584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
638584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
639584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
640584fffc8SSebastian Siewior	help
641584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
642584fffc8SSebastian Siewior
643584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
644584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
645584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
646584fffc8SSebastian Siewior	help
647584fffc8SSebastian Siewior	  Khazad cipher algorithm.
648584fffc8SSebastian Siewior
649584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
650584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
651584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
652584fffc8SSebastian Siewior
653584fffc8SSebastian Siewior	  See also:
654584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
655e2ee95b8SHye-Shik Chang
6562407d608STan Swee Hengconfig CRYPTO_SALSA20
6572407d608STan Swee Heng	tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
6582407d608STan Swee Heng	depends on EXPERIMENTAL
6592407d608STan Swee Heng	select CRYPTO_BLKCIPHER
6602407d608STan Swee Heng	help
6612407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
6622407d608STan Swee Heng
6632407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
6642407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
6652407d608STan Swee Heng
6662407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
6672407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
6681da177e4SLinus Torvalds
669974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
670974e4b75STan Swee Heng	tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
671974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
672974e4b75STan Swee Heng	depends on EXPERIMENTAL
673974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
674974e4b75STan Swee Heng	help
675974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
676974e4b75STan Swee Heng
677974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
678974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
679974e4b75STan Swee Heng
680974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
681974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
682974e4b75STan Swee Heng
6839a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
6849a7dafbbSTan Swee Heng	tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
6859a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
6869a7dafbbSTan Swee Heng	depends on EXPERIMENTAL
6879a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
6889a7dafbbSTan Swee Heng	help
6899a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
6909a7dafbbSTan Swee Heng
6919a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
6929a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
6939a7dafbbSTan Swee Heng
6949a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
6959a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
6969a7dafbbSTan Swee Heng
697584fffc8SSebastian Siewiorconfig CRYPTO_SEED
698584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
699584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
700584fffc8SSebastian Siewior	help
701584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
702584fffc8SSebastian Siewior
703584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
704584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
705584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
706584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
707584fffc8SSebastian Siewior
708584fffc8SSebastian Siewior	  See also:
709584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
710584fffc8SSebastian Siewior
711584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
712584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
713584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
714584fffc8SSebastian Siewior	help
715584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
716584fffc8SSebastian Siewior
717584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
718584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
719584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
720584fffc8SSebastian Siewior
721584fffc8SSebastian Siewior	  See also:
722584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
723584fffc8SSebastian Siewior
724584fffc8SSebastian Siewiorconfig CRYPTO_TEA
725584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
726584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
727584fffc8SSebastian Siewior	help
728584fffc8SSebastian Siewior	  TEA cipher algorithm.
729584fffc8SSebastian Siewior
730584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
731584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
732584fffc8SSebastian Siewior	  little memory.
733584fffc8SSebastian Siewior
734584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
735584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
736584fffc8SSebastian Siewior	  in the TEA algorithm.
737584fffc8SSebastian Siewior
738584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
739584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
740584fffc8SSebastian Siewior
741584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
742584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
743584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
744584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
745584fffc8SSebastian Siewior	help
746584fffc8SSebastian Siewior	  Twofish cipher algorithm.
747584fffc8SSebastian Siewior
748584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
749584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
750584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
751584fffc8SSebastian Siewior	  bits.
752584fffc8SSebastian Siewior
753584fffc8SSebastian Siewior	  See also:
754584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
755584fffc8SSebastian Siewior
756584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
757584fffc8SSebastian Siewior	tristate
758584fffc8SSebastian Siewior	help
759584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
760584fffc8SSebastian Siewior	  generic c and the assembler implementations.
761584fffc8SSebastian Siewior
762584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
763584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
764584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
765584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
766584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
767584fffc8SSebastian Siewior	help
768584fffc8SSebastian Siewior	  Twofish cipher algorithm.
769584fffc8SSebastian Siewior
770584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
771584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
772584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
773584fffc8SSebastian Siewior	  bits.
774584fffc8SSebastian Siewior
775584fffc8SSebastian Siewior	  See also:
776584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
777584fffc8SSebastian Siewior
778584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
779584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
780584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
781584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
782584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
783584fffc8SSebastian Siewior	help
784584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
785584fffc8SSebastian Siewior
786584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
787584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
788584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
789584fffc8SSebastian Siewior	  bits.
790584fffc8SSebastian Siewior
791584fffc8SSebastian Siewior	  See also:
792584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
793584fffc8SSebastian Siewior
794584fffc8SSebastian Siewiorcomment "Compression"
795584fffc8SSebastian Siewior
7961da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
7971da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
798cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7991da177e4SLinus Torvalds	select ZLIB_INFLATE
8001da177e4SLinus Torvalds	select ZLIB_DEFLATE
8011da177e4SLinus Torvalds	help
8021da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
8031da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
8041da177e4SLinus Torvalds
8051da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
8061da177e4SLinus Torvalds
807bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB
808bf68e65eSGeert Uytterhoeven	tristate "Zlib compression algorithm"
809bf68e65eSGeert Uytterhoeven	select CRYPTO_PCOMP
810bf68e65eSGeert Uytterhoeven	select ZLIB_INFLATE
811bf68e65eSGeert Uytterhoeven	select ZLIB_DEFLATE
812bf68e65eSGeert Uytterhoeven	select NLATTR
813bf68e65eSGeert Uytterhoeven	help
814bf68e65eSGeert Uytterhoeven	  This is the zlib algorithm.
815bf68e65eSGeert Uytterhoeven
8160b77abb3SZoltan Sogorconfig CRYPTO_LZO
8170b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
8180b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
8190b77abb3SZoltan Sogor	select LZO_COMPRESS
8200b77abb3SZoltan Sogor	select LZO_DECOMPRESS
8210b77abb3SZoltan Sogor	help
8220b77abb3SZoltan Sogor	  This is the LZO algorithm.
8230b77abb3SZoltan Sogor
82417f0f4a4SNeil Hormancomment "Random Number Generation"
82517f0f4a4SNeil Horman
82617f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
82717f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
8284e4ed83bSNeil Horman	default m
82917f0f4a4SNeil Horman	select CRYPTO_AES
83017f0f4a4SNeil Horman	select CRYPTO_RNG
83117f0f4a4SNeil Horman	help
83217f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
83317f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
8347dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
8357dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
83617f0f4a4SNeil Horman
8371da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
8381da177e4SLinus Torvalds
839cce9e06dSHerbert Xuendif	# if CRYPTO
840