xref: /kernel/linux/linux-6.6/arch/sparc/crypto/Kconfig (revision 62306a36)
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_cimenu "Accelerated Cryptographic Algorithms for CPU (sparc64)"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig CRYPTO_DES_SPARC64
662306a36Sopenharmony_ci	tristate "Ciphers: DES and Triple DES EDE, modes: ECB/CBC"
762306a36Sopenharmony_ci	depends on SPARC64
862306a36Sopenharmony_ci	select CRYPTO_ALGAPI
962306a36Sopenharmony_ci	select CRYPTO_LIB_DES
1062306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Block cipher: DES (FIPS 46-2) cipher algorithm
1362306a36Sopenharmony_ci	  Block cipher: Triple DES EDE (FIPS 46-3) cipher algorithm
1462306a36Sopenharmony_ci	  Length-preserving ciphers: DES with ECB and CBC modes
1562306a36Sopenharmony_ci	  Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci	  Architecture: sparc64
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig CRYPTO_CRC32C_SPARC64
2062306a36Sopenharmony_ci	tristate "CRC32c"
2162306a36Sopenharmony_ci	depends on SPARC64
2262306a36Sopenharmony_ci	select CRYPTO_HASH
2362306a36Sopenharmony_ci	select CRC32
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  CRC32c CRC algorithm with the iSCSI polynomial (RFC 3385 and RFC 3720)
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  Architecture: sparc64
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig CRYPTO_MD5_SPARC64
3062306a36Sopenharmony_ci	tristate "Digests: MD5"
3162306a36Sopenharmony_ci	depends on SPARC64
3262306a36Sopenharmony_ci	select CRYPTO_MD5
3362306a36Sopenharmony_ci	select CRYPTO_HASH
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  MD5 message digest algorithm (RFC1321)
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci	  Architecture: sparc64 using crypto instructions, when available
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig CRYPTO_SHA1_SPARC64
4062306a36Sopenharmony_ci	tristate "Hash functions: SHA-1"
4162306a36Sopenharmony_ci	depends on SPARC64
4262306a36Sopenharmony_ci	select CRYPTO_SHA1
4362306a36Sopenharmony_ci	select CRYPTO_HASH
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  SHA-1 secure hash algorithm (FIPS 180)
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci	  Architecture: sparc64
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ciconfig CRYPTO_SHA256_SPARC64
5062306a36Sopenharmony_ci	tristate "Hash functions: SHA-224 and SHA-256"
5162306a36Sopenharmony_ci	depends on SPARC64
5262306a36Sopenharmony_ci	select CRYPTO_SHA256
5362306a36Sopenharmony_ci	select CRYPTO_HASH
5462306a36Sopenharmony_ci	help
5562306a36Sopenharmony_ci	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci	  Architecture: sparc64 using crypto instructions, when available
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig CRYPTO_SHA512_SPARC64
6062306a36Sopenharmony_ci	tristate "Hash functions: SHA-384 and SHA-512"
6162306a36Sopenharmony_ci	depends on SPARC64
6262306a36Sopenharmony_ci	select CRYPTO_SHA512
6362306a36Sopenharmony_ci	select CRYPTO_HASH
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ci	  Architecture: sparc64 using crypto instructions, when available
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig CRYPTO_AES_SPARC64
7062306a36Sopenharmony_ci	tristate "Ciphers: AES, modes: ECB, CBC, CTR"
7162306a36Sopenharmony_ci	depends on SPARC64
7262306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
7362306a36Sopenharmony_ci	help
7462306a36Sopenharmony_ci	  Block ciphers: AES cipher algorithms (FIPS-197)
7562306a36Sopenharmony_ci	  Length-preseving ciphers: AES with ECB, CBC, and CTR modes
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci	  Architecture: sparc64 using crypto instructions
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciconfig CRYPTO_CAMELLIA_SPARC64
8062306a36Sopenharmony_ci	tristate "Ciphers: Camellia, modes: ECB, CBC"
8162306a36Sopenharmony_ci	depends on SPARC64
8262306a36Sopenharmony_ci	select CRYPTO_ALGAPI
8362306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
8462306a36Sopenharmony_ci	help
8562306a36Sopenharmony_ci	  Block ciphers: Camellia cipher algorithms
8662306a36Sopenharmony_ci	  Length-preserving ciphers: Camellia with ECB and CBC modes
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ci	  Architecture: sparc64
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciendmenu
91