xref: /linux/drivers/crypto/aspeed/Kconfig (revision 06d07429858317ded2db7986113a9e0129cd599b)
1108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED
2108713a7SNeal Liu	tristate "Support for Aspeed cryptographic engine driver"
331b39755SHerbert Xu	depends on ARCH_ASPEED || COMPILE_TEST
4f78f6f0bSNeal Liu	select CRYPTO_ENGINE
5108713a7SNeal Liu	help
6108713a7SNeal Liu	  Hash and Crypto Engine (HACE) is designed to accelerate the
7108713a7SNeal Liu	  throughput of hash data digest, encryption and decryption.
8108713a7SNeal Liu
9108713a7SNeal Liu	  Select y here to have support for the cryptographic driver
10108713a7SNeal Liu	  available on Aspeed SoC.
11108713a7SNeal Liu
12108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED_DEBUG
13108713a7SNeal Liu	bool "Enable Aspeed crypto debug messages"
14108713a7SNeal Liu	depends on CRYPTO_DEV_ASPEED
15108713a7SNeal Liu	help
16108713a7SNeal Liu	  Print Aspeed crypto debugging messages if you use this
17108713a7SNeal Liu	  option to ask for those messages.
18108713a7SNeal Liu	  Avoid enabling this option for production build to
19108713a7SNeal Liu	  minimize driver timing.
20108713a7SNeal Liu
21108713a7SNeal Liuconfig CRYPTO_DEV_ASPEED_HACE_HASH
22108713a7SNeal Liu	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
23108713a7SNeal Liu	depends on CRYPTO_DEV_ASPEED
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_AES
3862f58b16SNeal Liu	select CRYPTO_DES
3962f58b16SNeal Liu	select CRYPTO_ECB
4062f58b16SNeal Liu	select CRYPTO_CBC
4162f58b16SNeal Liu	select CRYPTO_CTR
4262f58b16SNeal Liu	help
4362f58b16SNeal Liu	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
4462f58b16SNeal Liu	  crypto driver.
4562f58b16SNeal Liu	  Supports AES/DES symmetric-key encryption and decryption
46*00b05e51SHerbert Xu	  with ECB/CBC/CTR options.
472f1cf4e5SNeal Liu
482f1cf4e5SNeal Liuconfig CRYPTO_DEV_ASPEED_ACRY
492f1cf4e5SNeal Liu	bool "Enable Aspeed ACRY RSA Engine"
502f1cf4e5SNeal Liu	depends on CRYPTO_DEV_ASPEED
512f1cf4e5SNeal Liu	select CRYPTO_ENGINE
522f1cf4e5SNeal Liu	select CRYPTO_RSA
532f1cf4e5SNeal Liu	help
542f1cf4e5SNeal Liu	  Select here to enable Aspeed ECC/RSA Engine (ACRY)
552f1cf4e5SNeal Liu	  RSA driver.
562f1cf4e5SNeal Liu	  Supports 256 bits to 4096 bits RSA encryption/decryption
572f1cf4e5SNeal Liu	  and signature/verification.
58