xref: /linux/crypto/Kconfig (revision 3c339ab83fc09d9d91fb7e8b4a60e8ddc91de417)
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"
26f2c89a10SHerbert Xu	depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS
27002c77a4SJarod Wilson	depends on MODULE_SIG
28ccb778e1SNeil Horman	help
29ccb778e1SNeil Horman	  This options enables the fips boot option which is
30ccb778e1SNeil Horman	  required if you want to system to operate in a FIPS 200
31ccb778e1SNeil Horman	  certification.  You should say no unless you know what
32e84c5480SChuck Ebbert	  this is.
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
81401e4238SHerbert Xuconfig CRYPTO_RNG_DEFAULT
82401e4238SHerbert Xu	tristate
83401e4238SHerbert Xu	select CRYPTO_DRBG_MENU
84401e4238SHerbert Xu
85a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP
86a1d2f095SGeert Uytterhoeven	tristate
87bc94e596SHerbert Xu	select CRYPTO_PCOMP2
88bc94e596SHerbert Xu	select CRYPTO_ALGAPI
89bc94e596SHerbert Xu
90bc94e596SHerbert Xuconfig CRYPTO_PCOMP2
91bc94e596SHerbert Xu	tristate
92a1d2f095SGeert Uytterhoeven	select CRYPTO_ALGAPI2
93a1d2f095SGeert Uytterhoeven
94*3c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER2
95*3c339ab8STadeusz Struk	tristate
96*3c339ab8STadeusz Struk	select CRYPTO_ALGAPI2
97*3c339ab8STadeusz Struk
98*3c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER
99*3c339ab8STadeusz Struk	tristate
100*3c339ab8STadeusz Struk	select CRYPTO_AKCIPHER2
101*3c339ab8STadeusz Struk	select CRYPTO_ALGAPI
102*3c339ab8STadeusz Struk
1032b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
1042b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
1056a0fcbb4SHerbert Xu	select CRYPTO_MANAGER2
1062b8c19dbSHerbert Xu	help
1072b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
1082b8c19dbSHerbert Xu	  cbc(aes).
1092b8c19dbSHerbert Xu
1106a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2
1116a0fcbb4SHerbert Xu	def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
1126a0fcbb4SHerbert Xu	select CRYPTO_AEAD2
1136a0fcbb4SHerbert Xu	select CRYPTO_HASH2
1146a0fcbb4SHerbert Xu	select CRYPTO_BLKCIPHER2
115bc94e596SHerbert Xu	select CRYPTO_PCOMP2
1166a0fcbb4SHerbert Xu
117a38f7907SSteffen Klassertconfig CRYPTO_USER
118a38f7907SSteffen Klassert	tristate "Userspace cryptographic algorithm configuration"
1195db017aaSHerbert Xu	depends on NET
120a38f7907SSteffen Klassert	select CRYPTO_MANAGER
121a38f7907SSteffen Klassert	help
122d19978f5SValdis.Kletnieks@vt.edu	  Userspace configuration for cryptographic instantiations such as
123a38f7907SSteffen Klassert	  cbc(aes).
124a38f7907SSteffen Klassert
125326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS
126326a6346SHerbert Xu	bool "Disable run-time self tests"
12700ca28a5SHerbert Xu	default y
12800ca28a5SHerbert Xu	depends on CRYPTO_MANAGER2
1290b767f96SAlexander Shishkin	help
130326a6346SHerbert Xu	  Disable run-time self tests that normally take place at
131326a6346SHerbert Xu	  algorithm registration.
1320b767f96SAlexander Shishkin
133584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL
13408c70fc3SJussi Kivilinna	tristate "GF(2^128) multiplication functions"
135584fffc8SSebastian Siewior	help
136584fffc8SSebastian Siewior	  Efficient table driven implementation of multiplications in the
137584fffc8SSebastian Siewior	  field GF(2^128).  This is needed by some cypher modes. This
138584fffc8SSebastian Siewior	  option will be selected automatically if you select such a
139584fffc8SSebastian Siewior	  cipher mode.  Only select this option by hand if you expect to load
140584fffc8SSebastian Siewior	  an external module that requires these functions.
141584fffc8SSebastian Siewior
142584fffc8SSebastian Siewiorconfig CRYPTO_NULL
143584fffc8SSebastian Siewior	tristate "Null algorithms"
144584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
145584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
146d35d2454SHerbert Xu	select CRYPTO_HASH
147584fffc8SSebastian Siewior	help
148584fffc8SSebastian Siewior	  These are 'Null' algorithms, used by IPsec, which do nothing.
149584fffc8SSebastian Siewior
1505068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT
1513b4afaf2SKees Cook	tristate "Parallel crypto engine"
1523b4afaf2SKees Cook	depends on SMP
1535068c7a8SSteffen Klassert	select PADATA
1545068c7a8SSteffen Klassert	select CRYPTO_MANAGER
1555068c7a8SSteffen Klassert	select CRYPTO_AEAD
1565068c7a8SSteffen Klassert	help
1575068c7a8SSteffen Klassert	  This converts an arbitrary crypto algorithm into a parallel
1585068c7a8SSteffen Klassert	  algorithm that executes in kernel threads.
1595068c7a8SSteffen Klassert
16025c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE
16125c38d3fSHuang Ying       tristate
16225c38d3fSHuang Ying
163584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD
164584fffc8SSebastian Siewior	tristate "Software async crypto daemon"
165584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
166b8a28251SLoc Ho	select CRYPTO_HASH
167584fffc8SSebastian Siewior	select CRYPTO_MANAGER
168254eff77SHuang Ying	select CRYPTO_WORKQUEUE
169584fffc8SSebastian Siewior	help
170584fffc8SSebastian Siewior	  This is a generic software asynchronous crypto daemon that
171584fffc8SSebastian Siewior	  converts an arbitrary synchronous software crypto algorithm
172584fffc8SSebastian Siewior	  into an asynchronous algorithm that executes in a kernel thread.
173584fffc8SSebastian Siewior
1741e65b81aSTim Chenconfig CRYPTO_MCRYPTD
1751e65b81aSTim Chen	tristate "Software async multi-buffer crypto daemon"
1761e65b81aSTim Chen	select CRYPTO_BLKCIPHER
1771e65b81aSTim Chen	select CRYPTO_HASH
1781e65b81aSTim Chen	select CRYPTO_MANAGER
1791e65b81aSTim Chen	select CRYPTO_WORKQUEUE
1801e65b81aSTim Chen	help
1811e65b81aSTim Chen	  This is a generic software asynchronous crypto daemon that
1821e65b81aSTim Chen	  provides the kernel thread to assist multi-buffer crypto
1831e65b81aSTim Chen	  algorithms for submitting jobs and flushing jobs in multi-buffer
1841e65b81aSTim Chen	  crypto algorithms.  Multi-buffer crypto algorithms are executed
1851e65b81aSTim Chen	  in the context of this kernel thread and drivers can post
1860e56673bSTed Percival	  their crypto request asynchronously to be processed by this daemon.
1871e65b81aSTim Chen
188584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC
189584fffc8SSebastian Siewior	tristate "Authenc support"
190584fffc8SSebastian Siewior	select CRYPTO_AEAD
191584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
192584fffc8SSebastian Siewior	select CRYPTO_MANAGER
193584fffc8SSebastian Siewior	select CRYPTO_HASH
194584fffc8SSebastian Siewior	help
195584fffc8SSebastian Siewior	  Authenc: Combined mode wrapper for IPsec.
196584fffc8SSebastian Siewior	  This is required for IPSec.
197584fffc8SSebastian Siewior
198584fffc8SSebastian Siewiorconfig CRYPTO_TEST
199584fffc8SSebastian Siewior	tristate "Testing module"
200584fffc8SSebastian Siewior	depends on m
201da7f033dSHerbert Xu	select CRYPTO_MANAGER
202584fffc8SSebastian Siewior	help
203584fffc8SSebastian Siewior	  Quick & dirty crypto test module.
204584fffc8SSebastian Siewior
205a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER
206ffaf9156SJussi Kivilinna	tristate
207ffaf9156SJussi Kivilinna	select CRYPTO_CRYPTD
208ffaf9156SJussi Kivilinna
209596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86
210596d8750SJussi Kivilinna	tristate
211596d8750SJussi Kivilinna	depends on X86
212596d8750SJussi Kivilinna	select CRYPTO_ALGAPI
213596d8750SJussi Kivilinna
214584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data"
215584fffc8SSebastian Siewior
216584fffc8SSebastian Siewiorconfig CRYPTO_CCM
217584fffc8SSebastian Siewior	tristate "CCM support"
218584fffc8SSebastian Siewior	select CRYPTO_CTR
219584fffc8SSebastian Siewior	select CRYPTO_AEAD
220584fffc8SSebastian Siewior	help
221584fffc8SSebastian Siewior	  Support for Counter with CBC MAC. Required for IPsec.
222584fffc8SSebastian Siewior
223584fffc8SSebastian Siewiorconfig CRYPTO_GCM
224584fffc8SSebastian Siewior	tristate "GCM/GMAC support"
225584fffc8SSebastian Siewior	select CRYPTO_CTR
226584fffc8SSebastian Siewior	select CRYPTO_AEAD
2279382d97aSHuang Ying	select CRYPTO_GHASH
2289489667dSJussi Kivilinna	select CRYPTO_NULL
229584fffc8SSebastian Siewior	help
230584fffc8SSebastian Siewior	  Support for Galois/Counter Mode (GCM) and Galois Message
231584fffc8SSebastian Siewior	  Authentication Code (GMAC). Required for IPSec.
232584fffc8SSebastian Siewior
23371ebc4d1SMartin Williconfig CRYPTO_CHACHA20POLY1305
23471ebc4d1SMartin Willi	tristate "ChaCha20-Poly1305 AEAD support"
23571ebc4d1SMartin Willi	select CRYPTO_CHACHA20
23671ebc4d1SMartin Willi	select CRYPTO_POLY1305
23771ebc4d1SMartin Willi	select CRYPTO_AEAD
23871ebc4d1SMartin Willi	help
23971ebc4d1SMartin Willi	  ChaCha20-Poly1305 AEAD support, RFC7539.
24071ebc4d1SMartin Willi
24171ebc4d1SMartin Willi	  Support for the AEAD wrapper using the ChaCha20 stream cipher combined
24271ebc4d1SMartin Willi	  with the Poly1305 authenticator. It is defined in RFC7539 for use in
24371ebc4d1SMartin Willi	  IETF protocols.
24471ebc4d1SMartin Willi
245584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV
246584fffc8SSebastian Siewior	tristate "Sequence Number IV Generator"
247584fffc8SSebastian Siewior	select CRYPTO_AEAD
248584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
249856e3f40SHerbert Xu	select CRYPTO_NULL
250401e4238SHerbert Xu	select CRYPTO_RNG_DEFAULT
251584fffc8SSebastian Siewior	help
252584fffc8SSebastian Siewior	  This IV generator generates an IV based on a sequence number by
253584fffc8SSebastian Siewior	  xoring it with a salt.  This algorithm is mainly useful for CTR
254584fffc8SSebastian Siewior
255a10f554fSHerbert Xuconfig CRYPTO_ECHAINIV
256a10f554fSHerbert Xu	tristate "Encrypted Chain IV Generator"
257a10f554fSHerbert Xu	select CRYPTO_AEAD
258a10f554fSHerbert Xu	select CRYPTO_NULL
259401e4238SHerbert Xu	select CRYPTO_RNG_DEFAULT
2603491244cSHerbert Xu	default m
261a10f554fSHerbert Xu	help
262a10f554fSHerbert Xu	  This IV generator generates an IV based on the encryption of
263a10f554fSHerbert Xu	  a sequence number xored with a salt.  This is the default
264a10f554fSHerbert Xu	  algorithm for CBC.
265a10f554fSHerbert Xu
266584fffc8SSebastian Siewiorcomment "Block modes"
267584fffc8SSebastian Siewior
268584fffc8SSebastian Siewiorconfig CRYPTO_CBC
269584fffc8SSebastian Siewior	tristate "CBC support"
270584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
271584fffc8SSebastian Siewior	select CRYPTO_MANAGER
272584fffc8SSebastian Siewior	help
273584fffc8SSebastian Siewior	  CBC: Cipher Block Chaining mode
274584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
275584fffc8SSebastian Siewior
276584fffc8SSebastian Siewiorconfig CRYPTO_CTR
277584fffc8SSebastian Siewior	tristate "CTR support"
278584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
279584fffc8SSebastian Siewior	select CRYPTO_SEQIV
280584fffc8SSebastian Siewior	select CRYPTO_MANAGER
281584fffc8SSebastian Siewior	help
282584fffc8SSebastian Siewior	  CTR: Counter mode
283584fffc8SSebastian Siewior	  This block cipher algorithm is required for IPSec.
284584fffc8SSebastian Siewior
285584fffc8SSebastian Siewiorconfig CRYPTO_CTS
286584fffc8SSebastian Siewior	tristate "CTS support"
287584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
288584fffc8SSebastian Siewior	help
289584fffc8SSebastian Siewior	  CTS: Cipher Text Stealing
290584fffc8SSebastian Siewior	  This is the Cipher Text Stealing mode as described by
291584fffc8SSebastian Siewior	  Section 8 of rfc2040 and referenced by rfc3962.
292584fffc8SSebastian Siewior	  (rfc3962 includes errata information in its Appendix A)
293584fffc8SSebastian Siewior	  This mode is required for Kerberos gss mechanism support
294584fffc8SSebastian Siewior	  for AES encryption.
295584fffc8SSebastian Siewior
296584fffc8SSebastian Siewiorconfig CRYPTO_ECB
297584fffc8SSebastian Siewior	tristate "ECB support"
298584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
299584fffc8SSebastian Siewior	select CRYPTO_MANAGER
300584fffc8SSebastian Siewior	help
301584fffc8SSebastian Siewior	  ECB: Electronic CodeBook mode
302584fffc8SSebastian Siewior	  This is the simplest block cipher algorithm.  It simply encrypts
303584fffc8SSebastian Siewior	  the input block by block.
304584fffc8SSebastian Siewior
305584fffc8SSebastian Siewiorconfig CRYPTO_LRW
3062470a2b2SJussi Kivilinna	tristate "LRW support"
307584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
308584fffc8SSebastian Siewior	select CRYPTO_MANAGER
309584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
310584fffc8SSebastian Siewior	help
311584fffc8SSebastian Siewior	  LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
312584fffc8SSebastian Siewior	  narrow block cipher mode for dm-crypt.  Use it with cipher
313584fffc8SSebastian Siewior	  specification string aes-lrw-benbi, the key must be 256, 320 or 384.
314584fffc8SSebastian Siewior	  The first 128, 192 or 256 bits in the key are used for AES and the
315584fffc8SSebastian Siewior	  rest is used to tie each cipher block to its logical position.
316584fffc8SSebastian Siewior
317584fffc8SSebastian Siewiorconfig CRYPTO_PCBC
318584fffc8SSebastian Siewior	tristate "PCBC support"
319584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
320584fffc8SSebastian Siewior	select CRYPTO_MANAGER
321584fffc8SSebastian Siewior	help
322584fffc8SSebastian Siewior	  PCBC: Propagating Cipher Block Chaining mode
323584fffc8SSebastian Siewior	  This block cipher algorithm is required for RxRPC.
324584fffc8SSebastian Siewior
325584fffc8SSebastian Siewiorconfig CRYPTO_XTS
3265bcf8e6dSJussi Kivilinna	tristate "XTS support"
327584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
328584fffc8SSebastian Siewior	select CRYPTO_MANAGER
329584fffc8SSebastian Siewior	select CRYPTO_GF128MUL
330584fffc8SSebastian Siewior	help
331584fffc8SSebastian Siewior	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
332584fffc8SSebastian Siewior	  key size 256, 384 or 512 bits. This implementation currently
333584fffc8SSebastian Siewior	  can't handle a sectorsize which is not a multiple of 16 bytes.
334584fffc8SSebastian Siewior
335584fffc8SSebastian Siewiorcomment "Hash modes"
336584fffc8SSebastian Siewior
33793b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC
33893b5e86aSJussi Kivilinna	tristate "CMAC support"
33993b5e86aSJussi Kivilinna	select CRYPTO_HASH
34093b5e86aSJussi Kivilinna	select CRYPTO_MANAGER
34193b5e86aSJussi Kivilinna	help
34293b5e86aSJussi Kivilinna	  Cipher-based Message Authentication Code (CMAC) specified by
34393b5e86aSJussi Kivilinna	  The National Institute of Standards and Technology (NIST).
34493b5e86aSJussi Kivilinna
34593b5e86aSJussi Kivilinna	  https://tools.ietf.org/html/rfc4493
34693b5e86aSJussi Kivilinna	  http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf
34793b5e86aSJussi Kivilinna
3481da177e4SLinus Torvaldsconfig CRYPTO_HMAC
3498425165dSHerbert Xu	tristate "HMAC support"
3500796ae06SHerbert Xu	select CRYPTO_HASH
35143518407SHerbert Xu	select CRYPTO_MANAGER
3521da177e4SLinus Torvalds	help
3531da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
3541da177e4SLinus Torvalds	  This is required for IPSec.
3551da177e4SLinus Torvalds
356333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC
357333b0d7eSKazunori MIYAZAWA	tristate "XCBC support"
358333b0d7eSKazunori MIYAZAWA	select CRYPTO_HASH
359333b0d7eSKazunori MIYAZAWA	select CRYPTO_MANAGER
360333b0d7eSKazunori MIYAZAWA	help
361333b0d7eSKazunori MIYAZAWA	  XCBC: Keyed-Hashing with encryption algorithm
362333b0d7eSKazunori MIYAZAWA		http://www.ietf.org/rfc/rfc3566.txt
363333b0d7eSKazunori MIYAZAWA		http://csrc.nist.gov/encryption/modes/proposedmodes/
364333b0d7eSKazunori MIYAZAWA		 xcbc-mac/xcbc-mac-spec.pdf
365333b0d7eSKazunori MIYAZAWA
366f1939f7cSShane Wangconfig CRYPTO_VMAC
367f1939f7cSShane Wang	tristate "VMAC support"
368f1939f7cSShane Wang	select CRYPTO_HASH
369f1939f7cSShane Wang	select CRYPTO_MANAGER
370f1939f7cSShane Wang	help
371f1939f7cSShane Wang	  VMAC is a message authentication algorithm designed for
372f1939f7cSShane Wang	  very high speed on 64-bit architectures.
373f1939f7cSShane Wang
374f1939f7cSShane Wang	  See also:
375f1939f7cSShane Wang	  <http://fastcrypto.org/vmac>
376f1939f7cSShane Wang
377584fffc8SSebastian Siewiorcomment "Digest"
378584fffc8SSebastian Siewior
379584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C
380584fffc8SSebastian Siewior	tristate "CRC32c CRC algorithm"
3815773a3e6SHerbert Xu	select CRYPTO_HASH
3826a0962b2SDarrick J. Wong	select CRC32
3831da177e4SLinus Torvalds	help
384584fffc8SSebastian Siewior	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
385584fffc8SSebastian Siewior	  by iSCSI for header and data digests and by others.
38669c35efcSHerbert Xu	  See Castagnoli93.  Module will be crc32c.
3871da177e4SLinus Torvalds
3888cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL
3898cb51ba8SAustin Zhang	tristate "CRC32c INTEL hardware acceleration"
3908cb51ba8SAustin Zhang	depends on X86
3918cb51ba8SAustin Zhang	select CRYPTO_HASH
3928cb51ba8SAustin Zhang	help
3938cb51ba8SAustin Zhang	  In Intel processor with SSE4.2 supported, the processor will
3948cb51ba8SAustin Zhang	  support CRC32C implementation using hardware accelerated CRC32
3958cb51ba8SAustin Zhang	  instruction. This option will create 'crc32c-intel' module,
3968cb51ba8SAustin Zhang	  which will enable any routine to use the CRC32 instruction to
3978cb51ba8SAustin Zhang	  gain performance compared with software implementation.
3988cb51ba8SAustin Zhang	  Module will be crc32c-intel.
3998cb51ba8SAustin Zhang
400442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64
401442a7c40SDavid S. Miller	tristate "CRC32c CRC algorithm (SPARC64)"
402442a7c40SDavid S. Miller	depends on SPARC64
403442a7c40SDavid S. Miller	select CRYPTO_HASH
404442a7c40SDavid S. Miller	select CRC32
405442a7c40SDavid S. Miller	help
406442a7c40SDavid S. Miller	  CRC32c CRC algorithm implemented using sparc64 crypto instructions,
407442a7c40SDavid S. Miller	  when available.
408442a7c40SDavid S. Miller
40978c37d19SAlexander Boykoconfig CRYPTO_CRC32
41078c37d19SAlexander Boyko	tristate "CRC32 CRC algorithm"
41178c37d19SAlexander Boyko	select CRYPTO_HASH
41278c37d19SAlexander Boyko	select CRC32
41378c37d19SAlexander Boyko	help
41478c37d19SAlexander Boyko	  CRC-32-IEEE 802.3 cyclic redundancy-check algorithm.
41578c37d19SAlexander Boyko	  Shash crypto api wrappers to crc32_le function.
41678c37d19SAlexander Boyko
41778c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL
41878c37d19SAlexander Boyko	tristate "CRC32 PCLMULQDQ hardware acceleration"
41978c37d19SAlexander Boyko	depends on X86
42078c37d19SAlexander Boyko	select CRYPTO_HASH
42178c37d19SAlexander Boyko	select CRC32
42278c37d19SAlexander Boyko	help
42378c37d19SAlexander Boyko	  From Intel Westmere and AMD Bulldozer processor with SSE4.2
42478c37d19SAlexander Boyko	  and PCLMULQDQ supported, the processor will support
42578c37d19SAlexander Boyko	  CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ
42678c37d19SAlexander Boyko	  instruction. This option will create 'crc32-plcmul' module,
42778c37d19SAlexander Boyko	  which will enable any routine to use the CRC-32-IEEE 802.3 checksum
42878c37d19SAlexander Boyko	  and gain better performance as compared with the table implementation.
42978c37d19SAlexander Boyko
43068411521SHerbert Xuconfig CRYPTO_CRCT10DIF
43168411521SHerbert Xu	tristate "CRCT10DIF algorithm"
43268411521SHerbert Xu	select CRYPTO_HASH
43368411521SHerbert Xu	help
43468411521SHerbert Xu	  CRC T10 Data Integrity Field computation is being cast as
43568411521SHerbert Xu	  a crypto transform.  This allows for faster crc t10 diff
43668411521SHerbert Xu	  transforms to be used if they are available.
43768411521SHerbert Xu
43868411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL
43968411521SHerbert Xu	tristate "CRCT10DIF PCLMULQDQ hardware acceleration"
44068411521SHerbert Xu	depends on X86 && 64BIT && CRC_T10DIF
44168411521SHerbert Xu	select CRYPTO_HASH
44268411521SHerbert Xu	help
44368411521SHerbert Xu	  For x86_64 processors with SSE4.2 and PCLMULQDQ supported,
44468411521SHerbert Xu	  CRC T10 DIF PCLMULQDQ computation can be hardware
44568411521SHerbert Xu	  accelerated PCLMULQDQ instruction. This option will create
44668411521SHerbert Xu	  'crct10dif-plcmul' module, which is faster when computing the
44768411521SHerbert Xu	  crct10dif checksum as compared with the generic table implementation.
44868411521SHerbert Xu
4492cdc6899SHuang Yingconfig CRYPTO_GHASH
4502cdc6899SHuang Ying	tristate "GHASH digest algorithm"
4512cdc6899SHuang Ying	select CRYPTO_GF128MUL
4522cdc6899SHuang Ying	help
4532cdc6899SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
4542cdc6899SHuang Ying
455f979e014SMartin Williconfig CRYPTO_POLY1305
456f979e014SMartin Willi	tristate "Poly1305 authenticator algorithm"
457f979e014SMartin Willi	help
458f979e014SMartin Willi	  Poly1305 authenticator algorithm, RFC7539.
459f979e014SMartin Willi
460f979e014SMartin Willi	  Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein.
461f979e014SMartin Willi	  It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use
462f979e014SMartin Willi	  in IETF protocols. This is the portable C implementation of Poly1305.
463f979e014SMartin Willi
4641da177e4SLinus Torvaldsconfig CRYPTO_MD4
4651da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
466808a1763SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4671da177e4SLinus Torvalds	help
4681da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
4691da177e4SLinus Torvalds
4701da177e4SLinus Torvaldsconfig CRYPTO_MD5
4711da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
47214b75ba7SAdrian-Ken Rueegsegger	select CRYPTO_HASH
4731da177e4SLinus Torvalds	help
4741da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
4751da177e4SLinus Torvalds
476d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON
477d69e75deSAaro Koskinen	tristate "MD5 digest algorithm (OCTEON)"
478d69e75deSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
479d69e75deSAaro Koskinen	select CRYPTO_MD5
480d69e75deSAaro Koskinen	select CRYPTO_HASH
481d69e75deSAaro Koskinen	help
482d69e75deSAaro Koskinen	  MD5 message digest algorithm (RFC1321) implemented
483d69e75deSAaro Koskinen	  using OCTEON crypto instructions, when available.
484d69e75deSAaro Koskinen
485e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC
486e8e59953SMarkus Stockhausen	tristate "MD5 digest algorithm (PPC)"
487e8e59953SMarkus Stockhausen	depends on PPC
488e8e59953SMarkus Stockhausen	select CRYPTO_HASH
489e8e59953SMarkus Stockhausen	help
490e8e59953SMarkus Stockhausen	  MD5 message digest algorithm (RFC1321) implemented
491e8e59953SMarkus Stockhausen	  in PPC assembler.
492e8e59953SMarkus Stockhausen
493fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64
494fa4dfedcSDavid S. Miller	tristate "MD5 digest algorithm (SPARC64)"
495fa4dfedcSDavid S. Miller	depends on SPARC64
496fa4dfedcSDavid S. Miller	select CRYPTO_MD5
497fa4dfedcSDavid S. Miller	select CRYPTO_HASH
498fa4dfedcSDavid S. Miller	help
499fa4dfedcSDavid S. Miller	  MD5 message digest algorithm (RFC1321) implemented
500fa4dfedcSDavid S. Miller	  using sparc64 crypto instructions, when available.
501fa4dfedcSDavid S. Miller
502584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC
503584fffc8SSebastian Siewior	tristate "Michael MIC keyed digest algorithm"
50419e2bf14SAdrian-Ken Rueegsegger	select CRYPTO_HASH
505584fffc8SSebastian Siewior	help
506584fffc8SSebastian Siewior	  Michael MIC is used for message integrity protection in TKIP
507584fffc8SSebastian Siewior	  (IEEE 802.11i). This algorithm is required for TKIP, but it
508584fffc8SSebastian Siewior	  should not be used for other purposes because of the weakness
509584fffc8SSebastian Siewior	  of the algorithm.
510584fffc8SSebastian Siewior
51182798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128
51282798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-128 digest algorithm"
5137c4468bcSHerbert Xu	select CRYPTO_HASH
51482798f90SAdrian-Ken Rueegsegger	help
51582798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 (ISO/IEC 10118-3:2004).
51682798f90SAdrian-Ken Rueegsegger
51782798f90SAdrian-Ken Rueegsegger	  RIPEMD-128 is a 128-bit cryptographic hash function. It should only
51835ed4b35SMichael Witten	  be used as a secure replacement for RIPEMD. For other use cases,
51982798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 should be used.
52082798f90SAdrian-Ken Rueegsegger
52182798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5226d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
52382798f90SAdrian-Ken Rueegsegger
52482798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160
52582798f90SAdrian-Ken Rueegsegger	tristate "RIPEMD-160 digest algorithm"
526e5835fbaSHerbert Xu	select CRYPTO_HASH
52782798f90SAdrian-Ken Rueegsegger	help
52882798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 (ISO/IEC 10118-3:2004).
52982798f90SAdrian-Ken Rueegsegger
53082798f90SAdrian-Ken Rueegsegger	  RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
53182798f90SAdrian-Ken Rueegsegger	  to be used as a secure replacement for the 128-bit hash functions
532b6d44341SAdrian Bunk	  MD4, MD5 and it's predecessor RIPEMD
533b6d44341SAdrian Bunk	  (not to be confused with RIPEMD-128).
53482798f90SAdrian-Ken Rueegsegger
535b6d44341SAdrian Bunk	  It's speed is comparable to SHA1 and there are no known attacks
536b6d44341SAdrian Bunk	  against RIPEMD-160.
537534fe2c1SAdrian-Ken Rueegsegger
538534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5396d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
540534fe2c1SAdrian-Ken Rueegsegger
541534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256
542534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-256 digest algorithm"
543d8a5e2e9SHerbert Xu	select CRYPTO_HASH
544534fe2c1SAdrian-Ken Rueegsegger	help
545b6d44341SAdrian Bunk	  RIPEMD-256 is an optional extension of RIPEMD-128 with a
546b6d44341SAdrian Bunk	  256 bit hash. It is intended for applications that require
547b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
548b6d44341SAdrian Bunk	  (than RIPEMD-128).
549534fe2c1SAdrian-Ken Rueegsegger
550534fe2c1SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5516d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
552534fe2c1SAdrian-Ken Rueegsegger
553534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320
554534fe2c1SAdrian-Ken Rueegsegger	tristate "RIPEMD-320 digest algorithm"
5553b8efb4cSHerbert Xu	select CRYPTO_HASH
556534fe2c1SAdrian-Ken Rueegsegger	help
557b6d44341SAdrian Bunk	  RIPEMD-320 is an optional extension of RIPEMD-160 with a
558b6d44341SAdrian Bunk	  320 bit hash. It is intended for applications that require
559b6d44341SAdrian Bunk	  longer hash-results, without needing a larger security level
560b6d44341SAdrian Bunk	  (than RIPEMD-160).
561534fe2c1SAdrian-Ken Rueegsegger
56282798f90SAdrian-Ken Rueegsegger	  Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
5636d8de74cSJustin P. Mattock	  See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
56482798f90SAdrian-Ken Rueegsegger
5651da177e4SLinus Torvaldsconfig CRYPTO_SHA1
5661da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
56754ccb367SAdrian-Ken Rueegsegger	select CRYPTO_HASH
5681da177e4SLinus Torvalds	help
5691da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
5701da177e4SLinus Torvalds
57166be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3
5727c1da8d0Schandramouli narayanan	tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)"
57366be8951SMathias Krause	depends on X86 && 64BIT
57466be8951SMathias Krause	select CRYPTO_SHA1
57566be8951SMathias Krause	select CRYPTO_HASH
57666be8951SMathias Krause	help
57766be8951SMathias Krause	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
57866be8951SMathias Krause	  using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
5797c1da8d0Schandramouli narayanan	  Extensions (AVX/AVX2), when available.
58066be8951SMathias Krause
5818275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3
5828275d1aaSTim Chen	tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)"
5838275d1aaSTim Chen	depends on X86 && 64BIT
5848275d1aaSTim Chen	select CRYPTO_SHA256
5858275d1aaSTim Chen	select CRYPTO_HASH
5868275d1aaSTim Chen	help
5878275d1aaSTim Chen	  SHA-256 secure hash standard (DFIPS 180-2) implemented
5888275d1aaSTim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
5898275d1aaSTim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
5908275d1aaSTim Chen	  version 2 (AVX2) instructions, when available.
5918275d1aaSTim Chen
59287de4579STim Chenconfig CRYPTO_SHA512_SSSE3
59387de4579STim Chen	tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
59487de4579STim Chen	depends on X86 && 64BIT
59587de4579STim Chen	select CRYPTO_SHA512
59687de4579STim Chen	select CRYPTO_HASH
59787de4579STim Chen	help
59887de4579STim Chen	  SHA-512 secure hash standard (DFIPS 180-2) implemented
59987de4579STim Chen	  using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
60087de4579STim Chen	  Extensions version 1 (AVX1), or Advanced Vector Extensions
60187de4579STim Chen	  version 2 (AVX2) instructions, when available.
60287de4579STim Chen
603efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON
604efdb6f6eSAaro Koskinen	tristate "SHA1 digest algorithm (OCTEON)"
605efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
606efdb6f6eSAaro Koskinen	select CRYPTO_SHA1
607efdb6f6eSAaro Koskinen	select CRYPTO_HASH
608efdb6f6eSAaro Koskinen	help
609efdb6f6eSAaro Koskinen	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
610efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
611efdb6f6eSAaro Koskinen
6124ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64
6134ff28d4cSDavid S. Miller	tristate "SHA1 digest algorithm (SPARC64)"
6144ff28d4cSDavid S. Miller	depends on SPARC64
6154ff28d4cSDavid S. Miller	select CRYPTO_SHA1
6164ff28d4cSDavid S. Miller	select CRYPTO_HASH
6174ff28d4cSDavid S. Miller	help
6184ff28d4cSDavid S. Miller	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
6194ff28d4cSDavid S. Miller	  using sparc64 crypto instructions, when available.
6204ff28d4cSDavid S. Miller
621323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC
622323a6bf1SMichael Ellerman	tristate "SHA1 digest algorithm (powerpc)"
623323a6bf1SMichael Ellerman	depends on PPC
624323a6bf1SMichael Ellerman	help
625323a6bf1SMichael Ellerman	  This is the powerpc hardware accelerated implementation of the
626323a6bf1SMichael Ellerman	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
627323a6bf1SMichael Ellerman
628d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE
629d9850fc5SMarkus Stockhausen	tristate "SHA1 digest algorithm (PPC SPE)"
630d9850fc5SMarkus Stockhausen	depends on PPC && SPE
631d9850fc5SMarkus Stockhausen	help
632d9850fc5SMarkus Stockhausen	  SHA-1 secure hash standard (DFIPS 180-4) implemented
633d9850fc5SMarkus Stockhausen	  using powerpc SPE SIMD instruction set.
634d9850fc5SMarkus Stockhausen
6351e65b81aSTim Chenconfig CRYPTO_SHA1_MB
6361e65b81aSTim Chen	tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)"
6371e65b81aSTim Chen	depends on X86 && 64BIT
6381e65b81aSTim Chen	select CRYPTO_SHA1
6391e65b81aSTim Chen	select CRYPTO_HASH
6401e65b81aSTim Chen	select CRYPTO_MCRYPTD
6411e65b81aSTim Chen	help
6421e65b81aSTim Chen	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
6431e65b81aSTim Chen	  using multi-buffer technique.  This algorithm computes on
6441e65b81aSTim Chen	  multiple data lanes concurrently with SIMD instructions for
6451e65b81aSTim Chen	  better throughput.  It should not be enabled by default but
6461e65b81aSTim Chen	  used when there is significant amount of work to keep the keep
6471e65b81aSTim Chen	  the data lanes filled to get performance benefit.  If the data
6481e65b81aSTim Chen	  lanes remain unfilled, a flush operation will be initiated to
6491e65b81aSTim Chen	  process the crypto jobs, adding a slight latency.
6501e65b81aSTim Chen
6511da177e4SLinus Torvaldsconfig CRYPTO_SHA256
652cd12fb90SJonathan Lynch	tristate "SHA224 and SHA256 digest algorithm"
65350e109b5SAdrian-Ken Rueegsegger	select CRYPTO_HASH
6541da177e4SLinus Torvalds	help
6551da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
6561da177e4SLinus Torvalds
6571da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
6581da177e4SLinus Torvalds	  security against collision attacks.
6591da177e4SLinus Torvalds
660cd12fb90SJonathan Lynch	  This code also includes SHA-224, a 224 bit hash with 112 bits
661cd12fb90SJonathan Lynch	  of security against collision attacks.
662cd12fb90SJonathan Lynch
6632ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE
6642ecc1e95SMarkus Stockhausen	tristate "SHA224 and SHA256 digest algorithm (PPC SPE)"
6652ecc1e95SMarkus Stockhausen	depends on PPC && SPE
6662ecc1e95SMarkus Stockhausen	select CRYPTO_SHA256
6672ecc1e95SMarkus Stockhausen	select CRYPTO_HASH
6682ecc1e95SMarkus Stockhausen	help
6692ecc1e95SMarkus Stockhausen	  SHA224 and SHA256 secure hash standard (DFIPS 180-2)
6702ecc1e95SMarkus Stockhausen	  implemented using powerpc SPE SIMD instruction set.
6712ecc1e95SMarkus Stockhausen
672efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON
673efdb6f6eSAaro Koskinen	tristate "SHA224 and SHA256 digest algorithm (OCTEON)"
674efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
675efdb6f6eSAaro Koskinen	select CRYPTO_SHA256
676efdb6f6eSAaro Koskinen	select CRYPTO_HASH
677efdb6f6eSAaro Koskinen	help
678efdb6f6eSAaro Koskinen	  SHA-256 secure hash standard (DFIPS 180-2) implemented
679efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
680efdb6f6eSAaro Koskinen
68186c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64
68286c93b24SDavid S. Miller	tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
68386c93b24SDavid S. Miller	depends on SPARC64
68486c93b24SDavid S. Miller	select CRYPTO_SHA256
68586c93b24SDavid S. Miller	select CRYPTO_HASH
68686c93b24SDavid S. Miller	help
68786c93b24SDavid S. Miller	  SHA-256 secure hash standard (DFIPS 180-2) implemented
68886c93b24SDavid S. Miller	  using sparc64 crypto instructions, when available.
68986c93b24SDavid S. Miller
6901da177e4SLinus Torvaldsconfig CRYPTO_SHA512
6911da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
692bd9d20dbSAdrian-Ken Rueegsegger	select CRYPTO_HASH
6931da177e4SLinus Torvalds	help
6941da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
6951da177e4SLinus Torvalds
6961da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
6971da177e4SLinus Torvalds	  security against collision attacks.
6981da177e4SLinus Torvalds
6991da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
7001da177e4SLinus Torvalds	  of security against collision attacks.
7011da177e4SLinus Torvalds
702efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON
703efdb6f6eSAaro Koskinen	tristate "SHA384 and SHA512 digest algorithms (OCTEON)"
704efdb6f6eSAaro Koskinen	depends on CPU_CAVIUM_OCTEON
705efdb6f6eSAaro Koskinen	select CRYPTO_SHA512
706efdb6f6eSAaro Koskinen	select CRYPTO_HASH
707efdb6f6eSAaro Koskinen	help
708efdb6f6eSAaro Koskinen	  SHA-512 secure hash standard (DFIPS 180-2) implemented
709efdb6f6eSAaro Koskinen	  using OCTEON crypto instructions, when available.
710efdb6f6eSAaro Koskinen
711775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64
712775e0c69SDavid S. Miller	tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
713775e0c69SDavid S. Miller	depends on SPARC64
714775e0c69SDavid S. Miller	select CRYPTO_SHA512
715775e0c69SDavid S. Miller	select CRYPTO_HASH
716775e0c69SDavid S. Miller	help
717775e0c69SDavid S. Miller	  SHA-512 secure hash standard (DFIPS 180-2) implemented
718775e0c69SDavid S. Miller	  using sparc64 crypto instructions, when available.
719775e0c69SDavid S. Miller
7201da177e4SLinus Torvaldsconfig CRYPTO_TGR192
7211da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
722f63fbd3dSAdrian-Ken Rueegsegger	select CRYPTO_HASH
7231da177e4SLinus Torvalds	help
7241da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
7251da177e4SLinus Torvalds
7261da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
7271da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
7281da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
7291da177e4SLinus Torvalds
7301da177e4SLinus Torvalds	  See also:
7311da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
7321da177e4SLinus Torvalds
733584fffc8SSebastian Siewiorconfig CRYPTO_WP512
734584fffc8SSebastian Siewior	tristate "Whirlpool digest algorithms"
7354946510bSAdrian-Ken Rueegsegger	select CRYPTO_HASH
7361da177e4SLinus Torvalds	help
737584fffc8SSebastian Siewior	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
7381da177e4SLinus Torvalds
739584fffc8SSebastian Siewior	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
740584fffc8SSebastian Siewior	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
7411da177e4SLinus Torvalds
7421da177e4SLinus Torvalds	  See also:
7436d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
7441da177e4SLinus Torvalds
7450e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL
7460e1227d3SHuang Ying	tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
7478af00860SRichard Weinberger	depends on X86 && 64BIT
7480e1227d3SHuang Ying	select CRYPTO_CRYPTD
7490e1227d3SHuang Ying	help
7500e1227d3SHuang Ying	  GHASH is message digest algorithm for GCM (Galois/Counter Mode).
7510e1227d3SHuang Ying	  The implementation is accelerated by CLMUL-NI of Intel.
7520e1227d3SHuang Ying
753584fffc8SSebastian Siewiorcomment "Ciphers"
7541da177e4SLinus Torvalds
7551da177e4SLinus Torvaldsconfig CRYPTO_AES
7561da177e4SLinus Torvalds	tristate "AES cipher algorithms"
757cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7581da177e4SLinus Torvalds	help
7591da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
7601da177e4SLinus Torvalds	  algorithm.
7611da177e4SLinus Torvalds
7621da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
7631da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
7641da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
7651da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
7661da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
7671da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
7681da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
7691da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
7701da177e4SLinus Torvalds
7711da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
7721da177e4SLinus Torvalds
7731da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
7741da177e4SLinus Torvalds
7751da177e4SLinus Torvaldsconfig CRYPTO_AES_586
7761da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
777cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
778cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7795157dea8SSebastian Siewior	select CRYPTO_AES
7801da177e4SLinus Torvalds	help
7811da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
7821da177e4SLinus Torvalds	  algorithm.
7831da177e4SLinus Torvalds
7841da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
7851da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
7861da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
7871da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
7881da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
7891da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
7901da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
7911da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
7921da177e4SLinus Torvalds
7931da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
7941da177e4SLinus Torvalds
7951da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
7961da177e4SLinus Torvalds
797a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
798a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
799cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
800cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
80181190b32SSebastian Siewior	select CRYPTO_AES
802a2a892a2SAndreas Steinmetz	help
803a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
804a2a892a2SAndreas Steinmetz	  algorithm.
805a2a892a2SAndreas Steinmetz
806a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
807a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
808a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
809a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
810a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
811a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
812a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
813a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
814a2a892a2SAndreas Steinmetz
815a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
816a2a892a2SAndreas Steinmetz
817a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
818a2a892a2SAndreas Steinmetz
81954b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL
82054b6a1bdSHuang Ying	tristate "AES cipher algorithms (AES-NI)"
8218af00860SRichard Weinberger	depends on X86
8220d258efbSMathias Krause	select CRYPTO_AES_X86_64 if 64BIT
8230d258efbSMathias Krause	select CRYPTO_AES_586 if !64BIT
82454b6a1bdSHuang Ying	select CRYPTO_CRYPTD
825801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
82654b6a1bdSHuang Ying	select CRYPTO_ALGAPI
8277643a11aSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86 if 64BIT
828023af608SJussi Kivilinna	select CRYPTO_LRW
829023af608SJussi Kivilinna	select CRYPTO_XTS
83054b6a1bdSHuang Ying	help
83154b6a1bdSHuang Ying	  Use Intel AES-NI instructions for AES algorithm.
83254b6a1bdSHuang Ying
83354b6a1bdSHuang Ying	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
83454b6a1bdSHuang Ying	  algorithm.
83554b6a1bdSHuang Ying
83654b6a1bdSHuang Ying	  Rijndael appears to be consistently a very good performer in
83754b6a1bdSHuang Ying	  both hardware and software across a wide range of computing
83854b6a1bdSHuang Ying	  environments regardless of its use in feedback or non-feedback
83954b6a1bdSHuang Ying	  modes. Its key setup time is excellent, and its key agility is
84054b6a1bdSHuang Ying	  good. Rijndael's very low memory requirements make it very well
84154b6a1bdSHuang Ying	  suited for restricted-space environments, in which it also
84254b6a1bdSHuang Ying	  demonstrates excellent performance. Rijndael's operations are
84354b6a1bdSHuang Ying	  among the easiest to defend against power and timing attacks.
84454b6a1bdSHuang Ying
84554b6a1bdSHuang Ying	  The AES specifies three key sizes: 128, 192 and 256 bits
84654b6a1bdSHuang Ying
84754b6a1bdSHuang Ying	  See <http://csrc.nist.gov/encryption/aes/> for more information.
84854b6a1bdSHuang Ying
8490d258efbSMathias Krause	  In addition to AES cipher algorithm support, the acceleration
8500d258efbSMathias Krause	  for some popular block cipher mode is supported too, including
8510d258efbSMathias Krause	  ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
8520d258efbSMathias Krause	  acceleration for CTR.
8532cf4ac8bSHuang Ying
8549bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64
8559bf4852dSDavid S. Miller	tristate "AES cipher algorithms (SPARC64)"
8569bf4852dSDavid S. Miller	depends on SPARC64
8579bf4852dSDavid S. Miller	select CRYPTO_CRYPTD
8589bf4852dSDavid S. Miller	select CRYPTO_ALGAPI
8599bf4852dSDavid S. Miller	help
8609bf4852dSDavid S. Miller	  Use SPARC64 crypto opcodes for AES algorithm.
8619bf4852dSDavid S. Miller
8629bf4852dSDavid S. Miller	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
8639bf4852dSDavid S. Miller	  algorithm.
8649bf4852dSDavid S. Miller
8659bf4852dSDavid S. Miller	  Rijndael appears to be consistently a very good performer in
8669bf4852dSDavid S. Miller	  both hardware and software across a wide range of computing
8679bf4852dSDavid S. Miller	  environments regardless of its use in feedback or non-feedback
8689bf4852dSDavid S. Miller	  modes. Its key setup time is excellent, and its key agility is
8699bf4852dSDavid S. Miller	  good. Rijndael's very low memory requirements make it very well
8709bf4852dSDavid S. Miller	  suited for restricted-space environments, in which it also
8719bf4852dSDavid S. Miller	  demonstrates excellent performance. Rijndael's operations are
8729bf4852dSDavid S. Miller	  among the easiest to defend against power and timing attacks.
8739bf4852dSDavid S. Miller
8749bf4852dSDavid S. Miller	  The AES specifies three key sizes: 128, 192 and 256 bits
8759bf4852dSDavid S. Miller
8769bf4852dSDavid S. Miller	  See <http://csrc.nist.gov/encryption/aes/> for more information.
8779bf4852dSDavid S. Miller
8789bf4852dSDavid S. Miller	  In addition to AES cipher algorithm support, the acceleration
8799bf4852dSDavid S. Miller	  for some popular block cipher mode is supported too, including
8809bf4852dSDavid S. Miller	  ECB and CBC.
8819bf4852dSDavid S. Miller
882504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE
883504c6143SMarkus Stockhausen	tristate "AES cipher algorithms (PPC SPE)"
884504c6143SMarkus Stockhausen	depends on PPC && SPE
885504c6143SMarkus Stockhausen	help
886504c6143SMarkus Stockhausen	  AES cipher algorithms (FIPS-197). Additionally the acceleration
887504c6143SMarkus Stockhausen	  for popular block cipher modes ECB, CBC, CTR and XTS is supported.
888504c6143SMarkus Stockhausen	  This module should only be used for low power (router) devices
889504c6143SMarkus Stockhausen	  without hardware AES acceleration (e.g. caam crypto). It reduces the
890504c6143SMarkus Stockhausen	  size of the AES tables from 16KB to 8KB + 256 bytes and mitigates
891504c6143SMarkus Stockhausen	  timining attacks. Nevertheless it might be not as secure as other
892504c6143SMarkus Stockhausen	  architecture specific assembler implementations that work on 1KB
893504c6143SMarkus Stockhausen	  tables or 256 bytes S-boxes.
894504c6143SMarkus Stockhausen
8951da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
8961da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
897cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
8981da177e4SLinus Torvalds	help
8991da177e4SLinus Torvalds	  Anubis cipher algorithm.
9001da177e4SLinus Torvalds
9011da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
9021da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
9031da177e4SLinus Torvalds	  in the NESSIE competition.
9041da177e4SLinus Torvalds
9051da177e4SLinus Torvalds	  See also:
9066d8de74cSJustin P. Mattock	  <https://www.cosic.esat.kuleuven.be/nessie/reports/>
9076d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
9081da177e4SLinus Torvalds
909584fffc8SSebastian Siewiorconfig CRYPTO_ARC4
910584fffc8SSebastian Siewior	tristate "ARC4 cipher algorithm"
911b9b0f080SSebastian Andrzej Siewior	select CRYPTO_BLKCIPHER
912e2ee95b8SHye-Shik Chang	help
913584fffc8SSebastian Siewior	  ARC4 cipher algorithm.
914e2ee95b8SHye-Shik Chang
915584fffc8SSebastian Siewior	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
916584fffc8SSebastian Siewior	  bits in length.  This algorithm is required for driver-based
917584fffc8SSebastian Siewior	  WEP, but it should not be for other purposes because of the
918584fffc8SSebastian Siewior	  weakness of the algorithm.
919584fffc8SSebastian Siewior
920584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH
921584fffc8SSebastian Siewior	tristate "Blowfish cipher algorithm"
922584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
92352ba867cSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
924584fffc8SSebastian Siewior	help
925584fffc8SSebastian Siewior	  Blowfish cipher algorithm, by Bruce Schneier.
926584fffc8SSebastian Siewior
927584fffc8SSebastian Siewior	  This is a variable key length cipher which can use keys from 32
928584fffc8SSebastian Siewior	  bits to 448 bits in length.  It's fast, simple and specifically
929584fffc8SSebastian Siewior	  designed for use on "large microprocessors".
930e2ee95b8SHye-Shik Chang
931e2ee95b8SHye-Shik Chang	  See also:
932584fffc8SSebastian Siewior	  <http://www.schneier.com/blowfish.html>
933584fffc8SSebastian Siewior
93452ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON
93552ba867cSJussi Kivilinna	tristate
93652ba867cSJussi Kivilinna	help
93752ba867cSJussi Kivilinna	  Common parts of the Blowfish cipher algorithm shared by the
93852ba867cSJussi Kivilinna	  generic c and the assembler implementations.
93952ba867cSJussi Kivilinna
94052ba867cSJussi Kivilinna	  See also:
94152ba867cSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
94252ba867cSJussi Kivilinna
94364b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64
94464b94ceaSJussi Kivilinna	tristate "Blowfish cipher algorithm (x86_64)"
945f21a7c19SAl Viro	depends on X86 && 64BIT
94664b94ceaSJussi Kivilinna	select CRYPTO_ALGAPI
94764b94ceaSJussi Kivilinna	select CRYPTO_BLOWFISH_COMMON
94864b94ceaSJussi Kivilinna	help
94964b94ceaSJussi Kivilinna	  Blowfish cipher algorithm (x86_64), by Bruce Schneier.
95064b94ceaSJussi Kivilinna
95164b94ceaSJussi Kivilinna	  This is a variable key length cipher which can use keys from 32
95264b94ceaSJussi Kivilinna	  bits to 448 bits in length.  It's fast, simple and specifically
95364b94ceaSJussi Kivilinna	  designed for use on "large microprocessors".
95464b94ceaSJussi Kivilinna
95564b94ceaSJussi Kivilinna	  See also:
95664b94ceaSJussi Kivilinna	  <http://www.schneier.com/blowfish.html>
95764b94ceaSJussi Kivilinna
958584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA
959584fffc8SSebastian Siewior	tristate "Camellia cipher algorithms"
960584fffc8SSebastian Siewior	depends on CRYPTO
961584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
962584fffc8SSebastian Siewior	help
963584fffc8SSebastian Siewior	  Camellia cipher algorithms module.
964584fffc8SSebastian Siewior
965584fffc8SSebastian Siewior	  Camellia is a symmetric key block cipher developed jointly
966584fffc8SSebastian Siewior	  at NTT and Mitsubishi Electric Corporation.
967584fffc8SSebastian Siewior
968584fffc8SSebastian Siewior	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
969584fffc8SSebastian Siewior
970584fffc8SSebastian Siewior	  See also:
971584fffc8SSebastian Siewior	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
972584fffc8SSebastian Siewior
9730b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64
9740b95ec56SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64)"
975f21a7c19SAl Viro	depends on X86 && 64BIT
9760b95ec56SJussi Kivilinna	depends on CRYPTO
9770b95ec56SJussi Kivilinna	select CRYPTO_ALGAPI
978964263afSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
9790b95ec56SJussi Kivilinna	select CRYPTO_LRW
9800b95ec56SJussi Kivilinna	select CRYPTO_XTS
9810b95ec56SJussi Kivilinna	help
9820b95ec56SJussi Kivilinna	  Camellia cipher algorithm module (x86_64).
9830b95ec56SJussi Kivilinna
9840b95ec56SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
9850b95ec56SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
9860b95ec56SJussi Kivilinna
9870b95ec56SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
9880b95ec56SJussi Kivilinna
9890b95ec56SJussi Kivilinna	  See also:
9900b95ec56SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
9910b95ec56SJussi Kivilinna
992d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64
993d9b1d2e7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
994d9b1d2e7SJussi Kivilinna	depends on X86 && 64BIT
995d9b1d2e7SJussi Kivilinna	depends on CRYPTO
996d9b1d2e7SJussi Kivilinna	select CRYPTO_ALGAPI
997d9b1d2e7SJussi Kivilinna	select CRYPTO_CRYPTD
998801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
999d9b1d2e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1000d9b1d2e7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
1001d9b1d2e7SJussi Kivilinna	select CRYPTO_LRW
1002d9b1d2e7SJussi Kivilinna	select CRYPTO_XTS
1003d9b1d2e7SJussi Kivilinna	help
1004d9b1d2e7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX).
1005d9b1d2e7SJussi Kivilinna
1006d9b1d2e7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
1007d9b1d2e7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
1008d9b1d2e7SJussi Kivilinna
1009d9b1d2e7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
1010d9b1d2e7SJussi Kivilinna
1011d9b1d2e7SJussi Kivilinna	  See also:
1012d9b1d2e7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
1013d9b1d2e7SJussi Kivilinna
1014f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64
1015f3f935a7SJussi Kivilinna	tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)"
1016f3f935a7SJussi Kivilinna	depends on X86 && 64BIT
1017f3f935a7SJussi Kivilinna	depends on CRYPTO
1018f3f935a7SJussi Kivilinna	select CRYPTO_ALGAPI
1019f3f935a7SJussi Kivilinna	select CRYPTO_CRYPTD
1020801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1021f3f935a7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1022f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_X86_64
1023f3f935a7SJussi Kivilinna	select CRYPTO_CAMELLIA_AESNI_AVX_X86_64
1024f3f935a7SJussi Kivilinna	select CRYPTO_LRW
1025f3f935a7SJussi Kivilinna	select CRYPTO_XTS
1026f3f935a7SJussi Kivilinna	help
1027f3f935a7SJussi Kivilinna	  Camellia cipher algorithm module (x86_64/AES-NI/AVX2).
1028f3f935a7SJussi Kivilinna
1029f3f935a7SJussi Kivilinna	  Camellia is a symmetric key block cipher developed jointly
1030f3f935a7SJussi Kivilinna	  at NTT and Mitsubishi Electric Corporation.
1031f3f935a7SJussi Kivilinna
1032f3f935a7SJussi Kivilinna	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
1033f3f935a7SJussi Kivilinna
1034f3f935a7SJussi Kivilinna	  See also:
1035f3f935a7SJussi Kivilinna	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
1036f3f935a7SJussi Kivilinna
103781658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64
103881658ad0SDavid S. Miller	tristate "Camellia cipher algorithm (SPARC64)"
103981658ad0SDavid S. Miller	depends on SPARC64
104081658ad0SDavid S. Miller	depends on CRYPTO
104181658ad0SDavid S. Miller	select CRYPTO_ALGAPI
104281658ad0SDavid S. Miller	help
104381658ad0SDavid S. Miller	  Camellia cipher algorithm module (SPARC64).
104481658ad0SDavid S. Miller
104581658ad0SDavid S. Miller	  Camellia is a symmetric key block cipher developed jointly
104681658ad0SDavid S. Miller	  at NTT and Mitsubishi Electric Corporation.
104781658ad0SDavid S. Miller
104881658ad0SDavid S. Miller	  The Camellia specifies three key sizes: 128, 192 and 256 bits.
104981658ad0SDavid S. Miller
105081658ad0SDavid S. Miller	  See also:
105181658ad0SDavid S. Miller	  <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
105281658ad0SDavid S. Miller
1053044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON
1054044ab525SJussi Kivilinna	tristate
1055044ab525SJussi Kivilinna	help
1056044ab525SJussi Kivilinna	  Common parts of the CAST cipher algorithms shared by the
1057044ab525SJussi Kivilinna	  generic c and the assembler implementations.
1058044ab525SJussi Kivilinna
1059584fffc8SSebastian Siewiorconfig CRYPTO_CAST5
1060584fffc8SSebastian Siewior	tristate "CAST5 (CAST-128) cipher algorithm"
1061584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1062044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
1063584fffc8SSebastian Siewior	help
1064584fffc8SSebastian Siewior	  The CAST5 encryption algorithm (synonymous with CAST-128) is
1065584fffc8SSebastian Siewior	  described in RFC2144.
1066584fffc8SSebastian Siewior
10674d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64
10684d6d6a2cSJohannes Goetzfried	tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
10694d6d6a2cSJohannes Goetzfried	depends on X86 && 64BIT
10704d6d6a2cSJohannes Goetzfried	select CRYPTO_ALGAPI
10714d6d6a2cSJohannes Goetzfried	select CRYPTO_CRYPTD
1072801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1073044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
10744d6d6a2cSJohannes Goetzfried	select CRYPTO_CAST5
10754d6d6a2cSJohannes Goetzfried	help
10764d6d6a2cSJohannes Goetzfried	  The CAST5 encryption algorithm (synonymous with CAST-128) is
10774d6d6a2cSJohannes Goetzfried	  described in RFC2144.
10784d6d6a2cSJohannes Goetzfried
10794d6d6a2cSJohannes Goetzfried	  This module provides the Cast5 cipher algorithm that processes
10804d6d6a2cSJohannes Goetzfried	  sixteen blocks parallel using the AVX instruction set.
10814d6d6a2cSJohannes Goetzfried
1082584fffc8SSebastian Siewiorconfig CRYPTO_CAST6
1083584fffc8SSebastian Siewior	tristate "CAST6 (CAST-256) cipher algorithm"
1084584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1085044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
1086584fffc8SSebastian Siewior	help
1087584fffc8SSebastian Siewior	  The CAST6 encryption algorithm (synonymous with CAST-256) is
1088584fffc8SSebastian Siewior	  described in RFC2612.
1089584fffc8SSebastian Siewior
10904ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64
10914ea1277dSJohannes Goetzfried	tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
10924ea1277dSJohannes Goetzfried	depends on X86 && 64BIT
10934ea1277dSJohannes Goetzfried	select CRYPTO_ALGAPI
10944ea1277dSJohannes Goetzfried	select CRYPTO_CRYPTD
1095801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
10964ea1277dSJohannes Goetzfried	select CRYPTO_GLUE_HELPER_X86
1097044ab525SJussi Kivilinna	select CRYPTO_CAST_COMMON
10984ea1277dSJohannes Goetzfried	select CRYPTO_CAST6
10994ea1277dSJohannes Goetzfried	select CRYPTO_LRW
11004ea1277dSJohannes Goetzfried	select CRYPTO_XTS
11014ea1277dSJohannes Goetzfried	help
11024ea1277dSJohannes Goetzfried	  The CAST6 encryption algorithm (synonymous with CAST-256) is
11034ea1277dSJohannes Goetzfried	  described in RFC2612.
11044ea1277dSJohannes Goetzfried
11054ea1277dSJohannes Goetzfried	  This module provides the Cast6 cipher algorithm that processes
11064ea1277dSJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
11074ea1277dSJohannes Goetzfried
1108584fffc8SSebastian Siewiorconfig CRYPTO_DES
1109584fffc8SSebastian Siewior	tristate "DES and Triple DES EDE cipher algorithms"
1110584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1111584fffc8SSebastian Siewior	help
1112584fffc8SSebastian Siewior	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1113584fffc8SSebastian Siewior
1114c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64
1115c5aac2dfSDavid S. Miller	tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
111697da37b3SDave Jones	depends on SPARC64
1117c5aac2dfSDavid S. Miller	select CRYPTO_ALGAPI
1118c5aac2dfSDavid S. Miller	select CRYPTO_DES
1119c5aac2dfSDavid S. Miller	help
1120c5aac2dfSDavid S. Miller	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
1121c5aac2dfSDavid S. Miller	  optimized using SPARC64 crypto opcodes.
1122c5aac2dfSDavid S. Miller
11236574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64
11246574e6c6SJussi Kivilinna	tristate "Triple DES EDE cipher algorithm (x86-64)"
11256574e6c6SJussi Kivilinna	depends on X86 && 64BIT
11266574e6c6SJussi Kivilinna	select CRYPTO_ALGAPI
11276574e6c6SJussi Kivilinna	select CRYPTO_DES
11286574e6c6SJussi Kivilinna	help
11296574e6c6SJussi Kivilinna	  Triple DES EDE (FIPS 46-3) algorithm.
11306574e6c6SJussi Kivilinna
11316574e6c6SJussi Kivilinna	  This module provides implementation of the Triple DES EDE cipher
11326574e6c6SJussi Kivilinna	  algorithm that is optimized for x86-64 processors. Two versions of
11336574e6c6SJussi Kivilinna	  algorithm are provided; regular processing one input block and
11346574e6c6SJussi Kivilinna	  one that processes three blocks parallel.
11356574e6c6SJussi Kivilinna
1136584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT
1137584fffc8SSebastian Siewior	tristate "FCrypt cipher algorithm"
1138584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1139584fffc8SSebastian Siewior	select CRYPTO_BLKCIPHER
1140584fffc8SSebastian Siewior	help
1141584fffc8SSebastian Siewior	  FCrypt algorithm used by RxRPC.
1142584fffc8SSebastian Siewior
1143584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD
1144584fffc8SSebastian Siewior	tristate "Khazad cipher algorithm"
1145584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1146584fffc8SSebastian Siewior	help
1147584fffc8SSebastian Siewior	  Khazad cipher algorithm.
1148584fffc8SSebastian Siewior
1149584fffc8SSebastian Siewior	  Khazad was a finalist in the initial NESSIE competition.  It is
1150584fffc8SSebastian Siewior	  an algorithm optimized for 64-bit processors with good performance
1151584fffc8SSebastian Siewior	  on 32-bit processors.  Khazad uses an 128 bit key size.
1152584fffc8SSebastian Siewior
1153584fffc8SSebastian Siewior	  See also:
11546d8de74cSJustin P. Mattock	  <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
1155e2ee95b8SHye-Shik Chang
11562407d608STan Swee Hengconfig CRYPTO_SALSA20
11573b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm"
11582407d608STan Swee Heng	select CRYPTO_BLKCIPHER
11592407d608STan Swee Heng	help
11602407d608STan Swee Heng	  Salsa20 stream cipher algorithm.
11612407d608STan Swee Heng
11622407d608STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
11632407d608STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
11642407d608STan Swee Heng
11652407d608STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
11662407d608STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
11671da177e4SLinus Torvalds
1168974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586
11693b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (i586)"
1170974e4b75STan Swee Heng	depends on (X86 || UML_X86) && !64BIT
1171974e4b75STan Swee Heng	select CRYPTO_BLKCIPHER
1172974e4b75STan Swee Heng	help
1173974e4b75STan Swee Heng	  Salsa20 stream cipher algorithm.
1174974e4b75STan Swee Heng
1175974e4b75STan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
1176974e4b75STan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
1177974e4b75STan Swee Heng
1178974e4b75STan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
1179974e4b75STan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
1180974e4b75STan Swee Heng
11819a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64
11823b4afaf2SKees Cook	tristate "Salsa20 stream cipher algorithm (x86_64)"
11839a7dafbbSTan Swee Heng	depends on (X86 || UML_X86) && 64BIT
11849a7dafbbSTan Swee Heng	select CRYPTO_BLKCIPHER
11859a7dafbbSTan Swee Heng	help
11869a7dafbbSTan Swee Heng	  Salsa20 stream cipher algorithm.
11879a7dafbbSTan Swee Heng
11889a7dafbbSTan Swee Heng	  Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
11899a7dafbbSTan Swee Heng	  Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
11909a7dafbbSTan Swee Heng
11919a7dafbbSTan Swee Heng	  The Salsa20 stream cipher algorithm is designed by Daniel J.
11929a7dafbbSTan Swee Heng	  Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
11939a7dafbbSTan Swee Heng
1194c08d0e64SMartin Williconfig CRYPTO_CHACHA20
1195c08d0e64SMartin Willi	tristate "ChaCha20 cipher algorithm"
1196c08d0e64SMartin Willi	select CRYPTO_BLKCIPHER
1197c08d0e64SMartin Willi	help
1198c08d0e64SMartin Willi	  ChaCha20 cipher algorithm, RFC7539.
1199c08d0e64SMartin Willi
1200c08d0e64SMartin Willi	  ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J.
1201c08d0e64SMartin Willi	  Bernstein and further specified in RFC7539 for use in IETF protocols.
1202c08d0e64SMartin Willi	  This is the portable C implementation of ChaCha20.
1203c08d0e64SMartin Willi
1204c08d0e64SMartin Willi	  See also:
1205c08d0e64SMartin Willi	  <http://cr.yp.to/chacha/chacha-20080128.pdf>
1206c08d0e64SMartin Willi
1207584fffc8SSebastian Siewiorconfig CRYPTO_SEED
1208584fffc8SSebastian Siewior	tristate "SEED cipher algorithm"
1209584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1210584fffc8SSebastian Siewior	help
1211584fffc8SSebastian Siewior	  SEED cipher algorithm (RFC4269).
1212584fffc8SSebastian Siewior
1213584fffc8SSebastian Siewior	  SEED is a 128-bit symmetric key block cipher that has been
1214584fffc8SSebastian Siewior	  developed by KISA (Korea Information Security Agency) as a
1215584fffc8SSebastian Siewior	  national standard encryption algorithm of the Republic of Korea.
1216584fffc8SSebastian Siewior	  It is a 16 round block cipher with the key size of 128 bit.
1217584fffc8SSebastian Siewior
1218584fffc8SSebastian Siewior	  See also:
1219584fffc8SSebastian Siewior	  <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
1220584fffc8SSebastian Siewior
1221584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT
1222584fffc8SSebastian Siewior	tristate "Serpent cipher algorithm"
1223584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1224584fffc8SSebastian Siewior	help
1225584fffc8SSebastian Siewior	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1226584fffc8SSebastian Siewior
1227584fffc8SSebastian Siewior	  Keys are allowed to be from 0 to 256 bits in length, in steps
1228584fffc8SSebastian Siewior	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
1229584fffc8SSebastian Siewior	  variant of Serpent for compatibility with old kerneli.org code.
1230584fffc8SSebastian Siewior
1231584fffc8SSebastian Siewior	  See also:
1232584fffc8SSebastian Siewior	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1233584fffc8SSebastian Siewior
1234937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64
1235937c30d7SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/SSE2)"
1236937c30d7SJussi Kivilinna	depends on X86 && 64BIT
1237937c30d7SJussi Kivilinna	select CRYPTO_ALGAPI
1238341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1239801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1240596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1241937c30d7SJussi Kivilinna	select CRYPTO_SERPENT
1242feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1243feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1244937c30d7SJussi Kivilinna	help
1245937c30d7SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1246937c30d7SJussi Kivilinna
1247937c30d7SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1248937c30d7SJussi Kivilinna	  of 8 bits.
1249937c30d7SJussi Kivilinna
12501e6232f8SMasanari Iida	  This module provides Serpent cipher algorithm that processes eight
1251937c30d7SJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1252937c30d7SJussi Kivilinna
1253937c30d7SJussi Kivilinna	  See also:
1254937c30d7SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1255937c30d7SJussi Kivilinna
1256251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586
1257251496dbSJussi Kivilinna	tristate "Serpent cipher algorithm (i586/SSE2)"
1258251496dbSJussi Kivilinna	depends on X86 && !64BIT
1259251496dbSJussi Kivilinna	select CRYPTO_ALGAPI
1260341975bfSJussi Kivilinna	select CRYPTO_CRYPTD
1261801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1262596d8750SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1263251496dbSJussi Kivilinna	select CRYPTO_SERPENT
1264feaf0cfcSJussi Kivilinna	select CRYPTO_LRW
1265feaf0cfcSJussi Kivilinna	select CRYPTO_XTS
1266251496dbSJussi Kivilinna	help
1267251496dbSJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1268251496dbSJussi Kivilinna
1269251496dbSJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
1270251496dbSJussi Kivilinna	  of 8 bits.
1271251496dbSJussi Kivilinna
1272251496dbSJussi Kivilinna	  This module provides Serpent cipher algorithm that processes four
1273251496dbSJussi Kivilinna	  blocks parallel using SSE2 instruction set.
1274251496dbSJussi Kivilinna
1275251496dbSJussi Kivilinna	  See also:
1276251496dbSJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1277251496dbSJussi Kivilinna
12787efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64
12797efe4076SJohannes Goetzfried	tristate "Serpent cipher algorithm (x86_64/AVX)"
12807efe4076SJohannes Goetzfried	depends on X86 && 64BIT
12817efe4076SJohannes Goetzfried	select CRYPTO_ALGAPI
12827efe4076SJohannes Goetzfried	select CRYPTO_CRYPTD
1283801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
12841d0debbdSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
12857efe4076SJohannes Goetzfried	select CRYPTO_SERPENT
12867efe4076SJohannes Goetzfried	select CRYPTO_LRW
12877efe4076SJohannes Goetzfried	select CRYPTO_XTS
12887efe4076SJohannes Goetzfried	help
12897efe4076SJohannes Goetzfried	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
12907efe4076SJohannes Goetzfried
12917efe4076SJohannes Goetzfried	  Keys are allowed to be from 0 to 256 bits in length, in steps
12927efe4076SJohannes Goetzfried	  of 8 bits.
12937efe4076SJohannes Goetzfried
12947efe4076SJohannes Goetzfried	  This module provides the Serpent cipher algorithm that processes
12957efe4076SJohannes Goetzfried	  eight blocks parallel using the AVX instruction set.
12967efe4076SJohannes Goetzfried
12977efe4076SJohannes Goetzfried	  See also:
12987efe4076SJohannes Goetzfried	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
12997efe4076SJohannes Goetzfried
130056d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64
130156d76c96SJussi Kivilinna	tristate "Serpent cipher algorithm (x86_64/AVX2)"
130256d76c96SJussi Kivilinna	depends on X86 && 64BIT
130356d76c96SJussi Kivilinna	select CRYPTO_ALGAPI
130456d76c96SJussi Kivilinna	select CRYPTO_CRYPTD
1305801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
130656d76c96SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
130756d76c96SJussi Kivilinna	select CRYPTO_SERPENT
130856d76c96SJussi Kivilinna	select CRYPTO_SERPENT_AVX_X86_64
130956d76c96SJussi Kivilinna	select CRYPTO_LRW
131056d76c96SJussi Kivilinna	select CRYPTO_XTS
131156d76c96SJussi Kivilinna	help
131256d76c96SJussi Kivilinna	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
131356d76c96SJussi Kivilinna
131456d76c96SJussi Kivilinna	  Keys are allowed to be from 0 to 256 bits in length, in steps
131556d76c96SJussi Kivilinna	  of 8 bits.
131656d76c96SJussi Kivilinna
131756d76c96SJussi Kivilinna	  This module provides Serpent cipher algorithm that processes 16
131856d76c96SJussi Kivilinna	  blocks parallel using AVX2 instruction set.
131956d76c96SJussi Kivilinna
132056d76c96SJussi Kivilinna	  See also:
132156d76c96SJussi Kivilinna	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
132256d76c96SJussi Kivilinna
1323584fffc8SSebastian Siewiorconfig CRYPTO_TEA
1324584fffc8SSebastian Siewior	tristate "TEA, XTEA and XETA cipher algorithms"
1325584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1326584fffc8SSebastian Siewior	help
1327584fffc8SSebastian Siewior	  TEA cipher algorithm.
1328584fffc8SSebastian Siewior
1329584fffc8SSebastian Siewior	  Tiny Encryption Algorithm is a simple cipher that uses
1330584fffc8SSebastian Siewior	  many rounds for security.  It is very fast and uses
1331584fffc8SSebastian Siewior	  little memory.
1332584fffc8SSebastian Siewior
1333584fffc8SSebastian Siewior	  Xtendend Tiny Encryption Algorithm is a modification to
1334584fffc8SSebastian Siewior	  the TEA algorithm to address a potential key weakness
1335584fffc8SSebastian Siewior	  in the TEA algorithm.
1336584fffc8SSebastian Siewior
1337584fffc8SSebastian Siewior	  Xtendend Encryption Tiny Algorithm is a mis-implementation
1338584fffc8SSebastian Siewior	  of the XTEA algorithm for compatibility purposes.
1339584fffc8SSebastian Siewior
1340584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH
1341584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm"
1342584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1343584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1344584fffc8SSebastian Siewior	help
1345584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1346584fffc8SSebastian Siewior
1347584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1348584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1349584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1350584fffc8SSebastian Siewior	  bits.
1351584fffc8SSebastian Siewior
1352584fffc8SSebastian Siewior	  See also:
1353584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1354584fffc8SSebastian Siewior
1355584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON
1356584fffc8SSebastian Siewior	tristate
1357584fffc8SSebastian Siewior	help
1358584fffc8SSebastian Siewior	  Common parts of the Twofish cipher algorithm shared by the
1359584fffc8SSebastian Siewior	  generic c and the assembler implementations.
1360584fffc8SSebastian Siewior
1361584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586
1362584fffc8SSebastian Siewior	tristate "Twofish cipher algorithms (i586)"
1363584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && !64BIT
1364584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1365584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1366584fffc8SSebastian Siewior	help
1367584fffc8SSebastian Siewior	  Twofish cipher algorithm.
1368584fffc8SSebastian Siewior
1369584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1370584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1371584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1372584fffc8SSebastian Siewior	  bits.
1373584fffc8SSebastian Siewior
1374584fffc8SSebastian Siewior	  See also:
1375584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1376584fffc8SSebastian Siewior
1377584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64
1378584fffc8SSebastian Siewior	tristate "Twofish cipher algorithm (x86_64)"
1379584fffc8SSebastian Siewior	depends on (X86 || UML_X86) && 64BIT
1380584fffc8SSebastian Siewior	select CRYPTO_ALGAPI
1381584fffc8SSebastian Siewior	select CRYPTO_TWOFISH_COMMON
1382584fffc8SSebastian Siewior	help
1383584fffc8SSebastian Siewior	  Twofish cipher algorithm (x86_64).
1384584fffc8SSebastian Siewior
1385584fffc8SSebastian Siewior	  Twofish was submitted as an AES (Advanced Encryption Standard)
1386584fffc8SSebastian Siewior	  candidate cipher by researchers at CounterPane Systems.  It is a
1387584fffc8SSebastian Siewior	  16 round block cipher supporting key sizes of 128, 192, and 256
1388584fffc8SSebastian Siewior	  bits.
1389584fffc8SSebastian Siewior
1390584fffc8SSebastian Siewior	  See also:
1391584fffc8SSebastian Siewior	  <http://www.schneier.com/twofish.html>
1392584fffc8SSebastian Siewior
13938280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY
13948280daadSJussi Kivilinna	tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
1395f21a7c19SAl Viro	depends on X86 && 64BIT
13968280daadSJussi Kivilinna	select CRYPTO_ALGAPI
13978280daadSJussi Kivilinna	select CRYPTO_TWOFISH_COMMON
13988280daadSJussi Kivilinna	select CRYPTO_TWOFISH_X86_64
1399414cb5e7SJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1400e7cda5d2SJussi Kivilinna	select CRYPTO_LRW
1401e7cda5d2SJussi Kivilinna	select CRYPTO_XTS
14028280daadSJussi Kivilinna	help
14038280daadSJussi Kivilinna	  Twofish cipher algorithm (x86_64, 3-way parallel).
14048280daadSJussi Kivilinna
14058280daadSJussi Kivilinna	  Twofish was submitted as an AES (Advanced Encryption Standard)
14068280daadSJussi Kivilinna	  candidate cipher by researchers at CounterPane Systems.  It is a
14078280daadSJussi Kivilinna	  16 round block cipher supporting key sizes of 128, 192, and 256
14088280daadSJussi Kivilinna	  bits.
14098280daadSJussi Kivilinna
14108280daadSJussi Kivilinna	  This module provides Twofish cipher algorithm that processes three
14118280daadSJussi Kivilinna	  blocks parallel, utilizing resources of out-of-order CPUs better.
14128280daadSJussi Kivilinna
14138280daadSJussi Kivilinna	  See also:
14148280daadSJussi Kivilinna	  <http://www.schneier.com/twofish.html>
14158280daadSJussi Kivilinna
1416107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64
1417107778b5SJohannes Goetzfried	tristate "Twofish cipher algorithm (x86_64/AVX)"
1418107778b5SJohannes Goetzfried	depends on X86 && 64BIT
1419107778b5SJohannes Goetzfried	select CRYPTO_ALGAPI
1420107778b5SJohannes Goetzfried	select CRYPTO_CRYPTD
1421801201aaSArd Biesheuvel	select CRYPTO_ABLK_HELPER
1422a7378d4eSJussi Kivilinna	select CRYPTO_GLUE_HELPER_X86
1423107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_COMMON
1424107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64
1425107778b5SJohannes Goetzfried	select CRYPTO_TWOFISH_X86_64_3WAY
1426107778b5SJohannes Goetzfried	select CRYPTO_LRW
1427107778b5SJohannes Goetzfried	select CRYPTO_XTS
1428107778b5SJohannes Goetzfried	help
1429107778b5SJohannes Goetzfried	  Twofish cipher algorithm (x86_64/AVX).
1430107778b5SJohannes Goetzfried
1431107778b5SJohannes Goetzfried	  Twofish was submitted as an AES (Advanced Encryption Standard)
1432107778b5SJohannes Goetzfried	  candidate cipher by researchers at CounterPane Systems.  It is a
1433107778b5SJohannes Goetzfried	  16 round block cipher supporting key sizes of 128, 192, and 256
1434107778b5SJohannes Goetzfried	  bits.
1435107778b5SJohannes Goetzfried
1436107778b5SJohannes Goetzfried	  This module provides the Twofish cipher algorithm that processes
1437107778b5SJohannes Goetzfried	  eight blocks parallel using the AVX Instruction Set.
1438107778b5SJohannes Goetzfried
1439107778b5SJohannes Goetzfried	  See also:
1440107778b5SJohannes Goetzfried	  <http://www.schneier.com/twofish.html>
1441107778b5SJohannes Goetzfried
1442584fffc8SSebastian Siewiorcomment "Compression"
1443584fffc8SSebastian Siewior
14441da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
14451da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
1446cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
14471da177e4SLinus Torvalds	select ZLIB_INFLATE
14481da177e4SLinus Torvalds	select ZLIB_DEFLATE
14491da177e4SLinus Torvalds	help
14501da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
14511da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
14521da177e4SLinus Torvalds
14531da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
14541da177e4SLinus Torvalds
1455bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB
1456bf68e65eSGeert Uytterhoeven	tristate "Zlib compression algorithm"
1457bf68e65eSGeert Uytterhoeven	select CRYPTO_PCOMP
1458bf68e65eSGeert Uytterhoeven	select ZLIB_INFLATE
1459bf68e65eSGeert Uytterhoeven	select ZLIB_DEFLATE
1460bf68e65eSGeert Uytterhoeven	select NLATTR
1461bf68e65eSGeert Uytterhoeven	help
1462bf68e65eSGeert Uytterhoeven	  This is the zlib algorithm.
1463bf68e65eSGeert Uytterhoeven
14640b77abb3SZoltan Sogorconfig CRYPTO_LZO
14650b77abb3SZoltan Sogor	tristate "LZO compression algorithm"
14660b77abb3SZoltan Sogor	select CRYPTO_ALGAPI
14670b77abb3SZoltan Sogor	select LZO_COMPRESS
14680b77abb3SZoltan Sogor	select LZO_DECOMPRESS
14690b77abb3SZoltan Sogor	help
14700b77abb3SZoltan Sogor	  This is the LZO algorithm.
14710b77abb3SZoltan Sogor
147235a1fc18SSeth Jenningsconfig CRYPTO_842
147335a1fc18SSeth Jennings	tristate "842 compression algorithm"
14742062c5b6SDan Streetman	select CRYPTO_ALGAPI
14752062c5b6SDan Streetman	select 842_COMPRESS
14762062c5b6SDan Streetman	select 842_DECOMPRESS
147735a1fc18SSeth Jennings	help
147835a1fc18SSeth Jennings	  This is the 842 algorithm.
147935a1fc18SSeth Jennings
14800ea8530dSChanho Minconfig CRYPTO_LZ4
14810ea8530dSChanho Min	tristate "LZ4 compression algorithm"
14820ea8530dSChanho Min	select CRYPTO_ALGAPI
14830ea8530dSChanho Min	select LZ4_COMPRESS
14840ea8530dSChanho Min	select LZ4_DECOMPRESS
14850ea8530dSChanho Min	help
14860ea8530dSChanho Min	  This is the LZ4 algorithm.
14870ea8530dSChanho Min
14880ea8530dSChanho Minconfig CRYPTO_LZ4HC
14890ea8530dSChanho Min	tristate "LZ4HC compression algorithm"
14900ea8530dSChanho Min	select CRYPTO_ALGAPI
14910ea8530dSChanho Min	select LZ4HC_COMPRESS
14920ea8530dSChanho Min	select LZ4_DECOMPRESS
14930ea8530dSChanho Min	help
14940ea8530dSChanho Min	  This is the LZ4 high compression mode algorithm.
14950ea8530dSChanho Min
149617f0f4a4SNeil Hormancomment "Random Number Generation"
149717f0f4a4SNeil Horman
149817f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG
149917f0f4a4SNeil Horman	tristate "Pseudo Random Number Generation for Cryptographic modules"
150017f0f4a4SNeil Horman	select CRYPTO_AES
150117f0f4a4SNeil Horman	select CRYPTO_RNG
150217f0f4a4SNeil Horman	help
150317f0f4a4SNeil Horman	  This option enables the generic pseudo random number generator
150417f0f4a4SNeil Horman	  for cryptographic modules.  Uses the Algorithm specified in
15057dd607e8SJiri Kosina	  ANSI X9.31 A.2.4. Note that this option must be enabled if
15067dd607e8SJiri Kosina	  CRYPTO_FIPS is selected
150717f0f4a4SNeil Horman
1508f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU
1509419090c6SStephan Mueller	tristate "NIST SP800-90A DRBG"
1510419090c6SStephan Mueller	help
1511419090c6SStephan Mueller	  NIST SP800-90A compliant DRBG. In the following submenu, one or
1512419090c6SStephan Mueller	  more of the DRBG types must be selected.
1513419090c6SStephan Mueller
1514f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU
1515419090c6SStephan Mueller
1516419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC
1517401e4238SHerbert Xu	bool
1518419090c6SStephan Mueller	default y
1519419090c6SStephan Mueller	select CRYPTO_HMAC
1520826775bbSHerbert Xu	select CRYPTO_SHA256
1521419090c6SStephan Mueller
1522419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH
1523419090c6SStephan Mueller	bool "Enable Hash DRBG"
1524826775bbSHerbert Xu	select CRYPTO_SHA256
1525419090c6SStephan Mueller	help
1526419090c6SStephan Mueller	  Enable the Hash DRBG variant as defined in NIST SP800-90A.
1527419090c6SStephan Mueller
1528419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR
1529419090c6SStephan Mueller	bool "Enable CTR DRBG"
1530419090c6SStephan Mueller	select CRYPTO_AES
1531419090c6SStephan Mueller	help
1532419090c6SStephan Mueller	  Enable the CTR DRBG variant as defined in NIST SP800-90A.
1533419090c6SStephan Mueller
1534f2c89a10SHerbert Xuconfig CRYPTO_DRBG
1535f2c89a10SHerbert Xu	tristate
1536401e4238SHerbert Xu	default CRYPTO_DRBG_MENU
1537f2c89a10SHerbert Xu	select CRYPTO_RNG
1538bb5530e4SStephan Mueller	select CRYPTO_JITTERENTROPY
1539f2c89a10SHerbert Xu
1540f2c89a10SHerbert Xuendif	# if CRYPTO_DRBG_MENU
1541419090c6SStephan Mueller
1542bb5530e4SStephan Muellerconfig CRYPTO_JITTERENTROPY
1543bb5530e4SStephan Mueller	tristate "Jitterentropy Non-Deterministic Random Number Generator"
1544bb5530e4SStephan Mueller	help
1545bb5530e4SStephan Mueller	  The Jitterentropy RNG is a noise that is intended
1546bb5530e4SStephan Mueller	  to provide seed to another RNG. The RNG does not
1547bb5530e4SStephan Mueller	  perform any cryptographic whitening of the generated
1548bb5530e4SStephan Mueller	  random numbers. This Jitterentropy RNG registers with
1549bb5530e4SStephan Mueller	  the kernel crypto API and can be used by any caller.
1550bb5530e4SStephan Mueller
155103c8efc1SHerbert Xuconfig CRYPTO_USER_API
155203c8efc1SHerbert Xu	tristate
155303c8efc1SHerbert Xu
1554fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH
1555fe869cdbSHerbert Xu	tristate "User-space interface for hash algorithms"
15567451708fSHerbert Xu	depends on NET
1557fe869cdbSHerbert Xu	select CRYPTO_HASH
1558fe869cdbSHerbert Xu	select CRYPTO_USER_API
1559fe869cdbSHerbert Xu	help
1560fe869cdbSHerbert Xu	  This option enables the user-spaces interface for hash
1561fe869cdbSHerbert Xu	  algorithms.
1562fe869cdbSHerbert Xu
15638ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER
15648ff59090SHerbert Xu	tristate "User-space interface for symmetric key cipher algorithms"
15657451708fSHerbert Xu	depends on NET
15668ff59090SHerbert Xu	select CRYPTO_BLKCIPHER
15678ff59090SHerbert Xu	select CRYPTO_USER_API
15688ff59090SHerbert Xu	help
15698ff59090SHerbert Xu	  This option enables the user-spaces interface for symmetric
15708ff59090SHerbert Xu	  key cipher algorithms.
15718ff59090SHerbert Xu
15722f375538SStephan Muellerconfig CRYPTO_USER_API_RNG
15732f375538SStephan Mueller	tristate "User-space interface for random number generator algorithms"
15742f375538SStephan Mueller	depends on NET
15752f375538SStephan Mueller	select CRYPTO_RNG
15762f375538SStephan Mueller	select CRYPTO_USER_API
15772f375538SStephan Mueller	help
15782f375538SStephan Mueller	  This option enables the user-spaces interface for random
15792f375538SStephan Mueller	  number generator algorithms.
15802f375538SStephan Mueller
1581b64a2d95SHerbert Xuconfig CRYPTO_USER_API_AEAD
1582b64a2d95SHerbert Xu	tristate "User-space interface for AEAD cipher algorithms"
1583b64a2d95SHerbert Xu	depends on NET
1584b64a2d95SHerbert Xu	select CRYPTO_AEAD
1585b64a2d95SHerbert Xu	select CRYPTO_USER_API
1586b64a2d95SHerbert Xu	help
1587b64a2d95SHerbert Xu	  This option enables the user-spaces interface for AEAD
1588b64a2d95SHerbert Xu	  cipher algorithms.
1589b64a2d95SHerbert Xu
1590ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO
1591ee08997fSDmitry Kasatkin	bool
1592ee08997fSDmitry Kasatkin
15931da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
1594964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig
15951da177e4SLinus Torvalds
1596cce9e06dSHerbert Xuendif	# if CRYPTO
1597