summaryrefslogtreecommitdiff
path: root/drivers/crypto/aspeed/Kconfig
blob: e93f2f82b41819c19003e97eebe426ddb3743d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
config CRYPTO_DEV_ASPEED
	tristate "Support for Aspeed cryptographic engine driver"
	depends on ARCH_ASPEED || COMPILE_TEST
	select CRYPTO_ENGINE
	help
	  Hash and Crypto Engine (HACE) is designed to accelerate the
	  throughput of hash data digest, encryption and decryption.

	  Select y here to have support for the cryptographic driver
	  available on Aspeed SoC.

config CRYPTO_DEV_ASPEED_DEBUG
	bool "Enable Aspeed crypto debug messages"
	depends on CRYPTO_DEV_ASPEED
	help
	  Print Aspeed crypto debugging messages if you use this
	  option to ask for those messages.
	  Avoid enabling this option for production build to
	  minimize driver timing.

config CRYPTO_DEV_ASPEED_HACE_HASH
	bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
	depends on CRYPTO_DEV_ASPEED
	select CRYPTO_SHA1
	select CRYPTO_SHA256
	select CRYPTO_SHA512
	select CRYPTO_HMAC
	help
	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
	  hash driver.
	  Supports multiple message digest standards, including
	  SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.

config CRYPTO_DEV_ASPEED_HACE_CRYPTO
	bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
	depends on CRYPTO_DEV_ASPEED
	select CRYPTO_AES
	select CRYPTO_DES
	select CRYPTO_ECB
	select CRYPTO_CBC
	select CRYPTO_CTR
	help
	  Select here to enable Aspeed Hash & Crypto Engine (HACE)
	  crypto driver.
	  Supports AES/DES symmetric-key encryption and decryption
	  with ECB/CBC/CTR options.

config CRYPTO_DEV_ASPEED_ACRY
	bool "Enable Aspeed ACRY RSA Engine"
	depends on CRYPTO_DEV_ASPEED
	select CRYPTO_ENGINE
	select CRYPTO_RSA
	help
	  Select here to enable Aspeed ECC/RSA Engine (ACRY)
	  RSA driver.
	  Supports 256 bits to 4096 bits RSA encryption/decryption
	  and signature/verification.