xref: /linux/crypto/Kconfig (revision 00ca28a507b215dcd121735f16764ea4173c4ff9)
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
83bc94e596SHerbert Xu	select CRYPTO_PCOMP2
84bc94e596SHerbert Xu	select CRYPTO_ALGAPI
85bc94e596SHerbert Xu
86bc94e596SHerbert Xuconfig CRYPTO_PCOMP2
87bc94e596SHerbert 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
102bc94e596SHerbert Xu	select CRYPTO_PCOMP2
1036a0fcbb4SHerbert Xu
104326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS
105326a6346SHerbert Xu	bool "Disable run-time self tests"
106*00ca28a5SHerbert Xu	default y
107*00ca28a5SHerbert Xu	depends on CRYPTO_MANAGER2
1080b767f96SAlexander Shishkin	help
109326a6346SHerbert Xu	  Disable run-time self tests that normally take place at
110326a6346SHerbert Xu	  algorithm registration.
1110b767f96SAlexander Shishkin
112584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
113584fffc8SSebastian Siewior	tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
114584fffc8SSebastian Siewior	depends on EXPERIMENTAL
115584fffc8SSebastian Siewior	help
116584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
117584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
118584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
119584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
120584fffc8SSebastian Siewior	  an external module that requires these functions.
121584fffc8SSebastian Siewior
122584fffc8SSebastian Siewiorconfig CRYPTO_NULL
123584fffc8SSebastian Siewior	tristate "Null algorithms"
124584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
125584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
126d35d2454SHerbert Xu	select CRYPTO_HASH
127584fffc8SSebastian Siewior	help
128584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
129584fffc8SSebastian Siewior
1305068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT
1315068c7a8SSteffen Klassert	tristate "Parallel crypto engine (EXPERIMENTAL)"
1325068c7a8SSteffen Klassert	depends on SMP && EXPERIMENTAL
1335068c7a8SSteffen Klassert	select PADATA
1345068c7a8SSteffen Klassert	select CRYPTO_MANAGER
1355068c7a8SSteffen Klassert	select CRYPTO_AEAD
1365068c7a8SSteffen Klassert	help
1375068c7a8SSteffen Klassert	  This converts an arbitrary crypto algorithm into a parallel
1385068c7a8SSteffen Klassert	  algorithm that executes in kernel threads.
1395068c7a8SSteffen Klassert
14025c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE
14125c38d3fSHuang Ying       tristate
14225c38d3fSHuang Ying
143584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
144584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
145584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
146b8a28251SLoc Ho	select CRYPTO_HASH
147584fffc8SSebastian Siewior	select CRYPTO_MANAGER
148254eff77SHuang Ying	select CRYPTO_WORKQUEUE
149584fffc8SSebastian Siewior	help
150584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
151584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
152584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
153584fffc8SSebastian Siewior
154584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
155584fffc8SSebastian Siewior	tristate "Authenc support"
156584fffc8SSebastian Siewior	select CRYPTO_AEAD
157584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
158584fffc8SSebastian Siewior	select CRYPTO_MANAGER
159584fffc8SSebastian Siewior	select CRYPTO_HASH
160584fffc8SSebastian Siewior	help
161584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
162584fffc8SSebastian Siewior	  This is required for IPSec.
163584fffc8SSebastian Siewior
164584fffc8SSebastian Siewiorconfig CRYPTO_TEST
165584fffc8SSebastian Siewior	tristate "Testing module"
166584fffc8SSebastian Siewior	depends on m
167da7f033dSHerbert Xu	select CRYPTO_MANAGER
168584fffc8SSebastian Siewior	help
169584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
170584fffc8SSebastian Siewior
171584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
172584fffc8SSebastian Siewior
173584fffc8SSebastian Siewiorconfig CRYPTO_CCM
174584fffc8SSebastian Siewior	tristate "CCM support"
175584fffc8SSebastian Siewior	select CRYPTO_CTR
176584fffc8SSebastian Siewior	select CRYPTO_AEAD
177584fffc8SSebastian Siewior	help
178584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
179584fffc8SSebastian Siewior
180584fffc8SSebastian Siewiorconfig CRYPTO_GCM
181584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
182584fffc8SSebastian Siewior	select CRYPTO_CTR
183584fffc8SSebastian Siewior	select CRYPTO_AEAD
1849382d97aSHuang Ying	select CRYPTO_GHASH
185584fffc8SSebastian Siewior	help
186584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
187584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
188584fffc8SSebastian Siewior
189584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
190584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
191584fffc8SSebastian Siewior	select CRYPTO_AEAD
192584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
193a0f000ecSHerbert Xu	select CRYPTO_RNG
194584fffc8SSebastian Siewior	help
195584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
196584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
197584fffc8SSebastian Siewior
198584fffc8SSebastian Siewiorcomment "Block modes"
199584fffc8SSebastian Siewior
200584fffc8SSebastian Siewiorconfig CRYPTO_CBC
201584fffc8SSebastian Siewior	tristate "CBC support"
202584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
203584fffc8SSebastian Siewior	select CRYPTO_MANAGER
204584fffc8SSebastian Siewior	help
205584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
206584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
207584fffc8SSebastian Siewior
208584fffc8SSebastian Siewiorconfig CRYPTO_CTR
209584fffc8SSebastian Siewior	tristate "CTR support"
210584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
211584fffc8SSebastian Siewior	select CRYPTO_SEQIV
212584fffc8SSebastian Siewior	select CRYPTO_MANAGER
213584fffc8SSebastian Siewior	help
214584fffc8SSebastian Siewior	  CTR: Counter mode
215584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
216584fffc8SSebastian Siewior
217584fffc8SSebastian Siewiorconfig CRYPTO_CTS
218584fffc8SSebastian Siewior	tristate "CTS support"
219584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
220584fffc8SSebastian Siewior	help
221584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
222584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
223584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
224584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
225584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
226584fffc8SSebastian Siewior	  for AES encryption.
227584fffc8SSebastian Siewior
228584fffc8SSebastian Siewiorconfig CRYPTO_ECB
229584fffc8SSebastian Siewior	tristate "ECB support"
230584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
231584fffc8SSebastian Siewior	select CRYPTO_MANAGER
232584fffc8SSebastian Siewior	help
233584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
234584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
235584fffc8SSebastian Siewior	  the input block by block.
236584fffc8SSebastian Siewior
237584fffc8SSebastian Siewiorconfig CRYPTO_LRW
238584fffc8SSebastian Siewior	tristate "LRW support (EXPERIMENTAL)"
239584fffc8SSebastian Siewior	depends on EXPERIMENTAL
240584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
241584fffc8SSebastian Siewior	select CRYPTO_MANAGER
242584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
243584fffc8SSebastian Siewior	help
244584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
245584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
246584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
247584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
248584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
249584fffc8SSebastian Siewior
250584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
251584fffc8SSebastian Siewior	tristate "PCBC support"
252584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
253584fffc8SSebastian Siewior	select CRYPTO_MANAGER
254584fffc8SSebastian Siewior	help
255584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
256584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
257584fffc8SSebastian Siewior
258584fffc8SSebastian Siewiorconfig CRYPTO_XTS
259584fffc8SSebastian Siewior	tristate "XTS support (EXPERIMENTAL)"
260584fffc8SSebastian Siewior	depends on EXPERIMENTAL
261584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
262584fffc8SSebastian Siewior	select CRYPTO_MANAGER
263584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
264584fffc8SSebastian Siewior	help
265584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
266584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
267584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
268584fffc8SSebastian Siewior
269150c7e85SHuang Yingconfig CRYPTO_FPU
270150c7e85SHuang Ying	tristate
271150c7e85SHuang Ying	select CRYPTO_BLKCIPHER
272150c7e85SHuang Ying	select CRYPTO_MANAGER
273150c7e85SHuang Ying
274584fffc8SSebastian Siewiorcomment "Hash modes"
275584fffc8SSebastian Siewior
2761da177e4SLinus Torvaldsconfig CRYPTO_HMAC
2778425165dSHerbert Xu	tristate "HMAC support"
2780796ae06SHerbert Xu	select CRYPTO_HASH
27943518407SHerbert Xu	select CRYPTO_MANAGER
2801da177e4SLinus Torvalds	help
2811da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
2821da177e4SLinus Torvalds	  This is required for IPSec.
2831da177e4SLinus Torvalds
284333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
285333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
286333b0d7eSKazunori MIYAZAWA	depends on EXPERIMENTAL
287333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
288333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
289333b0d7eSKazunori MIYAZAWA	help
290333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
291333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
292333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
293333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
294333b0d7eSKazunori MIYAZAWA
295f1939f7cSShane Wangconfig CRYPTO_VMAC
296f1939f7cSShane Wang	tristate "VMAC support"
297f1939f7cSShane Wang	depends on EXPERIMENTAL
298f1939f7cSShane Wang	select CRYPTO_HASH
299f1939f7cSShane Wang	select CRYPTO_MANAGER
300f1939f7cSShane Wang	help
301f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
302f1939f7cSShane Wang	  very high speed on 64-bit architectures.
303f1939f7cSShane Wang
304f1939f7cSShane Wang	  See also:
305f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
306f1939f7cSShane Wang
307584fffc8SSebastian Siewiorcomment "Digest"
308584fffc8SSebastian Siewior
309584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
310584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
3115773a3e6SHerbert Xu	select CRYPTO_HASH
3121da177e4SLinus Torvalds	help
313584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
314584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
31569c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
3161da177e4SLinus Torvalds
3178cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
3188cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
3198cb51ba8SAustin Zhang	depends on X86
3208cb51ba8SAustin Zhang	select CRYPTO_HASH
3218cb51ba8SAustin Zhang	help
3228cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
3238cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
3248cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
3258cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
3268cb51ba8SAustin Zhang	  gain performance compared with software implementation.
3278cb51ba8SAustin Zhang	  Module will be crc32c-intel.
3288cb51ba8SAustin Zhang
3292cdc6899SHuang Yingconfig CRYPTO_GHASH
3302cdc6899SHuang Ying	tristate "GHASH digest algorithm"
3312cdc6899SHuang Ying	select CRYPTO_SHASH
3322cdc6899SHuang Ying	select CRYPTO_GF128MUL
3332cdc6899SHuang Ying	help
3342cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
3352cdc6899SHuang Ying
3361da177e4SLinus Torvaldsconfig CRYPTO_MD4
3371da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
338808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3391da177e4SLinus Torvalds	help
3401da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
3411da177e4SLinus Torvalds
3421da177e4SLinus Torvaldsconfig CRYPTO_MD5
3431da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
34414b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
3451da177e4SLinus Torvalds	help
3461da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
3471da177e4SLinus Torvalds
348584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
349584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
35019e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
351584fffc8SSebastian Siewior	help
352584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
353584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
354584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
355584fffc8SSebastian Siewior	  of the algorithm.
356584fffc8SSebastian Siewior
35782798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
35882798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
3597c4468bcSHerbert Xu	select CRYPTO_HASH
36082798f90SAdrian-Ken Rueegsegger	help
36182798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
36282798f90SAdrian-Ken Rueegsegger
36382798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
36482798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for RIPEMD. For other use cases
36582798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
36682798f90SAdrian-Ken Rueegsegger
36782798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
36882798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
36982798f90SAdrian-Ken Rueegsegger
37082798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
37182798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
372e5835fbaSHerbert Xu	select CRYPTO_HASH
37382798f90SAdrian-Ken Rueegsegger	help
37482798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
37582798f90SAdrian-Ken Rueegsegger
37682798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
37782798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
378b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
379b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
38082798f90SAdrian-Ken Rueegsegger
381b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
382b6d44341SAdrian Bunk	  against RIPEMD-160.
383534fe2c1SAdrian-Ken Rueegsegger
384534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
385534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
386534fe2c1SAdrian-Ken Rueegsegger
387534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
388534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
389d8a5e2e9SHerbert Xu	select CRYPTO_HASH
390534fe2c1SAdrian-Ken Rueegsegger	help
391b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
392b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
393b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
394b6d44341SAdrian Bunk	  (than RIPEMD-128).
395534fe2c1SAdrian-Ken Rueegsegger
396534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
397534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
398534fe2c1SAdrian-Ken Rueegsegger
399534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
400534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
4013b8efb4cSHerbert Xu	select CRYPTO_HASH
402534fe2c1SAdrian-Ken Rueegsegger	help
403b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
404b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
405b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
406b6d44341SAdrian Bunk	  (than RIPEMD-160).
407534fe2c1SAdrian-Ken Rueegsegger
40882798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
40982798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
41082798f90SAdrian-Ken Rueegsegger
4111da177e4SLinus Torvaldsconfig CRYPTO_SHA1
4121da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
41354ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4141da177e4SLinus Torvalds	help
4151da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
4161da177e4SLinus Torvalds
4171da177e4SLinus Torvaldsconfig CRYPTO_SHA256
418cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
41950e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4201da177e4SLinus Torvalds	help
4211da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
4221da177e4SLinus Torvalds
4231da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
4241da177e4SLinus Torvalds	  security against collision attacks.
4251da177e4SLinus Torvalds
426cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
427cd12fb90SJonathan Lynch	  of security against collision attacks.
428cd12fb90SJonathan Lynch
4291da177e4SLinus Torvaldsconfig CRYPTO_SHA512
4301da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
431bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4321da177e4SLinus Torvalds	help
4331da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
4341da177e4SLinus Torvalds
4351da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
4361da177e4SLinus Torvalds	  security against collision attacks.
4371da177e4SLinus Torvalds
4381da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
4391da177e4SLinus Torvalds	  of security against collision attacks.
4401da177e4SLinus Torvalds
4411da177e4SLinus Torvaldsconfig CRYPTO_TGR192
4421da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
443f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4441da177e4SLinus Torvalds	help
4451da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
4461da177e4SLinus Torvalds
4471da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
4481da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
4491da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
4501da177e4SLinus Torvalds
4511da177e4SLinus Torvalds	  See also:
4521da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
4531da177e4SLinus Torvalds
454584fffc8SSebastian Siewiorconfig CRYPTO_WP512
455584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
4564946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
4571da177e4SLinus Torvalds	help
458584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
4591da177e4SLinus Torvalds
460584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
461584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
4621da177e4SLinus Torvalds
4631da177e4SLinus Torvalds	  See also:
464584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
4651da177e4SLinus Torvalds
4660e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
4670e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
4683e02e5cbSHuang Ying	depends on (X86 || UML_X86) && 64BIT
4690e1227d3SHuang Ying	select CRYPTO_SHASH
4700e1227d3SHuang Ying	select CRYPTO_CRYPTD
4710e1227d3SHuang Ying	help
4720e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
4730e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
4740e1227d3SHuang Ying
475584fffc8SSebastian Siewiorcomment "Ciphers"
4761da177e4SLinus Torvalds
4771da177e4SLinus Torvaldsconfig CRYPTO_AES
4781da177e4SLinus Torvalds	tristate "AES cipher algorithms"
479cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4801da177e4SLinus Torvalds	help
4811da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
4821da177e4SLinus Torvalds	  algorithm.
4831da177e4SLinus Torvalds
4841da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
4851da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
4861da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
4871da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
4881da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
4891da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
4901da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
4911da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
4921da177e4SLinus Torvalds
4931da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
4941da177e4SLinus Torvalds
4951da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig CRYPTO_AES_586
4981da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
499cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
500cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
5015157dea8SSebastian Siewior	select CRYPTO_AES
5021da177e4SLinus Torvalds	help
5031da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
5041da177e4SLinus Torvalds	  algorithm.
5051da177e4SLinus Torvalds
5061da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
5071da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
5081da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
5091da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
5101da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
5111da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
5121da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
5131da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
5141da177e4SLinus Torvalds
5151da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
5161da177e4SLinus Torvalds
5171da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
5181da177e4SLinus Torvalds
519a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
520a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
521cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
522cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
52381190b32SSebastian Siewior	select CRYPTO_AES
524a2a892a2SAndreas Steinmetz	help
525a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
526a2a892a2SAndreas Steinmetz	  algorithm.
527a2a892a2SAndreas Steinmetz
528a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
529a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
530a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
531a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
532a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
533a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
534a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
535a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
536a2a892a2SAndreas Steinmetz
537a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
538a2a892a2SAndreas Steinmetz
539a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
540a2a892a2SAndreas Steinmetz
54154b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
54254b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
54354b6a1bdSHuang Ying	depends on (X86 || UML_X86) && 64BIT
54454b6a1bdSHuang Ying	select CRYPTO_AES_X86_64
54554b6a1bdSHuang Ying	select CRYPTO_CRYPTD
54654b6a1bdSHuang Ying	select CRYPTO_ALGAPI
5472cf4ac8bSHuang Ying	select CRYPTO_FPU
54854b6a1bdSHuang Ying	help
54954b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
55054b6a1bdSHuang Ying
55154b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
55254b6a1bdSHuang Ying	  algorithm.
55354b6a1bdSHuang Ying
55454b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
55554b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
55654b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
55754b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
55854b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
55954b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
56054b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
56154b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
56254b6a1bdSHuang Ying
56354b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
56454b6a1bdSHuang Ying
56554b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
56654b6a1bdSHuang Ying
5672cf4ac8bSHuang Ying	  In addition to AES cipher algorithm support, the
5682cf4ac8bSHuang Ying	  acceleration for some popular block cipher mode is supported
5692cf4ac8bSHuang Ying	  too, including ECB, CBC, CTR, LRW, PCBC, XTS.
5702cf4ac8bSHuang Ying
5711da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
5721da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
573cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
5741da177e4SLinus Torvalds	help
5751da177e4SLinus Torvalds	  Anubis cipher algorithm.
5761da177e4SLinus Torvalds
5771da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
5781da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
5791da177e4SLinus Torvalds	  in the NESSIE competition.
5801da177e4SLinus Torvalds
5811da177e4SLinus Torvalds	  See also:
5821da177e4SLinus Torvalds	  <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
5831da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
5841da177e4SLinus Torvalds
585584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
586584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
587e2ee95b8SHye-Shik Chang	select CRYPTO_ALGAPI
588e2ee95b8SHye-Shik Chang	help
589584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
590e2ee95b8SHye-Shik Chang
591584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
592584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
593584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
594584fffc8SSebastian Siewior	  weakness of the algorithm.
595584fffc8SSebastian Siewior
596584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
597584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
598584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
599584fffc8SSebastian Siewior	help
600584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
601584fffc8SSebastian Siewior
602584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
603584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
604584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
605e2ee95b8SHye-Shik Chang
606e2ee95b8SHye-Shik Chang	  See also:
607584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
608584fffc8SSebastian Siewior
609584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
610584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
611584fffc8SSebastian Siewior	depends on CRYPTO
612584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
613584fffc8SSebastian Siewior	help
614584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
615584fffc8SSebastian Siewior
616584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
617584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
618584fffc8SSebastian Siewior
619584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
620584fffc8SSebastian Siewior
621584fffc8SSebastian Siewior	  See also:
622584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
623584fffc8SSebastian Siewior
624584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
625584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
626584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
627584fffc8SSebastian Siewior	help
628584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
629584fffc8SSebastian Siewior	  described in RFC2144.
630584fffc8SSebastian Siewior
631584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
632584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
633584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
634584fffc8SSebastian Siewior	help
635584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
636584fffc8SSebastian Siewior	  described in RFC2612.
637584fffc8SSebastian Siewior
638584fffc8SSebastian Siewiorconfig CRYPTO_DES
639584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
640584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
641584fffc8SSebastian Siewior	help
642584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
643584fffc8SSebastian Siewior
644584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
645584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
646584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
647584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
648584fffc8SSebastian Siewior	help
649584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
650584fffc8SSebastian Siewior
651584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
652584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
653584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
654584fffc8SSebastian Siewior	help
655584fffc8SSebastian Siewior	  Khazad cipher algorithm.
656584fffc8SSebastian Siewior
657584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
658584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
659584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
660584fffc8SSebastian Siewior
661584fffc8SSebastian Siewior	  See also:
662584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
663e2ee95b8SHye-Shik Chang
6642407d608STan Swee Hengconfig CRYPTO_SALSA20
6652407d608STan Swee Heng	tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
6662407d608STan Swee Heng	depends on EXPERIMENTAL
6672407d608STan Swee Heng	select CRYPTO_BLKCIPHER
6682407d608STan Swee Heng	help
6692407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
6702407d608STan Swee Heng
6712407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
6722407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
6732407d608STan Swee Heng
6742407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
6752407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
6761da177e4SLinus Torvalds
677974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
678974e4b75STan Swee Heng	tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
679974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
680974e4b75STan Swee Heng	depends on EXPERIMENTAL
681974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
682974e4b75STan Swee Heng	help
683974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
684974e4b75STan Swee Heng
685974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
686974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
687974e4b75STan Swee Heng
688974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
689974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
690974e4b75STan Swee Heng
6919a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
6929a7dafbbSTan Swee Heng	tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
6939a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
6949a7dafbbSTan Swee Heng	depends on EXPERIMENTAL
6959a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
6969a7dafbbSTan Swee Heng	help
6979a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
6989a7dafbbSTan Swee Heng
6999a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
7009a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
7019a7dafbbSTan Swee Heng
7029a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
7039a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
7049a7dafbbSTan Swee Heng
705584fffc8SSebastian Siewiorconfig CRYPTO_SEED
706584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
707584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
708584fffc8SSebastian Siewior	help
709584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
710584fffc8SSebastian Siewior
711584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
712584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
713584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
714584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
715584fffc8SSebastian Siewior
716584fffc8SSebastian Siewior	  See also:
717584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
718584fffc8SSebastian Siewior
719584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
720584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
721584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
722584fffc8SSebastian Siewior	help
723584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
724584fffc8SSebastian Siewior
725584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
726584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
727584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
728584fffc8SSebastian Siewior
729584fffc8SSebastian Siewior	  See also:
730584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
731584fffc8SSebastian Siewior
732584fffc8SSebastian Siewiorconfig CRYPTO_TEA
733584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
734584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
735584fffc8SSebastian Siewior	help
736584fffc8SSebastian Siewior	  TEA cipher algorithm.
737584fffc8SSebastian Siewior
738584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
739584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
740584fffc8SSebastian Siewior	  little memory.
741584fffc8SSebastian Siewior
742584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
743584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
744584fffc8SSebastian Siewior	  in the TEA algorithm.
745584fffc8SSebastian Siewior
746584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
747584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
748584fffc8SSebastian Siewior
749584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
750584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
751584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
752584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
753584fffc8SSebastian Siewior	help
754584fffc8SSebastian Siewior	  Twofish cipher algorithm.
755584fffc8SSebastian Siewior
756584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
757584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
758584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
759584fffc8SSebastian Siewior	  bits.
760584fffc8SSebastian Siewior
761584fffc8SSebastian Siewior	  See also:
762584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
763584fffc8SSebastian Siewior
764584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
765584fffc8SSebastian Siewior	tristate
766584fffc8SSebastian Siewior	help
767584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
768584fffc8SSebastian Siewior	  generic c and the assembler implementations.
769584fffc8SSebastian Siewior
770584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
771584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
772584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
773584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
774584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
775584fffc8SSebastian Siewior	help
776584fffc8SSebastian Siewior	  Twofish cipher algorithm.
777584fffc8SSebastian Siewior
778584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
779584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
780584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
781584fffc8SSebastian Siewior	  bits.
782584fffc8SSebastian Siewior
783584fffc8SSebastian Siewior	  See also:
784584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
785584fffc8SSebastian Siewior
786584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
787584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
788584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
789584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
790584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
791584fffc8SSebastian Siewior	help
792584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
793584fffc8SSebastian Siewior
794584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
795584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
796584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
797584fffc8SSebastian Siewior	  bits.
798584fffc8SSebastian Siewior
799584fffc8SSebastian Siewior	  See also:
800584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
801584fffc8SSebastian Siewior
802584fffc8SSebastian Siewiorcomment "Compression"
803584fffc8SSebastian Siewior
8041da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
8051da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
806cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
8071da177e4SLinus Torvalds	select ZLIB_INFLATE
8081da177e4SLinus Torvalds	select ZLIB_DEFLATE
8091da177e4SLinus Torvalds	help
8101da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
8111da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
8121da177e4SLinus Torvalds
8131da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
8141da177e4SLinus Torvalds
815bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB
816bf68e65eSGeert Uytterhoeven	tristate "Zlib compression algorithm"
817bf68e65eSGeert Uytterhoeven	select CRYPTO_PCOMP
818bf68e65eSGeert Uytterhoeven	select ZLIB_INFLATE
819bf68e65eSGeert Uytterhoeven	select ZLIB_DEFLATE
820bf68e65eSGeert Uytterhoeven	select NLATTR
821bf68e65eSGeert Uytterhoeven	help
822bf68e65eSGeert Uytterhoeven	  This is the zlib algorithm.
823bf68e65eSGeert Uytterhoeven
8240b77abb3SZoltan Sogorconfig CRYPTO_LZO
8250b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
8260b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
8270b77abb3SZoltan Sogor	select LZO_COMPRESS
8280b77abb3SZoltan Sogor	select LZO_DECOMPRESS
8290b77abb3SZoltan Sogor	help
8300b77abb3SZoltan Sogor	  This is the LZO algorithm.
8310b77abb3SZoltan Sogor
83217f0f4a4SNeil Hormancomment "Random Number Generation"
83317f0f4a4SNeil Horman
83417f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
83517f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
8364e4ed83bSNeil Horman	default m
83717f0f4a4SNeil Horman	select CRYPTO_AES
83817f0f4a4SNeil Horman	select CRYPTO_RNG
83917f0f4a4SNeil Horman	help
84017f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
84117f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
8427dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
8437dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
84417f0f4a4SNeil Horman
8451da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
8461da177e4SLinus Torvalds
847cce9e06dSHerbert Xuendif	# if CRYPTO
848