| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413 |
- # SPDX-License-Identifier: GPL-2.0
- #
- # Generic algorithms support
- #
- config XOR_BLOCKS
- tristate
- #
- # async_tx api: hardware offloaded memory transfer/transform support
- #
- source "crypto/async_tx/Kconfig"
- #
- # Cryptographic API Configuration
- #
- menuconfig CRYPTO
- tristate "Cryptographic API"
- select CRYPTO_LIB_UTILS
- help
- This option provides the core Cryptographic API.
- if CRYPTO
- menu "Crypto core or helper"
- config CRYPTO_FIPS
- bool "FIPS 200 compliance"
- depends on CRYPTO_DRBG && CRYPTO_SELFTESTS
- depends on (MODULE_SIG || !MODULES)
- help
- This option enables the fips boot option which is
- required if you want the system to operate in a FIPS 200
- certification. You should say no unless you know what
- this is.
- config CRYPTO_FIPS_NAME
- string "FIPS Module Name"
- default "Linux Kernel Cryptographic API"
- depends on CRYPTO_FIPS
- help
- This option sets the FIPS Module name reported by the Crypto API via
- the /proc/sys/crypto/fips_name file.
- config CRYPTO_FIPS_CUSTOM_VERSION
- bool "Use Custom FIPS Module Version"
- depends on CRYPTO_FIPS
- default n
- config CRYPTO_FIPS_VERSION
- string "FIPS Module Version"
- default "(none)"
- depends on CRYPTO_FIPS_CUSTOM_VERSION
- help
- This option provides the ability to override the FIPS Module Version.
- By default the KERNELRELEASE value is used.
- config CRYPTO_ALGAPI
- tristate
- select CRYPTO_ALGAPI2
- help
- This option provides the API for cryptographic algorithms.
- config CRYPTO_ALGAPI2
- tristate
- config CRYPTO_AEAD
- tristate
- select CRYPTO_AEAD2
- select CRYPTO_ALGAPI
- config CRYPTO_AEAD2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_SIG
- tristate
- select CRYPTO_SIG2
- select CRYPTO_ALGAPI
- config CRYPTO_SIG2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_SKCIPHER
- tristate
- select CRYPTO_SKCIPHER2
- select CRYPTO_ALGAPI
- select CRYPTO_ECB
- config CRYPTO_SKCIPHER2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_HASH
- tristate
- select CRYPTO_HASH2
- select CRYPTO_ALGAPI
- config CRYPTO_HASH2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_RNG
- tristate
- select CRYPTO_RNG2
- select CRYPTO_ALGAPI
- config CRYPTO_RNG2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_RNG_DEFAULT
- tristate
- select CRYPTO_DRBG_MENU
- config CRYPTO_AKCIPHER2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_AKCIPHER
- tristate
- select CRYPTO_AKCIPHER2
- select CRYPTO_ALGAPI
- config CRYPTO_KPP2
- tristate
- select CRYPTO_ALGAPI2
- config CRYPTO_KPP
- tristate
- select CRYPTO_ALGAPI
- select CRYPTO_KPP2
- config CRYPTO_ACOMP2
- tristate
- select CRYPTO_ALGAPI2
- select SGL_ALLOC
- config CRYPTO_ACOMP
- tristate
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- config CRYPTO_HKDF
- tristate
- select CRYPTO_SHA256 if CRYPTO_SELFTESTS
- select CRYPTO_SHA512 if CRYPTO_SELFTESTS
- select CRYPTO_HASH2
- config CRYPTO_MANAGER
- tristate
- default CRYPTO_ALGAPI if CRYPTO_SELFTESTS
- select CRYPTO_MANAGER2
- help
- This provides the support for instantiating templates such as
- cbc(aes), and the support for the crypto self-tests.
- config CRYPTO_MANAGER2
- def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
- select CRYPTO_ACOMP2
- select CRYPTO_AEAD2
- select CRYPTO_AKCIPHER2
- select CRYPTO_SIG2
- select CRYPTO_HASH2
- select CRYPTO_KPP2
- select CRYPTO_RNG2
- select CRYPTO_SKCIPHER2
- config CRYPTO_USER
- tristate "Userspace cryptographic algorithm configuration"
- depends on NET
- select CRYPTO_MANAGER
- help
- Userspace configuration for cryptographic instantiations such as
- cbc(aes).
- config CRYPTO_SELFTESTS
- bool "Enable cryptographic self-tests"
- depends on EXPERT
- help
- Enable the cryptographic self-tests.
- The cryptographic self-tests run at boot time, or at algorithm
- registration time if algorithms are dynamically loaded later.
- There are two main use cases for these tests:
- - Development and pre-release testing. In this case, also enable
- CRYPTO_SELFTESTS_FULL to get the full set of tests. All crypto code
- in the kernel is expected to pass the full set of tests.
- - Production kernels, to help prevent buggy drivers from being used
- and/or meet FIPS 140-3 pre-operational testing requirements. In
- this case, enable CRYPTO_SELFTESTS but not CRYPTO_SELFTESTS_FULL.
- config CRYPTO_SELFTESTS_FULL
- bool "Enable the full set of cryptographic self-tests"
- depends on CRYPTO_SELFTESTS
- help
- Enable the full set of cryptographic self-tests for each algorithm.
- The full set of tests should be enabled for development and
- pre-release testing, but not in production kernels.
- All crypto code in the kernel is expected to pass the full tests.
- config CRYPTO_NULL
- tristate "Null algorithms"
- select CRYPTO_ALGAPI
- select CRYPTO_SKCIPHER
- select CRYPTO_HASH
- help
- These are 'Null' algorithms, used by IPsec, which do nothing.
- config CRYPTO_PCRYPT
- tristate "Parallel crypto engine"
- depends on SMP
- select PADATA
- select CRYPTO_MANAGER
- select CRYPTO_AEAD
- help
- This converts an arbitrary crypto algorithm into a parallel
- algorithm that executes in kernel threads.
- config CRYPTO_CRYPTD
- tristate "Software async crypto daemon"
- select CRYPTO_SKCIPHER
- select CRYPTO_HASH
- select CRYPTO_MANAGER
- help
- This is a generic software asynchronous crypto daemon that
- converts an arbitrary synchronous software crypto algorithm
- into an asynchronous algorithm that executes in a kernel thread.
- config CRYPTO_AUTHENC
- tristate "Authenc support"
- select CRYPTO_AEAD
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- select CRYPTO_HASH
- help
- Authenc: Combined mode wrapper for IPsec.
- This is required for IPSec ESP (XFRM_ESP).
- config CRYPTO_KRB5ENC
- tristate "Kerberos 5 combined hash+cipher support"
- select CRYPTO_AEAD
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- select CRYPTO_HASH
- help
- Combined hash and cipher support for Kerberos 5 RFC3961 simplified
- profile. This is required for Kerberos 5-style encryption, used by
- sunrpc/NFS and rxrpc/AFS.
- config CRYPTO_BENCHMARK
- tristate "Crypto benchmarking module"
- depends on m || EXPERT
- select CRYPTO_MANAGER
- help
- Quick & dirty crypto benchmarking module.
- This is mainly intended for use by people developing cryptographic
- algorithms in the kernel. It should not be enabled in production
- kernels.
- config CRYPTO_SIMD
- tristate
- select CRYPTO_CRYPTD
- config CRYPTO_ENGINE
- tristate
- endmenu
- menu "Public-key cryptography"
- config CRYPTO_RSA
- tristate "RSA (Rivest-Shamir-Adleman)"
- select CRYPTO_AKCIPHER
- select CRYPTO_MANAGER
- select CRYPTO_SIG
- select MPILIB
- select ASN1
- help
- RSA (Rivest-Shamir-Adleman) public key algorithm (RFC8017)
- config CRYPTO_DH
- tristate "DH (Diffie-Hellman)"
- select CRYPTO_KPP
- select MPILIB
- help
- DH (Diffie-Hellman) key exchange algorithm
- config CRYPTO_DH_RFC7919_GROUPS
- bool "RFC 7919 FFDHE groups"
- depends on CRYPTO_DH
- select CRYPTO_RNG_DEFAULT
- help
- FFDHE (Finite-Field-based Diffie-Hellman Ephemeral) groups
- defined in RFC7919.
- Support these finite-field groups in DH key exchanges:
- - ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, ffdhe8192
- If unsure, say N.
- config CRYPTO_ECC
- tristate
- select CRYPTO_RNG_DEFAULT
- config CRYPTO_ECDH
- tristate "ECDH (Elliptic Curve Diffie-Hellman)"
- select CRYPTO_ECC
- select CRYPTO_KPP
- help
- ECDH (Elliptic Curve Diffie-Hellman) key exchange algorithm
- using curves P-192, P-256, and P-384 (FIPS 186)
- config CRYPTO_ECDSA
- tristate "ECDSA (Elliptic Curve Digital Signature Algorithm)"
- select CRYPTO_ECC
- select CRYPTO_SIG
- select ASN1
- help
- ECDSA (Elliptic Curve Digital Signature Algorithm) (FIPS 186,
- ISO/IEC 14888-3)
- using curves P-192, P-256, P-384 and P-521
- Only signature verification is implemented.
- config CRYPTO_ECRDSA
- tristate "EC-RDSA (Elliptic Curve Russian Digital Signature Algorithm)"
- select CRYPTO_ECC
- select CRYPTO_SIG
- select CRYPTO_STREEBOG
- select OID_REGISTRY
- select ASN1
- help
- Elliptic Curve Russian Digital Signature Algorithm (GOST R 34.10-2012,
- RFC 7091, ISO/IEC 14888-3)
- One of the Russian cryptographic standard algorithms (called GOST
- algorithms). Only signature verification is implemented.
- config CRYPTO_MLDSA
- tristate "ML-DSA (Module-Lattice-Based Digital Signature Algorithm)"
- select CRYPTO_SIG
- select CRYPTO_LIB_MLDSA
- help
- ML-DSA (Module-Lattice-Based Digital Signature Algorithm) (FIPS-204).
- Only signature verification is implemented.
- endmenu
- menu "Block ciphers"
- config CRYPTO_AES
- tristate "AES (Advanced Encryption Standard)"
- select CRYPTO_ALGAPI
- select CRYPTO_LIB_AES
- help
- AES cipher algorithms (Rijndael)(FIPS-197, ISO/IEC 18033-3)
- Rijndael appears to be consistently a very good performer in
- both hardware and software across a wide range of computing
- environments regardless of its use in feedback or non-feedback
- modes. Its key setup time is excellent, and its key agility is
- good. Rijndael's very low memory requirements make it very well
- suited for restricted-space environments, in which it also
- demonstrates excellent performance. Rijndael's operations are
- among the easiest to defend against power and timing attacks.
- The AES specifies three key sizes: 128, 192 and 256 bits
- config CRYPTO_ANUBIS
- tristate "Anubis"
- depends on CRYPTO_USER_API_ENABLE_OBSOLETE
- select CRYPTO_ALGAPI
- help
- Anubis cipher algorithm
- Anubis is a variable key length cipher which can use keys from
- 128 bits to 320 bits in length. It was evaluated as a entrant
- in the NESSIE competition.
- See https://web.archive.org/web/20160606112246/http://www.larc.usp.br/~pbarreto/AnubisPage.html
- for further information.
- config CRYPTO_ARIA
- tristate "ARIA"
- select CRYPTO_ALGAPI
- help
- ARIA cipher algorithm (RFC5794)
- ARIA is a standard encryption algorithm of the Republic of Korea.
- The ARIA specifies three key sizes and rounds.
- 128-bit: 12 rounds.
- 192-bit: 14 rounds.
- 256-bit: 16 rounds.
- See:
- https://seed.kisa.or.kr/kisa/algorithm/EgovAriaInfo.do
- config CRYPTO_BLOWFISH
- tristate "Blowfish"
- select CRYPTO_ALGAPI
- select CRYPTO_BLOWFISH_COMMON
- help
- Blowfish cipher algorithm, by Bruce Schneier
- This is a variable key length cipher which can use keys from 32
- bits to 448 bits in length. It's fast, simple and specifically
- designed for use on "large microprocessors".
- See https://www.schneier.com/blowfish.html for further information.
- config CRYPTO_BLOWFISH_COMMON
- tristate
- help
- Common parts of the Blowfish cipher algorithm shared by the
- generic c and the assembler implementations.
- config CRYPTO_CAMELLIA
- tristate "Camellia"
- select CRYPTO_ALGAPI
- help
- Camellia cipher algorithms (ISO/IEC 18033-3)
- Camellia is a symmetric key block cipher developed jointly
- at NTT and Mitsubishi Electric Corporation.
- The Camellia specifies three key sizes: 128, 192 and 256 bits.
- See https://info.isl.ntt.co.jp/crypt/eng/camellia/ for further information.
- config CRYPTO_CAST_COMMON
- tristate
- help
- Common parts of the CAST cipher algorithms shared by the
- generic c and the assembler implementations.
- config CRYPTO_CAST5
- tristate "CAST5 (CAST-128)"
- select CRYPTO_ALGAPI
- select CRYPTO_CAST_COMMON
- help
- CAST5 (CAST-128) cipher algorithm (RFC2144, ISO/IEC 18033-3)
- config CRYPTO_CAST6
- tristate "CAST6 (CAST-256)"
- select CRYPTO_ALGAPI
- select CRYPTO_CAST_COMMON
- help
- CAST6 (CAST-256) encryption algorithm (RFC2612)
- config CRYPTO_DES
- tristate "DES and Triple DES EDE"
- select CRYPTO_ALGAPI
- select CRYPTO_LIB_DES
- help
- DES (Data Encryption Standard)(FIPS 46-2, ISO/IEC 18033-3) and
- Triple DES EDE (Encrypt/Decrypt/Encrypt) (FIPS 46-3, ISO/IEC 18033-3)
- cipher algorithms
- config CRYPTO_FCRYPT
- tristate "FCrypt"
- select CRYPTO_ALGAPI
- select CRYPTO_SKCIPHER
- help
- FCrypt algorithm used by RxRPC
- See https://ota.polyonymo.us/fcrypt-paper.txt
- config CRYPTO_KHAZAD
- tristate "Khazad"
- depends on CRYPTO_USER_API_ENABLE_OBSOLETE
- select CRYPTO_ALGAPI
- help
- Khazad cipher algorithm
- Khazad was a finalist in the initial NESSIE competition. It is
- an algorithm optimized for 64-bit processors with good performance
- on 32-bit processors. Khazad uses an 128 bit key size.
- See https://web.archive.org/web/20171011071731/http://www.larc.usp.br/~pbarreto/KhazadPage.html
- for further information.
- config CRYPTO_SEED
- tristate "SEED"
- depends on CRYPTO_USER_API_ENABLE_OBSOLETE
- select CRYPTO_ALGAPI
- help
- SEED cipher algorithm (RFC4269, ISO/IEC 18033-3)
- SEED is a 128-bit symmetric key block cipher that has been
- developed by KISA (Korea Information Security Agency) as a
- national standard encryption algorithm of the Republic of Korea.
- It is a 16 round block cipher with the key size of 128 bit.
- See https://seed.kisa.or.kr/kisa/algorithm/EgovSeedInfo.do
- for further information.
- config CRYPTO_SERPENT
- tristate "Serpent"
- select CRYPTO_ALGAPI
- help
- Serpent cipher algorithm, by Anderson, Biham & Knudsen
- Keys are allowed to be from 0 to 256 bits in length, in steps
- of 8 bits.
- See https://www.cl.cam.ac.uk/~rja14/serpent.html for further information.
- config CRYPTO_SM4
- tristate
- config CRYPTO_SM4_GENERIC
- tristate "SM4 (ShangMi 4)"
- select CRYPTO_ALGAPI
- select CRYPTO_SM4
- help
- SM4 cipher algorithms (OSCCA GB/T 32907-2016,
- ISO/IEC 18033-3:2010/Amd 1:2021)
- SM4 (GBT.32907-2016) is a cryptographic standard issued by the
- Organization of State Commercial Administration of China (OSCCA)
- as an authorized cryptographic algorithms for the use within China.
- SMS4 was originally created for use in protecting wireless
- networks, and is mandated in the Chinese National Standard for
- Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure)
- (GB.15629.11-2003).
- The latest SM4 standard (GBT.32907-2016) was proposed by OSCCA and
- standardized through TC 260 of the Standardization Administration
- of the People's Republic of China (SAC).
- The input, output, and key of SMS4 are each 128 bits.
- See https://eprint.iacr.org/2008/329.pdf for further information.
- If unsure, say N.
- config CRYPTO_TEA
- tristate "TEA, XTEA and XETA"
- depends on CRYPTO_USER_API_ENABLE_OBSOLETE
- select CRYPTO_ALGAPI
- help
- TEA (Tiny Encryption Algorithm) cipher algorithms
- Tiny Encryption Algorithm is a simple cipher that uses
- many rounds for security. It is very fast and uses
- little memory.
- Xtendend Tiny Encryption Algorithm is a modification to
- the TEA algorithm to address a potential key weakness
- in the TEA algorithm.
- Xtendend Encryption Tiny Algorithm is a mis-implementation
- of the XTEA algorithm for compatibility purposes.
- config CRYPTO_TWOFISH
- tristate "Twofish"
- select CRYPTO_ALGAPI
- select CRYPTO_TWOFISH_COMMON
- help
- Twofish cipher algorithm
- Twofish was submitted as an AES (Advanced Encryption Standard)
- candidate cipher by researchers at CounterPane Systems. It is a
- 16 round block cipher supporting key sizes of 128, 192, and 256
- bits.
- See https://www.schneier.com/twofish.html for further information.
- config CRYPTO_TWOFISH_COMMON
- tristate
- help
- Common parts of the Twofish cipher algorithm shared by the
- generic c and the assembler implementations.
- endmenu
- menu "Length-preserving ciphers and modes"
- config CRYPTO_ADIANTUM
- tristate "Adiantum"
- select CRYPTO_CHACHA20
- select CRYPTO_LIB_NH
- select CRYPTO_LIB_POLY1305
- select CRYPTO_LIB_POLY1305_GENERIC
- select CRYPTO_MANAGER
- help
- Adiantum tweakable, length-preserving encryption mode
- Designed for fast and secure disk encryption, especially on
- CPUs without dedicated crypto instructions. It encrypts
- each sector using the XChaCha12 stream cipher, two passes of
- an ε-almost-∆-universal hash function, and an invocation of
- the AES-256 block cipher on a single 16-byte block. On CPUs
- without AES instructions, Adiantum is much faster than
- AES-XTS.
- Adiantum's security is provably reducible to that of its
- underlying stream and block ciphers, subject to a security
- bound. Unlike XTS, Adiantum is a true wide-block encryption
- mode, so it actually provides an even stronger notion of
- security than XTS, subject to the security bound.
- If unsure, say N.
- config CRYPTO_ARC4
- tristate "ARC4 (Alleged Rivest Cipher 4)"
- depends on CRYPTO_USER_API_ENABLE_OBSOLETE
- select CRYPTO_SKCIPHER
- select CRYPTO_LIB_ARC4
- help
- ARC4 cipher algorithm
- ARC4 is a stream cipher using keys ranging from 8 bits to 2048
- bits in length. This algorithm is required for driver-based
- WEP, but it should not be for other purposes because of the
- weakness of the algorithm.
- config CRYPTO_CHACHA20
- tristate "ChaCha"
- select CRYPTO_LIB_CHACHA
- select CRYPTO_SKCIPHER
- help
- The ChaCha20, XChaCha20, and XChaCha12 stream cipher algorithms
- ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J.
- Bernstein and further specified in RFC7539 for use in IETF protocols.
- This is the portable C implementation of ChaCha20. See
- https://cr.yp.to/chacha/chacha-20080128.pdf for further information.
- XChaCha20 is the application of the XSalsa20 construction to ChaCha20
- rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length
- from 64 bits (or 96 bits using the RFC7539 convention) to 192 bits,
- while provably retaining ChaCha20's security. See
- https://cr.yp.to/snuffle/xsalsa-20081128.pdf for further information.
- XChaCha12 is XChaCha20 reduced to 12 rounds, with correspondingly
- reduced security margin but increased performance. It can be needed
- in some performance-sensitive scenarios.
- config CRYPTO_CBC
- tristate "CBC (Cipher Block Chaining)"
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- help
- CBC (Cipher Block Chaining) mode (NIST SP800-38A)
- This block cipher mode is required for IPSec ESP (XFRM_ESP).
- config CRYPTO_CTR
- tristate "CTR (Counter)"
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- help
- CTR (Counter) mode (NIST SP800-38A)
- config CRYPTO_CTS
- tristate "CTS (Cipher Text Stealing)"
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- help
- CBC-CS3 variant of CTS (Cipher Text Stealing) (NIST
- Addendum to SP800-38A (October 2010))
- This mode is required for Kerberos gss mechanism support
- for AES encryption.
- config CRYPTO_ECB
- tristate "ECB (Electronic Codebook)"
- select CRYPTO_SKCIPHER2
- select CRYPTO_MANAGER
- help
- ECB (Electronic Codebook) mode (NIST SP800-38A)
- config CRYPTO_HCTR2
- tristate "HCTR2"
- select CRYPTO_XCTR
- select CRYPTO_LIB_POLYVAL
- select CRYPTO_MANAGER
- help
- HCTR2 length-preserving encryption mode
- A mode for storage encryption that is efficient on processors with
- instructions to accelerate AES and carryless multiplication, e.g.
- x86 processors with AES-NI and CLMUL, and ARM processors with the
- ARMv8 crypto extensions.
- See https://eprint.iacr.org/2021/1441
- config CRYPTO_LRW
- tristate "LRW (Liskov Rivest Wagner)"
- select CRYPTO_LIB_GF128MUL
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- select CRYPTO_ECB
- help
- LRW (Liskov Rivest Wagner) mode
- A tweakable, non malleable, non movable
- narrow block cipher mode for dm-crypt. Use it with cipher
- specification string aes-lrw-benbi, the key must be 256, 320 or 384.
- The first 128, 192 or 256 bits in the key are used for AES and the
- rest is used to tie each cipher block to its logical position.
- See https://people.csail.mit.edu/rivest/pubs/LRW02.pdf
- config CRYPTO_PCBC
- tristate "PCBC (Propagating Cipher Block Chaining)"
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- help
- PCBC (Propagating Cipher Block Chaining) mode
- This block cipher mode is required for RxRPC.
- config CRYPTO_XCTR
- tristate
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- help
- XCTR (XOR Counter) mode for HCTR2
- This blockcipher mode is a variant of CTR mode using XORs and little-endian
- addition rather than big-endian arithmetic.
- XCTR mode is used to implement HCTR2.
- config CRYPTO_XTS
- tristate "XTS (XOR Encrypt XOR with ciphertext stealing)"
- select CRYPTO_SKCIPHER
- select CRYPTO_MANAGER
- select CRYPTO_ECB
- help
- XTS (XOR Encrypt XOR with ciphertext stealing) mode (NIST SP800-38E
- and IEEE 1619)
- Use with aes-xts-plain, key size 256, 384 or 512 bits. This
- implementation currently can't handle a sectorsize which is not a
- multiple of 16 bytes.
- endmenu
- menu "AEAD (authenticated encryption with associated data) ciphers"
- config CRYPTO_AEGIS128
- tristate "AEGIS-128"
- select CRYPTO_AEAD
- select CRYPTO_LIB_AES # for AES S-box tables
- help
- AEGIS-128 AEAD algorithm
- config CRYPTO_AEGIS128_SIMD
- bool "AEGIS-128 (arm NEON, arm64 NEON)"
- depends on CRYPTO_AEGIS128 && ((ARM || ARM64) && KERNEL_MODE_NEON)
- default y
- help
- AEGIS-128 AEAD algorithm
- Architecture: arm or arm64 using:
- - NEON (Advanced SIMD) extension
- config CRYPTO_CHACHA20POLY1305
- tristate "ChaCha20-Poly1305"
- select CRYPTO_CHACHA20
- select CRYPTO_AEAD
- select CRYPTO_LIB_POLY1305
- select CRYPTO_MANAGER
- help
- ChaCha20 stream cipher and Poly1305 authenticator combined
- mode (RFC8439)
- config CRYPTO_CCM
- tristate "CCM (Counter with Cipher Block Chaining-MAC)"
- select CRYPTO_CTR
- select CRYPTO_HASH
- select CRYPTO_AEAD
- select CRYPTO_MANAGER
- help
- CCM (Counter with Cipher Block Chaining-Message Authentication Code)
- authenticated encryption mode (NIST SP800-38C)
- config CRYPTO_GCM
- tristate "GCM (Galois/Counter Mode) and GMAC (GCM MAC)"
- select CRYPTO_CTR
- select CRYPTO_AEAD
- select CRYPTO_GHASH
- select CRYPTO_MANAGER
- help
- GCM (Galois/Counter Mode) authenticated encryption mode and GMAC
- (GCM Message Authentication Code) (NIST SP800-38D)
- This is required for IPSec ESP (XFRM_ESP).
- config CRYPTO_GENIV
- tristate
- select CRYPTO_AEAD
- select CRYPTO_MANAGER
- select CRYPTO_RNG_DEFAULT
- config CRYPTO_SEQIV
- tristate "Sequence Number IV Generator"
- select CRYPTO_GENIV
- help
- Sequence Number IV generator
- This IV generator generates an IV based on a sequence number by
- xoring it with a salt. This algorithm is mainly useful for CTR.
- This is required for IPsec ESP (XFRM_ESP).
- config CRYPTO_ECHAINIV
- tristate "Encrypted Chain IV Generator"
- select CRYPTO_GENIV
- help
- Encrypted Chain IV generator
- This IV generator generates an IV based on the encryption of
- a sequence number xored with a salt. This is the default
- algorithm for CBC.
- config CRYPTO_ESSIV
- tristate "Encrypted Salt-Sector IV Generator"
- select CRYPTO_AUTHENC
- help
- Encrypted Salt-Sector IV generator
- This IV generator is used in some cases by fscrypt and/or
- dm-crypt. It uses the hash of the block encryption key as the
- symmetric key for a block encryption pass applied to the input
- IV, making low entropy IV sources more suitable for block
- encryption.
- This driver implements a crypto API template that can be
- instantiated either as an skcipher or as an AEAD (depending on the
- type of the first template argument), and which defers encryption
- and decryption requests to the encapsulated cipher after applying
- ESSIV to the input IV. Note that in the AEAD case, it is assumed
- that the keys are presented in the same format used by the authenc
- template, and that the IV appears at the end of the authenticated
- associated data (AAD) region (which is how dm-crypt uses it.)
- Note that the use of ESSIV is not recommended for new deployments,
- and so this only needs to be enabled when interoperability with
- existing encrypted volumes of filesystems is required, or when
- building for a particular system that requires it (e.g., when
- the SoC in question has accelerated CBC but not XTS, making CBC
- combined with ESSIV the only feasible mode for h/w accelerated
- block encryption)
- endmenu
- menu "Hashes, digests, and MACs"
- config CRYPTO_BLAKE2B
- tristate "BLAKE2b"
- select CRYPTO_HASH
- select CRYPTO_LIB_BLAKE2B
- help
- BLAKE2b cryptographic hash function (RFC 7693)
- BLAKE2b is optimized for 64-bit platforms and can produce digests
- of any size between 1 and 64 bytes. The keyed hash is also implemented.
- This module provides the following algorithms:
- - blake2b-160
- - blake2b-256
- - blake2b-384
- - blake2b-512
- See https://blake2.net for further information.
- config CRYPTO_CMAC
- tristate "CMAC (Cipher-based MAC)"
- select CRYPTO_HASH
- select CRYPTO_MANAGER
- help
- CMAC (Cipher-based Message Authentication Code) authentication
- mode (NIST SP800-38B and IETF RFC4493)
- config CRYPTO_GHASH
- tristate "GHASH"
- select CRYPTO_HASH
- select CRYPTO_LIB_GF128MUL
- help
- GCM GHASH function (NIST SP800-38D)
- config CRYPTO_HMAC
- tristate "HMAC (Keyed-Hash MAC)"
- select CRYPTO_HASH
- select CRYPTO_MANAGER
- help
- HMAC (Keyed-Hash Message Authentication Code) (FIPS 198 and
- RFC2104)
- This is required for IPsec AH (XFRM_AH) and IPsec ESP (XFRM_ESP).
- config CRYPTO_MD4
- tristate "MD4"
- select CRYPTO_HASH
- help
- MD4 message digest algorithm (RFC1320)
- config CRYPTO_MD5
- tristate "MD5"
- select CRYPTO_HASH
- select CRYPTO_LIB_MD5
- help
- MD5 message digest algorithm (RFC1321), including HMAC support.
- config CRYPTO_MICHAEL_MIC
- tristate "Michael MIC"
- select CRYPTO_HASH
- help
- Michael MIC (Message Integrity Code) (IEEE 802.11i)
- Defined by the IEEE 802.11i TKIP (Temporal Key Integrity Protocol),
- known as WPA (Wif-Fi Protected Access).
- This algorithm is required for TKIP, but it should not be used for
- other purposes because of the weakness of the algorithm.
- config CRYPTO_RMD160
- tristate "RIPEMD-160"
- select CRYPTO_HASH
- help
- RIPEMD-160 hash function (ISO/IEC 10118-3)
- RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
- to be used as a secure replacement for the 128-bit hash functions
- MD4, MD5 and its predecessor RIPEMD
- (not to be confused with RIPEMD-128).
- Its speed is comparable to SHA-1 and there are no known attacks
- against RIPEMD-160.
- Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
- See https://homes.esat.kuleuven.be/~bosselae/ripemd160.html
- for further information.
- config CRYPTO_SHA1
- tristate "SHA-1"
- select CRYPTO_HASH
- select CRYPTO_LIB_SHA1
- help
- SHA-1 secure hash algorithm (FIPS 180, ISO/IEC 10118-3), including
- HMAC support.
- config CRYPTO_SHA256
- tristate "SHA-224 and SHA-256"
- select CRYPTO_HASH
- select CRYPTO_LIB_SHA256
- help
- SHA-224 and SHA-256 secure hash algorithms (FIPS 180, ISO/IEC
- 10118-3), including HMAC support.
- This is required for IPsec AH (XFRM_AH) and IPsec ESP (XFRM_ESP).
- config CRYPTO_SHA512
- tristate "SHA-384 and SHA-512"
- select CRYPTO_HASH
- select CRYPTO_LIB_SHA512
- help
- SHA-384 and SHA-512 secure hash algorithms (FIPS 180, ISO/IEC
- 10118-3), including HMAC support.
- config CRYPTO_SHA3
- tristate "SHA-3"
- select CRYPTO_HASH
- select CRYPTO_LIB_SHA3
- help
- SHA-3 secure hash algorithms (FIPS 202, ISO/IEC 10118-3)
- config CRYPTO_SM3_GENERIC
- tristate "SM3 (ShangMi 3)"
- select CRYPTO_HASH
- select CRYPTO_LIB_SM3
- help
- SM3 (ShangMi 3) secure hash function (OSCCA GM/T 0004-2012, ISO/IEC 10118-3)
- This is part of the Chinese Commercial Cryptography suite.
- References:
- http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
- https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash
- config CRYPTO_STREEBOG
- tristate "Streebog"
- select CRYPTO_HASH
- help
- Streebog Hash Function (GOST R 34.11-2012, RFC 6986, ISO/IEC 10118-3)
- This is one of the Russian cryptographic standard algorithms (called
- GOST algorithms). This setting enables two hash algorithms with
- 256 and 512 bits output.
- References:
- https://tc26.ru/upload/iblock/fed/feddbb4d26b685903faa2ba11aea43f6.pdf
- https://tools.ietf.org/html/rfc6986
- config CRYPTO_WP512
- tristate "Whirlpool"
- select CRYPTO_HASH
- help
- Whirlpool hash function (ISO/IEC 10118-3)
- 512, 384 and 256-bit hashes.
- Whirlpool-512 is part of the NESSIE cryptographic primitives.
- See https://web.archive.org/web/20171129084214/http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html
- for further information.
- config CRYPTO_XCBC
- tristate "XCBC-MAC (Extended Cipher Block Chaining MAC)"
- select CRYPTO_HASH
- select CRYPTO_MANAGER
- help
- XCBC-MAC (Extended Cipher Block Chaining Message Authentication
- Code) (RFC3566)
- config CRYPTO_XXHASH
- tristate "xxHash"
- select CRYPTO_HASH
- select XXHASH
- help
- xxHash non-cryptographic hash algorithm
- Extremely fast, working at speeds close to RAM limits.
- endmenu
- menu "CRCs (cyclic redundancy checks)"
- config CRYPTO_CRC32C
- tristate "CRC32c"
- select CRYPTO_HASH
- select CRC32
- help
- CRC32c CRC algorithm with the iSCSI polynomial (RFC 3385 and RFC 3720)
- A 32-bit CRC (cyclic redundancy check) with a polynomial defined
- by G. Castagnoli, S. Braeuer and M. Herrman in "Optimization of Cyclic
- Redundancy-Check Codes with 24 and 32 Parity Bits", IEEE Transactions
- on Communications, Vol. 41, No. 6, June 1993, selected for use with
- iSCSI.
- config CRYPTO_CRC32
- tristate "CRC32"
- select CRYPTO_HASH
- select CRC32
- help
- CRC32 CRC algorithm (IEEE 802.3)
- endmenu
- menu "Compression"
- config CRYPTO_DEFLATE
- tristate "Deflate"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select ZLIB_INFLATE
- select ZLIB_DEFLATE
- help
- Deflate compression algorithm (RFC1951)
- Used by IPSec with the IPCOMP protocol (RFC3173, RFC2394)
- config CRYPTO_LZO
- tristate "LZO"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select LZO_COMPRESS
- select LZO_DECOMPRESS
- help
- LZO compression algorithm
- See https://www.oberhumer.com/opensource/lzo/ for further information.
- config CRYPTO_842
- tristate "842"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select 842_COMPRESS
- select 842_DECOMPRESS
- help
- 842 compression algorithm by IBM
- See https://github.com/plauth/lib842 for further information.
- config CRYPTO_LZ4
- tristate "LZ4"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select LZ4_COMPRESS
- select LZ4_DECOMPRESS
- help
- LZ4 compression algorithm
- See https://github.com/lz4/lz4 for further information.
- config CRYPTO_LZ4HC
- tristate "LZ4HC"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select LZ4HC_COMPRESS
- select LZ4_DECOMPRESS
- help
- LZ4 high compression mode algorithm
- See https://github.com/lz4/lz4 for further information.
- config CRYPTO_ZSTD
- tristate "Zstd"
- select CRYPTO_ALGAPI
- select CRYPTO_ACOMP2
- select ZSTD_COMPRESS
- select ZSTD_DECOMPRESS
- help
- zstd compression algorithm
- See https://github.com/facebook/zstd for further information.
- endmenu
- menu "Random number generation"
- menuconfig CRYPTO_DRBG_MENU
- tristate "NIST SP800-90A DRBG (Deterministic Random Bit Generator)"
- help
- DRBG (Deterministic Random Bit Generator) (NIST SP800-90A)
- In the following submenu, one or more of the DRBG types must be selected.
- if CRYPTO_DRBG_MENU
- config CRYPTO_DRBG_HMAC
- bool
- default y
- select CRYPTO_HMAC
- select CRYPTO_SHA512
- config CRYPTO_DRBG_HASH
- bool "Hash_DRBG"
- select CRYPTO_SHA256
- help
- Hash_DRBG variant as defined in NIST SP800-90A.
- This uses the SHA-1, SHA-256, SHA-384, or SHA-512 hash algorithms.
- config CRYPTO_DRBG_CTR
- bool "CTR_DRBG"
- select CRYPTO_DF80090A
- help
- CTR_DRBG variant as defined in NIST SP800-90A.
- This uses the AES cipher algorithm with the counter block mode.
- config CRYPTO_DRBG
- tristate
- default CRYPTO_DRBG_MENU
- select CRYPTO_RNG
- select CRYPTO_JITTERENTROPY
- endif # if CRYPTO_DRBG_MENU
- config CRYPTO_JITTERENTROPY
- tristate "CPU Jitter Non-Deterministic RNG (Random Number Generator)"
- select CRYPTO_RNG
- select CRYPTO_SHA3
- help
- CPU Jitter RNG (Random Number Generator) from the Jitterentropy library
- A non-physical non-deterministic ("true") RNG (e.g., an entropy source
- compliant with NIST SP800-90B) intended to provide a seed to a
- deterministic RNG (e.g., per NIST SP800-90C).
- This RNG does not perform any cryptographic whitening of the generated
- random numbers.
- See https://www.chronox.de/jent/
- if CRYPTO_JITTERENTROPY
- if CRYPTO_FIPS && EXPERT
- choice
- prompt "CPU Jitter RNG Memory Size"
- default CRYPTO_JITTERENTROPY_MEMSIZE_2
- help
- The Jitter RNG measures the execution time of memory accesses.
- Multiple consecutive memory accesses are performed. If the memory
- size fits into a cache (e.g. L1), only the memory access timing
- to that cache is measured. The closer the cache is to the CPU
- the less variations are measured and thus the less entropy is
- obtained. Thus, if the memory size fits into the L1 cache, the
- obtained entropy is less than if the memory size fits within
- L1 + L2, which in turn is less if the memory fits into
- L1 + L2 + L3. Thus, by selecting a different memory size,
- the entropy rate produced by the Jitter RNG can be modified.
- config CRYPTO_JITTERENTROPY_MEMSIZE_2
- bool "2048 Bytes (default)"
- config CRYPTO_JITTERENTROPY_MEMSIZE_128
- bool "128 kBytes"
- config CRYPTO_JITTERENTROPY_MEMSIZE_1024
- bool "1024 kBytes"
- config CRYPTO_JITTERENTROPY_MEMSIZE_8192
- bool "8192 kBytes"
- endchoice
- config CRYPTO_JITTERENTROPY_MEMORY_BLOCKS
- int
- default 64 if CRYPTO_JITTERENTROPY_MEMSIZE_2
- default 512 if CRYPTO_JITTERENTROPY_MEMSIZE_128
- default 1024 if CRYPTO_JITTERENTROPY_MEMSIZE_1024
- default 4096 if CRYPTO_JITTERENTROPY_MEMSIZE_8192
- config CRYPTO_JITTERENTROPY_MEMORY_BLOCKSIZE
- int
- default 32 if CRYPTO_JITTERENTROPY_MEMSIZE_2
- default 256 if CRYPTO_JITTERENTROPY_MEMSIZE_128
- default 1024 if CRYPTO_JITTERENTROPY_MEMSIZE_1024
- default 2048 if CRYPTO_JITTERENTROPY_MEMSIZE_8192
- config CRYPTO_JITTERENTROPY_OSR
- int "CPU Jitter RNG Oversampling Rate"
- range 1 15
- default 3
- help
- The Jitter RNG allows the specification of an oversampling rate (OSR).
- The Jitter RNG operation requires a fixed amount of timing
- measurements to produce one output block of random numbers. The
- OSR value is multiplied with the amount of timing measurements to
- generate one output block. Thus, the timing measurement is oversampled
- by the OSR factor. The oversampling allows the Jitter RNG to operate
- on hardware whose timers deliver limited amount of entropy (e.g.
- the timer is coarse) by setting the OSR to a higher value. The
- trade-off, however, is that the Jitter RNG now requires more time
- to generate random numbers.
- config CRYPTO_JITTERENTROPY_TESTINTERFACE
- bool "CPU Jitter RNG Test Interface"
- help
- The test interface allows a privileged process to capture
- the raw unconditioned high resolution time stamp noise that
- is collected by the Jitter RNG for statistical analysis. As
- this data is used at the same time to generate random bits,
- the Jitter RNG operates in an insecure mode as long as the
- recording is enabled. This interface therefore is only
- intended for testing purposes and is not suitable for
- production systems.
- The raw noise data can be obtained using the jent_raw_hires
- debugfs file. Using the option
- jitterentropy_testing.boot_raw_hires_test=1 the raw noise of
- the first 1000 entropy events since boot can be sampled.
- If unsure, select N.
- endif # if CRYPTO_FIPS && EXPERT
- if !(CRYPTO_FIPS && EXPERT)
- config CRYPTO_JITTERENTROPY_MEMORY_BLOCKS
- int
- default 64
- config CRYPTO_JITTERENTROPY_MEMORY_BLOCKSIZE
- int
- default 32
- config CRYPTO_JITTERENTROPY_OSR
- int
- default 1
- config CRYPTO_JITTERENTROPY_TESTINTERFACE
- bool
- endif # if !(CRYPTO_FIPS && EXPERT)
- endif # if CRYPTO_JITTERENTROPY
- config CRYPTO_KDF800108_CTR
- tristate
- select CRYPTO_HMAC
- select CRYPTO_SHA256
- config CRYPTO_DF80090A
- tristate
- select CRYPTO_AES
- select CRYPTO_CTR
- endmenu
- menu "Userspace interface"
- config CRYPTO_USER_API
- tristate
- config CRYPTO_USER_API_HASH
- tristate "Hash algorithms"
- depends on NET
- select CRYPTO_HASH
- select CRYPTO_USER_API
- help
- Enable the userspace interface for hash algorithms.
- See Documentation/crypto/userspace-if.rst and
- https://www.chronox.de/libkcapi/html/index.html
- config CRYPTO_USER_API_SKCIPHER
- tristate "Symmetric key cipher algorithms"
- depends on NET
- select CRYPTO_SKCIPHER
- select CRYPTO_USER_API
- help
- Enable the userspace interface for symmetric key cipher algorithms.
- See Documentation/crypto/userspace-if.rst and
- https://www.chronox.de/libkcapi/html/index.html
- config CRYPTO_USER_API_RNG
- tristate "RNG (random number generator) algorithms"
- depends on NET
- select CRYPTO_RNG
- select CRYPTO_USER_API
- help
- Enable the userspace interface for RNG (random number generator)
- algorithms.
- See Documentation/crypto/userspace-if.rst and
- https://www.chronox.de/libkcapi/html/index.html
- config CRYPTO_USER_API_RNG_CAVP
- bool "Enable CAVP testing of DRBG"
- depends on CRYPTO_USER_API_RNG && CRYPTO_DRBG
- help
- Enable extra APIs in the userspace interface for NIST CAVP
- (Cryptographic Algorithm Validation Program) testing:
- - resetting DRBG entropy
- - providing Additional Data
- This should only be enabled for CAVP testing. You should say
- no unless you know what this is.
- config CRYPTO_USER_API_AEAD
- tristate "AEAD cipher algorithms"
- depends on NET
- select CRYPTO_AEAD
- select CRYPTO_SKCIPHER
- select CRYPTO_USER_API
- help
- Enable the userspace interface for AEAD cipher algorithms.
- See Documentation/crypto/userspace-if.rst and
- https://www.chronox.de/libkcapi/html/index.html
- config CRYPTO_USER_API_ENABLE_OBSOLETE
- bool "Obsolete cryptographic algorithms"
- depends on CRYPTO_USER_API
- default y
- help
- Allow obsolete cryptographic algorithms to be selected that have
- already been phased out from internal use by the kernel, and are
- only useful for userspace clients that still rely on them.
- endmenu
- if !KMSAN # avoid false positives from assembly
- if ARM
- source "arch/arm/crypto/Kconfig"
- endif
- if ARM64
- source "arch/arm64/crypto/Kconfig"
- endif
- if LOONGARCH
- source "arch/loongarch/crypto/Kconfig"
- endif
- if MIPS
- source "arch/mips/crypto/Kconfig"
- endif
- if PPC
- source "arch/powerpc/crypto/Kconfig"
- endif
- if RISCV
- source "arch/riscv/crypto/Kconfig"
- endif
- if S390
- source "arch/s390/crypto/Kconfig"
- endif
- if SPARC
- source "arch/sparc/crypto/Kconfig"
- endif
- if X86
- source "arch/x86/crypto/Kconfig"
- endif
- endif
- source "drivers/crypto/Kconfig"
- source "crypto/asymmetric_keys/Kconfig"
- source "certs/Kconfig"
- source "crypto/krb5/Kconfig"
- endif # if CRYPTO
|