162306a36Sopenharmony_ciconfig CRYPTO_DEV_ASPEED
262306a36Sopenharmony_ci	tristate "Support for Aspeed cryptographic engine driver"
362306a36Sopenharmony_ci	depends on ARCH_ASPEED || COMPILE_TEST
462306a36Sopenharmony_ci	select CRYPTO_ENGINE
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  Hash and Crypto Engine (HACE) is designed to accelerate the
762306a36Sopenharmony_ci	  throughput of hash data digest, encryption and decryption.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	  Select y here to have support for the cryptographic driver
1062306a36Sopenharmony_ci	  available on Aspeed SoC.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciconfig CRYPTO_DEV_ASPEED_DEBUG
1362306a36Sopenharmony_ci	bool "Enable Aspeed crypto debug messages"
1462306a36Sopenharmony_ci	depends on CRYPTO_DEV_ASPEED
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  Print Aspeed crypto debugging messages if you use this
1762306a36Sopenharmony_ci	  option to ask for those messages.
1862306a36Sopenharmony_ci	  Avoid enabling this option for production build to
1962306a36Sopenharmony_ci	  minimize driver timing.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig CRYPTO_DEV_ASPEED_HACE_HASH
2262306a36Sopenharmony_ci	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
2362306a36Sopenharmony_ci	depends on CRYPTO_DEV_ASPEED
2462306a36Sopenharmony_ci	select CRYPTO_SHA1
2562306a36Sopenharmony_ci	select CRYPTO_SHA256
2662306a36Sopenharmony_ci	select CRYPTO_SHA512
2762306a36Sopenharmony_ci	select CRYPTO_HMAC
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
3062306a36Sopenharmony_ci	  hash driver.
3162306a36Sopenharmony_ci	  Supports multiple message digest standards, including
3262306a36Sopenharmony_ci	  SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig CRYPTO_DEV_ASPEED_HACE_CRYPTO
3562306a36Sopenharmony_ci	bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
3662306a36Sopenharmony_ci	depends on CRYPTO_DEV_ASPEED
3762306a36Sopenharmony_ci	select CRYPTO_AES
3862306a36Sopenharmony_ci	select CRYPTO_DES
3962306a36Sopenharmony_ci	select CRYPTO_ECB
4062306a36Sopenharmony_ci	select CRYPTO_CBC
4162306a36Sopenharmony_ci	select CRYPTO_CFB
4262306a36Sopenharmony_ci	select CRYPTO_OFB
4362306a36Sopenharmony_ci	select CRYPTO_CTR
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
4662306a36Sopenharmony_ci	  crypto driver.
4762306a36Sopenharmony_ci	  Supports AES/DES symmetric-key encryption and decryption
4862306a36Sopenharmony_ci	  with ECB/CBC/CFB/OFB/CTR options.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig CRYPTO_DEV_ASPEED_ACRY
5162306a36Sopenharmony_ci	bool "Enable Aspeed ACRY RSA Engine"
5262306a36Sopenharmony_ci	depends on CRYPTO_DEV_ASPEED
5362306a36Sopenharmony_ci	select CRYPTO_ENGINE
5462306a36Sopenharmony_ci	select CRYPTO_RSA
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  Select here to enable Aspeed ECC/RSA Engine (ACRY)
5762306a36Sopenharmony_ci	  RSA driver.
5862306a36Sopenharmony_ci	  Supports 256 bits to 4096 bits RSA encryption/decryption
5962306a36Sopenharmony_ci	  and signature/verification.
60