xref: /openbmc/linux/drivers/crypto/aspeed/Kconfig (revision c832da79)
1config CRYPTO_DEV_ASPEED
2	tristate "Support for Aspeed cryptographic engine driver"
3	depends on ARCH_ASPEED || COMPILE_TEST
4	help
5	  Hash and Crypto Engine (HACE) is designed to accelerate the
6	  throughput of hash data digest, encryption and decryption.
7
8	  Select y here to have support for the cryptographic driver
9	  available on Aspeed SoC.
10
11config CRYPTO_DEV_ASPEED_DEBUG
12	bool "Enable Aspeed crypto debug messages"
13	depends on CRYPTO_DEV_ASPEED
14	help
15	  Print Aspeed crypto debugging messages if you use this
16	  option to ask for those messages.
17	  Avoid enabling this option for production build to
18	  minimize driver timing.
19
20config CRYPTO_DEV_ASPEED_HACE_HASH
21	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
22	depends on CRYPTO_DEV_ASPEED
23	select CRYPTO_ENGINE
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_ENGINE
38	select CRYPTO_AES
39	select CRYPTO_DES
40	select CRYPTO_ECB
41	select CRYPTO_CBC
42	select CRYPTO_CFB
43	select CRYPTO_OFB
44	select CRYPTO_CTR
45	help
46	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
47	  crypto driver.
48	  Supports AES/DES symmetric-key encryption and decryption
49	  with ECB/CBC/CFB/OFB/CTR options.
50