xref: /openbmc/linux/drivers/crypto/aspeed/Kconfig (revision cc8c418b)
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