xref: /openbmc/linux/arch/sparc/crypto/Kconfig (revision cf514b2a)
1# SPDX-License-Identifier: GPL-2.0
2
3menu "Accelerated Cryptographic Algorithms for CPU (sparc64)"
4
5config CRYPTO_DES_SPARC64
6	tristate "Ciphers: DES and Triple DES EDE, modes: ECB/CBC"
7	depends on SPARC64
8	select CRYPTO_ALGAPI
9	select CRYPTO_LIB_DES
10	select CRYPTO_SKCIPHER
11	help
12	  Block cipher: DES (FIPS 46-2) cipher algorithm
13	  Block cipher: Triple DES EDE (FIPS 46-3) cipher algorithm
14	  Length-preserving ciphers: DES with ECB and CBC modes
15	  Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
16
17	  Architecture: sparc64
18
19config CRYPTO_CRC32C_SPARC64
20	tristate "CRC32c"
21	depends on SPARC64
22	select CRYPTO_HASH
23	select CRC32
24	help
25	  CRC32c CRC algorithm with the iSCSI polynomial (RFC 3385 and RFC 3720)
26
27	  Architecture: sparc64
28
29config CRYPTO_MD5_SPARC64
30	tristate "Digests: MD5"
31	depends on SPARC64
32	select CRYPTO_MD5
33	select CRYPTO_HASH
34	help
35	  MD5 message digest algorithm (RFC1321)
36
37	  Architecture: sparc64 using crypto instructions, when available
38
39config CRYPTO_SHA1_SPARC64
40	tristate "Hash functions: SHA-1"
41	depends on SPARC64
42	select CRYPTO_SHA1
43	select CRYPTO_HASH
44	help
45	  SHA-1 secure hash algorithm (FIPS 180)
46
47	  Architecture: sparc64
48
49config CRYPTO_SHA256_SPARC64
50	tristate "Hash functions: SHA-224 and SHA-256"
51	depends on SPARC64
52	select CRYPTO_SHA256
53	select CRYPTO_HASH
54	help
55	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
56
57	  Architecture: sparc64 using crypto instructions, when available
58
59config CRYPTO_SHA512_SPARC64
60	tristate "Hash functions: SHA-384 and SHA-512"
61	depends on SPARC64
62	select CRYPTO_SHA512
63	select CRYPTO_HASH
64	help
65	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
66
67	  Architecture: sparc64 using crypto instructions, when available
68
69config CRYPTO_AES_SPARC64
70	tristate "Ciphers: AES, modes: ECB, CBC, CTR"
71	depends on SPARC64
72	select CRYPTO_SKCIPHER
73	help
74	  Block ciphers: AES cipher algorithms (FIPS-197)
75	  Length-preseving ciphers: AES with ECB, CBC, and CTR modes
76
77	  Architecture: sparc64 using crypto instructions
78
79config CRYPTO_CAMELLIA_SPARC64
80	tristate "Ciphers: Camellia, modes: ECB, CBC"
81	depends on SPARC64
82	select CRYPTO_ALGAPI
83	select CRYPTO_SKCIPHER
84	help
85	  Block ciphers: Camellia cipher algorithms
86	  Length-preserving ciphers: Camellia with ECB and CBC modes
87
88	  Architecture: sparc64
89
90endmenu
91