xref: /openbmc/linux/drivers/crypto/aspeed/Kconfig (revision 62f58b16)
1108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED
2108713a7SNeal Liu	tristate "Support for Aspeed cryptographic engine driver"
3108713a7SNeal Liu	depends on ARCH_ASPEED
4108713a7SNeal Liu	help
5108713a7SNeal Liu	  Hash and Crypto Engine (HACE) is designed to accelerate the
6108713a7SNeal Liu	  throughput of hash data digest, encryption and decryption.
7108713a7SNeal Liu
8108713a7SNeal Liu	  Select y here to have support for the cryptographic driver
9108713a7SNeal Liu	  available on Aspeed SoC.
10108713a7SNeal Liu
11108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED_DEBUG
12108713a7SNeal Liu	bool "Enable Aspeed crypto debug messages"
13108713a7SNeal Liu	depends on CRYPTO_DEV_ASPEED
14108713a7SNeal Liu	help
15108713a7SNeal Liu	  Print Aspeed crypto debugging messages if you use this
16108713a7SNeal Liu	  option to ask for those messages.
17108713a7SNeal Liu	  Avoid enabling this option for production build to
18108713a7SNeal Liu	  minimize driver timing.
19108713a7SNeal Liu
20108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED_HACE_HASH
21108713a7SNeal Liu	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
22108713a7SNeal Liu	depends on CRYPTO_DEV_ASPEED
23108713a7SNeal Liu	select CRYPTO_ENGINE
24108713a7SNeal Liu	select CRYPTO_SHA1
25108713a7SNeal Liu	select CRYPTO_SHA256
26108713a7SNeal Liu	select CRYPTO_SHA512
27108713a7SNeal Liu	select CRYPTO_HMAC
28108713a7SNeal Liu	help
29108713a7SNeal Liu	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
30108713a7SNeal Liu	  hash driver.
31108713a7SNeal Liu	  Supports multiple message digest standards, including
32108713a7SNeal Liu	  SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
33*62f58b16SNeal Liu
34*62f58b16SNeal Liuconfig CRYPTO_DEV_ASPEED_HACE_CRYPTO
35*62f58b16SNeal Liu	bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
36*62f58b16SNeal Liu	depends on CRYPTO_DEV_ASPEED
37*62f58b16SNeal Liu	select CRYPTO_ENGINE
38*62f58b16SNeal Liu	select CRYPTO_AES
39*62f58b16SNeal Liu	select CRYPTO_DES
40*62f58b16SNeal Liu	select CRYPTO_ECB
41*62f58b16SNeal Liu	select CRYPTO_CBC
42*62f58b16SNeal Liu	select CRYPTO_CFB
43*62f58b16SNeal Liu	select CRYPTO_OFB
44*62f58b16SNeal Liu	select CRYPTO_CTR
45*62f58b16SNeal Liu	help
46*62f58b16SNeal Liu	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
47*62f58b16SNeal Liu	  crypto driver.
48*62f58b16SNeal Liu	  Supports AES/DES symmetric-key encryption and decryption
49*62f58b16SNeal Liu	  with ECB/CBC/CFB/OFB/CTR options.
50