xref: /linux/arch/sparc/crypto/Kconfig (revision 37b33c68b00089a574ebd0a856a5d554eb3001b7)
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_MD5_SPARC64
20	tristate "Digests: MD5"
21	depends on SPARC64
22	select CRYPTO_MD5
23	select CRYPTO_HASH
24	help
25	  MD5 message digest algorithm (RFC1321)
26
27	  Architecture: sparc64 using crypto instructions, when available
28
29config CRYPTO_SHA1_SPARC64
30	tristate "Hash functions: SHA-1"
31	depends on SPARC64
32	select CRYPTO_SHA1
33	select CRYPTO_HASH
34	help
35	  SHA-1 secure hash algorithm (FIPS 180)
36
37	  Architecture: sparc64
38
39config CRYPTO_SHA256_SPARC64
40	tristate "Hash functions: SHA-224 and SHA-256"
41	depends on SPARC64
42	select CRYPTO_SHA256
43	select CRYPTO_HASH
44	help
45	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
46
47	  Architecture: sparc64 using crypto instructions, when available
48
49config CRYPTO_SHA512_SPARC64
50	tristate "Hash functions: SHA-384 and SHA-512"
51	depends on SPARC64
52	select CRYPTO_SHA512
53	select CRYPTO_HASH
54	help
55	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
56
57	  Architecture: sparc64 using crypto instructions, when available
58
59config CRYPTO_AES_SPARC64
60	tristate "Ciphers: AES, modes: ECB, CBC, CTR"
61	depends on SPARC64
62	select CRYPTO_SKCIPHER
63	help
64	  Block ciphers: AES cipher algorithms (FIPS-197)
65	  Length-preseving ciphers: AES with ECB, CBC, and CTR modes
66
67	  Architecture: sparc64 using crypto instructions
68
69config CRYPTO_CAMELLIA_SPARC64
70	tristate "Ciphers: Camellia, modes: ECB, CBC"
71	depends on SPARC64
72	select CRYPTO_ALGAPI
73	select CRYPTO_SKCIPHER
74	help
75	  Block ciphers: Camellia cipher algorithms
76	  Length-preserving ciphers: Camellia with ECB and CBC modes
77
78	  Architecture: sparc64
79
80endmenu
81