xref: /linux/crypto/Kconfig (revision 6a0fcbb4dad15f02ca8f8ae6324fcd3fc43b9d35)
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"
26ccb778e1SNeil Horman	help
27ccb778e1SNeil Horman	  This options enables the fips boot option which is
28ccb778e1SNeil Horman	  required if you want to system to operate in a FIPS 200
29ccb778e1SNeil Horman	  certification.  You should say no unless you know what
30ccb778e1SNeil Horman	  this is.
31ccb778e1SNeil Horman
32cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI
33cce9e06dSHerbert Xu	tristate
34*6a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
35cce9e06dSHerbert Xu	help
36cce9e06dSHerbert Xu	  This option provides the API for cryptographic algorithms.
37cce9e06dSHerbert Xu
38*6a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2
39*6a0fcbb4SHerbert Xu	tristate
40*6a0fcbb4SHerbert Xu
411ae97820SHerbert Xuconfig CRYPTO_AEAD
421ae97820SHerbert Xu	tristate
43*6a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
441ae97820SHerbert Xu	select CRYPTO_ALGAPI
451ae97820SHerbert Xu
46*6a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2
47*6a0fcbb4SHerbert Xu	tristate
48*6a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
49*6a0fcbb4SHerbert Xu
505cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER
515cde0af2SHerbert Xu	tristate
52*6a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
535cde0af2SHerbert Xu	select CRYPTO_ALGAPI
54*6a0fcbb4SHerbert Xu
55*6a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2
56*6a0fcbb4SHerbert Xu	tristate
57*6a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
58*6a0fcbb4SHerbert Xu	select CRYPTO_RNG2
595cde0af2SHerbert Xu
60055bcee3SHerbert Xuconfig CRYPTO_HASH
61055bcee3SHerbert Xu	tristate
62*6a0fcbb4SHerbert Xu	select CRYPTO_HASH2
63055bcee3SHerbert Xu	select CRYPTO_ALGAPI
64055bcee3SHerbert Xu
65*6a0fcbb4SHerbert Xuconfig CRYPTO_HASH2
66*6a0fcbb4SHerbert Xu	tristate
67*6a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
68*6a0fcbb4SHerbert Xu
6917f0f4a4SNeil Hormanconfig CRYPTO_RNG
7017f0f4a4SNeil Horman	tristate
71*6a0fcbb4SHerbert Xu	select CRYPTO_RNG2
7217f0f4a4SNeil Horman	select CRYPTO_ALGAPI
7317f0f4a4SNeil Horman
74*6a0fcbb4SHerbert Xuconfig CRYPTO_RNG2
75*6a0fcbb4SHerbert Xu	tristate
76*6a0fcbb4SHerbert Xu	select CRYPTO_ALGAPI2
77*6a0fcbb4SHerbert Xu
782b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
792b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
80*6a0fcbb4SHerbert Xu	select CRYPTO_MANAGER2
812b8c19dbSHerbert Xu	help
822b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
832b8c19dbSHerbert Xu	  cbc(aes).
842b8c19dbSHerbert Xu
85*6a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2
86*6a0fcbb4SHerbert Xu	def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
87*6a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
88*6a0fcbb4SHerbert Xu	select CRYPTO_HASH2
89*6a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
90*6a0fcbb4SHerbert Xu
91584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
92584fffc8SSebastian Siewior	tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
93584fffc8SSebastian Siewior	depends on EXPERIMENTAL
94584fffc8SSebastian Siewior	help
95584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
96584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
97584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
98584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
99584fffc8SSebastian Siewior	  an external module that requires these functions.
100584fffc8SSebastian Siewior
101584fffc8SSebastian Siewiorconfig CRYPTO_NULL
102584fffc8SSebastian Siewior	tristate "Null algorithms"
103584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
104584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
105584fffc8SSebastian Siewior	help
106584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
107584fffc8SSebastian Siewior
108584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
109584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
110584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
111b8a28251SLoc Ho	select CRYPTO_HASH
112584fffc8SSebastian Siewior	select CRYPTO_MANAGER
113584fffc8SSebastian Siewior	help
114584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
115584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
116584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
117584fffc8SSebastian Siewior
118584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
119584fffc8SSebastian Siewior	tristate "Authenc support"
120584fffc8SSebastian Siewior	select CRYPTO_AEAD
121584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
122584fffc8SSebastian Siewior	select CRYPTO_MANAGER
123584fffc8SSebastian Siewior	select CRYPTO_HASH
124584fffc8SSebastian Siewior	help
125584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
126584fffc8SSebastian Siewior	  This is required for IPSec.
127584fffc8SSebastian Siewior
128584fffc8SSebastian Siewiorconfig CRYPTO_TEST
129584fffc8SSebastian Siewior	tristate "Testing module"
130584fffc8SSebastian Siewior	depends on m
131da7f033dSHerbert Xu	select CRYPTO_MANAGER
132584fffc8SSebastian Siewior	help
133584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
134584fffc8SSebastian Siewior
135584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
136584fffc8SSebastian Siewior
137584fffc8SSebastian Siewiorconfig CRYPTO_CCM
138584fffc8SSebastian Siewior	tristate "CCM support"
139584fffc8SSebastian Siewior	select CRYPTO_CTR
140584fffc8SSebastian Siewior	select CRYPTO_AEAD
141584fffc8SSebastian Siewior	help
142584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
143584fffc8SSebastian Siewior
144584fffc8SSebastian Siewiorconfig CRYPTO_GCM
145584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
146584fffc8SSebastian Siewior	select CRYPTO_CTR
147584fffc8SSebastian Siewior	select CRYPTO_AEAD
148584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
149584fffc8SSebastian Siewior	help
150584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
151584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
152584fffc8SSebastian Siewior
153584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
154584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
155584fffc8SSebastian Siewior	select CRYPTO_AEAD
156584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
157a0f000ecSHerbert Xu	select CRYPTO_RNG
158584fffc8SSebastian Siewior	help
159584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
160584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
161584fffc8SSebastian Siewior
162584fffc8SSebastian Siewiorcomment "Block modes"
163584fffc8SSebastian Siewior
164584fffc8SSebastian Siewiorconfig CRYPTO_CBC
165584fffc8SSebastian Siewior	tristate "CBC support"
166584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
167584fffc8SSebastian Siewior	select CRYPTO_MANAGER
168584fffc8SSebastian Siewior	help
169584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
170584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
171584fffc8SSebastian Siewior
172584fffc8SSebastian Siewiorconfig CRYPTO_CTR
173584fffc8SSebastian Siewior	tristate "CTR support"
174584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
175584fffc8SSebastian Siewior	select CRYPTO_SEQIV
176584fffc8SSebastian Siewior	select CRYPTO_MANAGER
177584fffc8SSebastian Siewior	help
178584fffc8SSebastian Siewior	  CTR: Counter mode
179584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
180584fffc8SSebastian Siewior
181584fffc8SSebastian Siewiorconfig CRYPTO_CTS
182584fffc8SSebastian Siewior	tristate "CTS support"
183584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
184584fffc8SSebastian Siewior	help
185584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
186584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
187584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
188584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
189584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
190584fffc8SSebastian Siewior	  for AES encryption.
191584fffc8SSebastian Siewior
192584fffc8SSebastian Siewiorconfig CRYPTO_ECB
193584fffc8SSebastian Siewior	tristate "ECB support"
194584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
195584fffc8SSebastian Siewior	select CRYPTO_MANAGER
196584fffc8SSebastian Siewior	help
197584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
198584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
199584fffc8SSebastian Siewior	  the input block by block.
200584fffc8SSebastian Siewior
201584fffc8SSebastian Siewiorconfig CRYPTO_LRW
202584fffc8SSebastian Siewior	tristate "LRW support (EXPERIMENTAL)"
203584fffc8SSebastian Siewior	depends on EXPERIMENTAL
204584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
205584fffc8SSebastian Siewior	select CRYPTO_MANAGER
206584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
207584fffc8SSebastian Siewior	help
208584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
209584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
210584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
211584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
212584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
213584fffc8SSebastian Siewior
214584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
215584fffc8SSebastian Siewior	tristate "PCBC support"
216584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
217584fffc8SSebastian Siewior	select CRYPTO_MANAGER
218584fffc8SSebastian Siewior	help
219584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
220584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
221584fffc8SSebastian Siewior
222584fffc8SSebastian Siewiorconfig CRYPTO_XTS
223584fffc8SSebastian Siewior	tristate "XTS support (EXPERIMENTAL)"
224584fffc8SSebastian Siewior	depends on EXPERIMENTAL
225584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
226584fffc8SSebastian Siewior	select CRYPTO_MANAGER
227584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
228584fffc8SSebastian Siewior	help
229584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
230584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
231584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
232584fffc8SSebastian Siewior
233584fffc8SSebastian Siewiorcomment "Hash modes"
234584fffc8SSebastian Siewior
2351da177e4SLinus Torvaldsconfig CRYPTO_HMAC
2368425165dSHerbert Xu	tristate "HMAC support"
2370796ae06SHerbert Xu	select CRYPTO_HASH
23843518407SHerbert Xu	select CRYPTO_MANAGER
2391da177e4SLinus Torvalds	help
2401da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
2411da177e4SLinus Torvalds	  This is required for IPSec.
2421da177e4SLinus Torvalds
243333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
244333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
245333b0d7eSKazunori MIYAZAWA	depends on EXPERIMENTAL
246333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
247333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
248333b0d7eSKazunori MIYAZAWA	help
249333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
250333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
251333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
252333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
253333b0d7eSKazunori MIYAZAWA
254584fffc8SSebastian Siewiorcomment "Digest"
255584fffc8SSebastian Siewior
256584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
257584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
2585773a3e6SHerbert Xu	select CRYPTO_HASH
259584fffc8SSebastian Siewior	select LIBCRC32C
2601da177e4SLinus Torvalds	help
261584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
262584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
263584fffc8SSebastian Siewior	  See Castagnoli93.  This implementation uses lib/libcrc32c.
264584fffc8SSebastian Siewior	  Module will be crc32c.
2651da177e4SLinus Torvalds
2668cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
2678cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
2688cb51ba8SAustin Zhang	depends on X86
2698cb51ba8SAustin Zhang	select CRYPTO_HASH
2708cb51ba8SAustin Zhang	help
2718cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
2728cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
2738cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
2748cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
2758cb51ba8SAustin Zhang	  gain performance compared with software implementation.
2768cb51ba8SAustin Zhang	  Module will be crc32c-intel.
2778cb51ba8SAustin Zhang
2781da177e4SLinus Torvaldsconfig CRYPTO_MD4
2791da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
280cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
2811da177e4SLinus Torvalds	help
2821da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvaldsconfig CRYPTO_MD5
2851da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
286cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
2871da177e4SLinus Torvalds	help
2881da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
2891da177e4SLinus Torvalds
290584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
291584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
292584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
293584fffc8SSebastian Siewior	help
294584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
295584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
296584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
297584fffc8SSebastian Siewior	  of the algorithm.
298584fffc8SSebastian Siewior
29982798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
30082798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
30182798f90SAdrian-Ken Rueegsegger	select CRYPTO_ALGAPI
30282798f90SAdrian-Ken Rueegsegger	help
30382798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
30482798f90SAdrian-Ken Rueegsegger
30582798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
30682798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for RIPEMD. For other use cases
30782798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
30882798f90SAdrian-Ken Rueegsegger
30982798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
31082798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
31182798f90SAdrian-Ken Rueegsegger
31282798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
31382798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
31482798f90SAdrian-Ken Rueegsegger	select CRYPTO_ALGAPI
31582798f90SAdrian-Ken Rueegsegger	help
31682798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
31782798f90SAdrian-Ken Rueegsegger
31882798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
31982798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
320b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
321b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
32282798f90SAdrian-Ken Rueegsegger
323b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
324b6d44341SAdrian Bunk	  against RIPEMD-160.
325534fe2c1SAdrian-Ken Rueegsegger
326534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
327534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
328534fe2c1SAdrian-Ken Rueegsegger
329534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
330534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
331534fe2c1SAdrian-Ken Rueegsegger	select CRYPTO_ALGAPI
332534fe2c1SAdrian-Ken Rueegsegger	help
333b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
334b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
335b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
336b6d44341SAdrian Bunk	  (than RIPEMD-128).
337534fe2c1SAdrian-Ken Rueegsegger
338534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
339534fe2c1SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
340534fe2c1SAdrian-Ken Rueegsegger
341534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
342534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
343534fe2c1SAdrian-Ken Rueegsegger	select CRYPTO_ALGAPI
344534fe2c1SAdrian-Ken Rueegsegger	help
345b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
346b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
347b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
348b6d44341SAdrian Bunk	  (than RIPEMD-160).
349534fe2c1SAdrian-Ken Rueegsegger
35082798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
35182798f90SAdrian-Ken Rueegsegger	  See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
35282798f90SAdrian-Ken Rueegsegger
3531da177e4SLinus Torvaldsconfig CRYPTO_SHA1
3541da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
355cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3561da177e4SLinus Torvalds	help
3571da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
3581da177e4SLinus Torvalds
3591da177e4SLinus Torvaldsconfig CRYPTO_SHA256
360cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
361cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3621da177e4SLinus Torvalds	help
3631da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
3641da177e4SLinus Torvalds
3651da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
3661da177e4SLinus Torvalds	  security against collision attacks.
3671da177e4SLinus Torvalds
368cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
369cd12fb90SJonathan Lynch	  of security against collision attacks.
370cd12fb90SJonathan Lynch
3711da177e4SLinus Torvaldsconfig CRYPTO_SHA512
3721da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
373cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3741da177e4SLinus Torvalds	help
3751da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
3761da177e4SLinus Torvalds
3771da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
3781da177e4SLinus Torvalds	  security against collision attacks.
3791da177e4SLinus Torvalds
3801da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
3811da177e4SLinus Torvalds	  of security against collision attacks.
3821da177e4SLinus Torvalds
3831da177e4SLinus Torvaldsconfig CRYPTO_TGR192
3841da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
385cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3861da177e4SLinus Torvalds	help
3871da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
3881da177e4SLinus Torvalds
3891da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
3901da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
3911da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
3921da177e4SLinus Torvalds
3931da177e4SLinus Torvalds	  See also:
3941da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
3951da177e4SLinus Torvalds
396584fffc8SSebastian Siewiorconfig CRYPTO_WP512
397584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
398cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3991da177e4SLinus Torvalds	help
400584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
4011da177e4SLinus Torvalds
402584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
403584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
4041da177e4SLinus Torvalds
4051da177e4SLinus Torvalds	  See also:
406584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
4071da177e4SLinus Torvalds
408584fffc8SSebastian Siewiorcomment "Ciphers"
4091da177e4SLinus Torvalds
4101da177e4SLinus Torvaldsconfig CRYPTO_AES
4111da177e4SLinus Torvalds	tristate "AES cipher algorithms"
412cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4131da177e4SLinus Torvalds	help
4141da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
4151da177e4SLinus Torvalds	  algorithm.
4161da177e4SLinus Torvalds
4171da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
4181da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
4191da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
4201da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
4211da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
4221da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
4231da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
4241da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
4251da177e4SLinus Torvalds
4261da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
4271da177e4SLinus Torvalds
4281da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
4291da177e4SLinus Torvalds
4301da177e4SLinus Torvaldsconfig CRYPTO_AES_586
4311da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
432cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
433cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4345157dea8SSebastian Siewior	select CRYPTO_AES
4351da177e4SLinus Torvalds	help
4361da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
4371da177e4SLinus Torvalds	  algorithm.
4381da177e4SLinus Torvalds
4391da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
4401da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
4411da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
4421da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
4431da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
4441da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
4451da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
4461da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
4471da177e4SLinus Torvalds
4481da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
4491da177e4SLinus Torvalds
4501da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
4511da177e4SLinus Torvalds
452a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
453a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
454cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
455cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
45681190b32SSebastian Siewior	select CRYPTO_AES
457a2a892a2SAndreas Steinmetz	help
458a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
459a2a892a2SAndreas Steinmetz	  algorithm.
460a2a892a2SAndreas Steinmetz
461a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
462a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
463a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
464a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
465a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
466a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
467a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
468a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
469a2a892a2SAndreas Steinmetz
470a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
471a2a892a2SAndreas Steinmetz
472a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
473a2a892a2SAndreas Steinmetz
4741da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
4751da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
476cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4771da177e4SLinus Torvalds	help
4781da177e4SLinus Torvalds	  Anubis cipher algorithm.
4791da177e4SLinus Torvalds
4801da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
4811da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
4821da177e4SLinus Torvalds	  in the NESSIE competition.
4831da177e4SLinus Torvalds
4841da177e4SLinus Torvalds	  See also:
4851da177e4SLinus Torvalds	  <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
4861da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
4871da177e4SLinus Torvalds
488584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
489584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
490e2ee95b8SHye-Shik Chang	select CRYPTO_ALGAPI
491e2ee95b8SHye-Shik Chang	help
492584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
493e2ee95b8SHye-Shik Chang
494584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
495584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
496584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
497584fffc8SSebastian Siewior	  weakness of the algorithm.
498584fffc8SSebastian Siewior
499584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
500584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
501584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
502584fffc8SSebastian Siewior	help
503584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
504584fffc8SSebastian Siewior
505584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
506584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
507584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
508e2ee95b8SHye-Shik Chang
509e2ee95b8SHye-Shik Chang	  See also:
510584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
511584fffc8SSebastian Siewior
512584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
513584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
514584fffc8SSebastian Siewior	depends on CRYPTO
515584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
516584fffc8SSebastian Siewior	help
517584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
518584fffc8SSebastian Siewior
519584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
520584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
521584fffc8SSebastian Siewior
522584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
523584fffc8SSebastian Siewior
524584fffc8SSebastian Siewior	  See also:
525584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
526584fffc8SSebastian Siewior
527584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
528584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
529584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
530584fffc8SSebastian Siewior	help
531584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
532584fffc8SSebastian Siewior	  described in RFC2144.
533584fffc8SSebastian Siewior
534584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
535584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
536584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
537584fffc8SSebastian Siewior	help
538584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
539584fffc8SSebastian Siewior	  described in RFC2612.
540584fffc8SSebastian Siewior
541584fffc8SSebastian Siewiorconfig CRYPTO_DES
542584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
543584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
544584fffc8SSebastian Siewior	help
545584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
546584fffc8SSebastian Siewior
547584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
548584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
549584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
550584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
551584fffc8SSebastian Siewior	help
552584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
553584fffc8SSebastian Siewior
554584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
555584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
556584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
557584fffc8SSebastian Siewior	help
558584fffc8SSebastian Siewior	  Khazad cipher algorithm.
559584fffc8SSebastian Siewior
560584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
561584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
562584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
563584fffc8SSebastian Siewior
564584fffc8SSebastian Siewior	  See also:
565584fffc8SSebastian Siewior	  <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
566e2ee95b8SHye-Shik Chang
5672407d608STan Swee Hengconfig CRYPTO_SALSA20
5682407d608STan Swee Heng	tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
5692407d608STan Swee Heng	depends on EXPERIMENTAL
5702407d608STan Swee Heng	select CRYPTO_BLKCIPHER
5712407d608STan Swee Heng	help
5722407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
5732407d608STan Swee Heng
5742407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
5752407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
5762407d608STan Swee Heng
5772407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
5782407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
5791da177e4SLinus Torvalds
580974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
581974e4b75STan Swee Heng	tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
582974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
583974e4b75STan Swee Heng	depends on EXPERIMENTAL
584974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
585974e4b75STan Swee Heng	help
586974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
587974e4b75STan Swee Heng
588974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
589974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
590974e4b75STan Swee Heng
591974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
592974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
593974e4b75STan Swee Heng
5949a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
5959a7dafbbSTan Swee Heng	tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
5969a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
5979a7dafbbSTan Swee Heng	depends on EXPERIMENTAL
5989a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
5999a7dafbbSTan Swee Heng	help
6009a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
6019a7dafbbSTan Swee Heng
6029a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
6039a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
6049a7dafbbSTan Swee Heng
6059a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
6069a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
6079a7dafbbSTan Swee Heng
608584fffc8SSebastian Siewiorconfig CRYPTO_SEED
609584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
610584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
611584fffc8SSebastian Siewior	help
612584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
613584fffc8SSebastian Siewior
614584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
615584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
616584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
617584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
618584fffc8SSebastian Siewior
619584fffc8SSebastian Siewior	  See also:
620584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
621584fffc8SSebastian Siewior
622584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
623584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
624584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
625584fffc8SSebastian Siewior	help
626584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
627584fffc8SSebastian Siewior
628584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
629584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
630584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
631584fffc8SSebastian Siewior
632584fffc8SSebastian Siewior	  See also:
633584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
634584fffc8SSebastian Siewior
635584fffc8SSebastian Siewiorconfig CRYPTO_TEA
636584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
637584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
638584fffc8SSebastian Siewior	help
639584fffc8SSebastian Siewior	  TEA cipher algorithm.
640584fffc8SSebastian Siewior
641584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
642584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
643584fffc8SSebastian Siewior	  little memory.
644584fffc8SSebastian Siewior
645584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
646584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
647584fffc8SSebastian Siewior	  in the TEA algorithm.
648584fffc8SSebastian Siewior
649584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
650584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
651584fffc8SSebastian Siewior
652584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
653584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
654584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
655584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
656584fffc8SSebastian Siewior	help
657584fffc8SSebastian Siewior	  Twofish cipher algorithm.
658584fffc8SSebastian Siewior
659584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
660584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
661584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
662584fffc8SSebastian Siewior	  bits.
663584fffc8SSebastian Siewior
664584fffc8SSebastian Siewior	  See also:
665584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
666584fffc8SSebastian Siewior
667584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
668584fffc8SSebastian Siewior	tristate
669584fffc8SSebastian Siewior	help
670584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
671584fffc8SSebastian Siewior	  generic c and the assembler implementations.
672584fffc8SSebastian Siewior
673584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
674584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
675584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
676584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
677584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
678584fffc8SSebastian Siewior	help
679584fffc8SSebastian Siewior	  Twofish cipher algorithm.
680584fffc8SSebastian Siewior
681584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
682584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
683584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
684584fffc8SSebastian Siewior	  bits.
685584fffc8SSebastian Siewior
686584fffc8SSebastian Siewior	  See also:
687584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
688584fffc8SSebastian Siewior
689584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
690584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
691584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
692584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
693584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
694584fffc8SSebastian Siewior	help
695584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
696584fffc8SSebastian Siewior
697584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
698584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
699584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
700584fffc8SSebastian Siewior	  bits.
701584fffc8SSebastian Siewior
702584fffc8SSebastian Siewior	  See also:
703584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
704584fffc8SSebastian Siewior
705584fffc8SSebastian Siewiorcomment "Compression"
706584fffc8SSebastian Siewior
7071da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
7081da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
709cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7101da177e4SLinus Torvalds	select ZLIB_INFLATE
7111da177e4SLinus Torvalds	select ZLIB_DEFLATE
7121da177e4SLinus Torvalds	help
7131da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
7141da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
7151da177e4SLinus Torvalds
7161da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
7171da177e4SLinus Torvalds
7180b77abb3SZoltan Sogorconfig CRYPTO_LZO
7190b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
7200b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
7210b77abb3SZoltan Sogor	select LZO_COMPRESS
7220b77abb3SZoltan Sogor	select LZO_DECOMPRESS
7230b77abb3SZoltan Sogor	help
7240b77abb3SZoltan Sogor	  This is the LZO algorithm.
7250b77abb3SZoltan Sogor
72617f0f4a4SNeil Hormancomment "Random Number Generation"
72717f0f4a4SNeil Horman
72817f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
72917f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
73017f0f4a4SNeil Horman	select CRYPTO_AES
73117f0f4a4SNeil Horman	select CRYPTO_RNG
73217f0f4a4SNeil Horman	select CRYPTO_FIPS
73317f0f4a4SNeil Horman	help
73417f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
73517f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
73617f0f4a4SNeil Horman	  ANSI X9.31 A.2.4
73717f0f4a4SNeil Horman
7381da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
7391da177e4SLinus Torvalds
740cce9e06dSHerbert Xuendif	# if CRYPTO
741