xref: /linux/drivers/crypto/aspeed/Kconfig (revision 702648721db590b3425c31ade294000e18808345)
1config CRYPTO_DEV_ASPEED
2	tristate "Support for Aspeed cryptographic engine driver"
3	depends on ARCH_ASPEED || COMPILE_TEST
4	select CRYPTO_ENGINE
5	help
6	  Hash and Crypto Engine (HACE) is designed to accelerate the
7	  throughput of hash data digest, encryption and decryption.
8
9	  Select y here to have support for the cryptographic driver
10	  available on Aspeed SoC.
11
12config CRYPTO_DEV_ASPEED_DEBUG
13	bool "Enable Aspeed crypto debug messages"
14	depends on CRYPTO_DEV_ASPEED
15	help
16	  Print Aspeed crypto debugging messages if you use this
17	  option to ask for those messages.
18	  Avoid enabling this option for production build to
19	  minimize driver timing.
20
21config CRYPTO_DEV_ASPEED_HACE_HASH
22	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
23	depends on CRYPTO_DEV_ASPEED
24	select CRYPTO_SHA1
25	select CRYPTO_SHA256
26	select CRYPTO_SHA512
27	select CRYPTO_HMAC
28	help
29	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
30	  hash driver.
31	  Supports multiple message digest standards, including
32	  SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
33
34config CRYPTO_DEV_ASPEED_HACE_CRYPTO
35	bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
36	depends on CRYPTO_DEV_ASPEED
37	select CRYPTO_AES
38	select CRYPTO_DES
39	select CRYPTO_ECB
40	select CRYPTO_CBC
41	select CRYPTO_CFB
42	select CRYPTO_OFB
43	select CRYPTO_CTR
44	help
45	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
46	  crypto driver.
47	  Supports AES/DES symmetric-key encryption and decryption
48	  with ECB/CBC/CFB/OFB/CTR options.
49
50config CRYPTO_DEV_ASPEED_ACRY
51	bool "Enable Aspeed ACRY RSA Engine"
52	depends on CRYPTO_DEV_ASPEED
53	select CRYPTO_ENGINE
54	select CRYPTO_RSA
55	help
56	  Select here to enable Aspeed ECC/RSA Engine (ACRY)
57	  RSA driver.
58	  Supports 256 bits to 4096 bits RSA encryption/decryption
59	  and signature/verification.
60