xref: /openbmc/linux/drivers/crypto/aspeed/Kconfig (revision 31b39755)
1108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED
2108713a7SNeal Liu	tristate "Support for Aspeed cryptographic engine driver"
3*31b39755SHerbert Xu	depends on ARCH_ASPEED || COMPILE_TEST
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.
3362f58b16SNeal Liu
3462f58b16SNeal Liuconfig CRYPTO_DEV_ASPEED_HACE_CRYPTO
3562f58b16SNeal Liu	bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
3662f58b16SNeal Liu	depends on CRYPTO_DEV_ASPEED
3762f58b16SNeal Liu	select CRYPTO_ENGINE
3862f58b16SNeal Liu	select CRYPTO_AES
3962f58b16SNeal Liu	select CRYPTO_DES
4062f58b16SNeal Liu	select CRYPTO_ECB
4162f58b16SNeal Liu	select CRYPTO_CBC
4262f58b16SNeal Liu	select CRYPTO_CFB
4362f58b16SNeal Liu	select CRYPTO_OFB
4462f58b16SNeal Liu	select CRYPTO_CTR
4562f58b16SNeal Liu	help
4662f58b16SNeal Liu	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
4762f58b16SNeal Liu	  crypto driver.
4862f58b16SNeal Liu	  Supports AES/DES symmetric-key encryption and decryption
4962f58b16SNeal Liu	  with ECB/CBC/CFB/OFB/CTR options.
50