xref: /linux/lib/crypto/Kconfig (revision 5fb8ef25803ef33e2eb60b626435828b937bed75)
1746b2e02SArd Biesheuvel# SPDX-License-Identifier: GPL-2.0
2746b2e02SArd Biesheuvel
3746b2e02SArd Biesheuvelcomment "Crypto library routines"
4746b2e02SArd Biesheuvel
5746b2e02SArd Biesheuvelconfig CRYPTO_LIB_AES
6746b2e02SArd Biesheuvel	tristate
7746b2e02SArd Biesheuvel
8746b2e02SArd Biesheuvelconfig CRYPTO_LIB_ARC4
9746b2e02SArd Biesheuvel	tristate
10746b2e02SArd Biesheuvel
11*5fb8ef25SArd Biesheuvelconfig CRYPTO_ARCH_HAVE_LIB_CHACHA
12*5fb8ef25SArd Biesheuvel	tristate
13*5fb8ef25SArd Biesheuvel	help
14*5fb8ef25SArd Biesheuvel	  Declares whether the architecture provides an arch-specific
15*5fb8ef25SArd Biesheuvel	  accelerated implementation of the ChaCha library interface,
16*5fb8ef25SArd Biesheuvel	  either builtin or as a module.
17*5fb8ef25SArd Biesheuvel
18*5fb8ef25SArd Biesheuvelconfig CRYPTO_LIB_CHACHA_GENERIC
19*5fb8ef25SArd Biesheuvel	tristate
20*5fb8ef25SArd Biesheuvel	select CRYPTO_ALGAPI
21*5fb8ef25SArd Biesheuvel	help
22*5fb8ef25SArd Biesheuvel	  This symbol can be depended upon by arch implementations of the
23*5fb8ef25SArd Biesheuvel	  ChaCha library interface that require the generic code as a
24*5fb8ef25SArd Biesheuvel	  fallback, e.g., for SIMD implementations. If no arch specific
25*5fb8ef25SArd Biesheuvel	  implementation is enabled, this implementation serves the users
26*5fb8ef25SArd Biesheuvel	  of CRYPTO_LIB_CHACHA.
27*5fb8ef25SArd Biesheuvel
28*5fb8ef25SArd Biesheuvelconfig CRYPTO_LIB_CHACHA
29*5fb8ef25SArd Biesheuvel	tristate "ChaCha library interface"
30*5fb8ef25SArd Biesheuvel	depends on CRYPTO_ARCH_HAVE_LIB_CHACHA || !CRYPTO_ARCH_HAVE_LIB_CHACHA
31*5fb8ef25SArd Biesheuvel	select CRYPTO_LIB_CHACHA_GENERIC if CRYPTO_ARCH_HAVE_LIB_CHACHA=n
32*5fb8ef25SArd Biesheuvel	help
33*5fb8ef25SArd Biesheuvel	  Enable the ChaCha library interface. This interface may be fulfilled
34*5fb8ef25SArd Biesheuvel	  by either the generic implementation or an arch-specific one, if one
35*5fb8ef25SArd Biesheuvel	  is available and enabled.
36*5fb8ef25SArd Biesheuvel
37746b2e02SArd Biesheuvelconfig CRYPTO_LIB_DES
38746b2e02SArd Biesheuvel	tristate
39746b2e02SArd Biesheuvel
40746b2e02SArd Biesheuvelconfig CRYPTO_LIB_SHA256
41746b2e02SArd Biesheuvel	tristate
42