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_CTR
42	help
43	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
44	  crypto driver.
45	  Supports AES/DES symmetric-key encryption and decryption
46	  with ECB/CBC/CTR options.
47
48config CRYPTO_DEV_ASPEED_ACRY
49	bool "Enable Aspeed ACRY RSA Engine"
50	depends on CRYPTO_DEV_ASPEED
51	select CRYPTO_ENGINE
52	select CRYPTO_RSA
53	help
54	  Select here to enable Aspeed ECC/RSA Engine (ACRY)
55	  RSA driver.
56	  Supports 256 bits to 4096 bits RSA encryption/decryption
57	  and signature/verification.
58