xref: /openbmc/linux/arch/sparc/crypto/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
10e9f9ea6SRobert Elliott# SPDX-License-Identifier: GPL-2.0
20e9f9ea6SRobert Elliott
30e9f9ea6SRobert Elliottmenu "Accelerated Cryptographic Algorithms for CPU (sparc64)"
40e9f9ea6SRobert Elliott
50e9f9ea6SRobert Elliottconfig CRYPTO_DES_SPARC64
6*cf514b2aSRobert Elliott	tristate "Ciphers: DES and Triple DES EDE, modes: ECB/CBC"
70e9f9ea6SRobert Elliott	depends on SPARC64
80e9f9ea6SRobert Elliott	select CRYPTO_ALGAPI
90e9f9ea6SRobert Elliott	select CRYPTO_LIB_DES
100e9f9ea6SRobert Elliott	select CRYPTO_SKCIPHER
110e9f9ea6SRobert Elliott	help
12*cf514b2aSRobert Elliott	  Block cipher: DES (FIPS 46-2) cipher algorithm
13*cf514b2aSRobert Elliott	  Block cipher: Triple DES EDE (FIPS 46-3) cipher algorithm
14*cf514b2aSRobert Elliott	  Length-preserving ciphers: DES with ECB and CBC modes
15*cf514b2aSRobert Elliott	  Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
16*cf514b2aSRobert Elliott
17*cf514b2aSRobert Elliott	  Architecture: sparc64
180e9f9ea6SRobert Elliott
190e9f9ea6SRobert Elliottconfig CRYPTO_CRC32C_SPARC64
20ec84348dSRobert Elliott	tristate "CRC32c"
210e9f9ea6SRobert Elliott	depends on SPARC64
220e9f9ea6SRobert Elliott	select CRYPTO_HASH
230e9f9ea6SRobert Elliott	select CRC32
240e9f9ea6SRobert Elliott	help
25ec84348dSRobert Elliott	  CRC32c CRC algorithm with the iSCSI polynomial (RFC 3385 and RFC 3720)
26ec84348dSRobert Elliott
27ec84348dSRobert Elliott	  Architecture: sparc64
280e9f9ea6SRobert Elliott
290e9f9ea6SRobert Elliottconfig CRYPTO_MD5_SPARC64
303f342a23SRobert Elliott	tristate "Digests: MD5"
310e9f9ea6SRobert Elliott	depends on SPARC64
320e9f9ea6SRobert Elliott	select CRYPTO_MD5
330e9f9ea6SRobert Elliott	select CRYPTO_HASH
340e9f9ea6SRobert Elliott	help
353f342a23SRobert Elliott	  MD5 message digest algorithm (RFC1321)
363f342a23SRobert Elliott
373f342a23SRobert Elliott	  Architecture: sparc64 using crypto instructions, when available
380e9f9ea6SRobert Elliott
390e9f9ea6SRobert Elliottconfig CRYPTO_SHA1_SPARC64
403f342a23SRobert Elliott	tristate "Hash functions: SHA-1"
410e9f9ea6SRobert Elliott	depends on SPARC64
420e9f9ea6SRobert Elliott	select CRYPTO_SHA1
430e9f9ea6SRobert Elliott	select CRYPTO_HASH
440e9f9ea6SRobert Elliott	help
453f342a23SRobert Elliott	  SHA-1 secure hash algorithm (FIPS 180)
463f342a23SRobert Elliott
473f342a23SRobert Elliott	  Architecture: sparc64
480e9f9ea6SRobert Elliott
490e9f9ea6SRobert Elliottconfig CRYPTO_SHA256_SPARC64
503f342a23SRobert Elliott	tristate "Hash functions: SHA-224 and SHA-256"
510e9f9ea6SRobert Elliott	depends on SPARC64
520e9f9ea6SRobert Elliott	select CRYPTO_SHA256
530e9f9ea6SRobert Elliott	select CRYPTO_HASH
540e9f9ea6SRobert Elliott	help
553f342a23SRobert Elliott	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
563f342a23SRobert Elliott
573f342a23SRobert Elliott	  Architecture: sparc64 using crypto instructions, when available
580e9f9ea6SRobert Elliott
590e9f9ea6SRobert Elliottconfig CRYPTO_SHA512_SPARC64
603f342a23SRobert Elliott	tristate "Hash functions: SHA-384 and SHA-512"
610e9f9ea6SRobert Elliott	depends on SPARC64
620e9f9ea6SRobert Elliott	select CRYPTO_SHA512
630e9f9ea6SRobert Elliott	select CRYPTO_HASH
640e9f9ea6SRobert Elliott	help
653f342a23SRobert Elliott	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
663f342a23SRobert Elliott
673f342a23SRobert Elliott	  Architecture: sparc64 using crypto instructions, when available
680e9f9ea6SRobert Elliott
690e9f9ea6SRobert Elliottconfig CRYPTO_AES_SPARC64
70*cf514b2aSRobert Elliott	tristate "Ciphers: AES, modes: ECB, CBC, CTR"
710e9f9ea6SRobert Elliott	depends on SPARC64
720e9f9ea6SRobert Elliott	select CRYPTO_SKCIPHER
730e9f9ea6SRobert Elliott	help
74*cf514b2aSRobert Elliott	  Block ciphers: AES cipher algorithms (FIPS-197)
75*cf514b2aSRobert Elliott	  Length-preseving ciphers: AES with ECB, CBC, and CTR modes
760e9f9ea6SRobert Elliott
77*cf514b2aSRobert Elliott	  Architecture: sparc64 using crypto instructions
780e9f9ea6SRobert Elliott
790e9f9ea6SRobert Elliottconfig CRYPTO_CAMELLIA_SPARC64
80*cf514b2aSRobert Elliott	tristate "Ciphers: Camellia, modes: ECB, CBC"
810e9f9ea6SRobert Elliott	depends on SPARC64
820e9f9ea6SRobert Elliott	select CRYPTO_ALGAPI
830e9f9ea6SRobert Elliott	select CRYPTO_SKCIPHER
840e9f9ea6SRobert Elliott	help
85*cf514b2aSRobert Elliott	  Block ciphers: Camellia cipher algorithms
86*cf514b2aSRobert Elliott	  Length-preserving ciphers: Camellia with ECB and CBC modes
870e9f9ea6SRobert Elliott
88*cf514b2aSRobert Elliott	  Architecture: sparc64
890e9f9ea6SRobert Elliott
900e9f9ea6SRobert Elliottendmenu
91