xref: /linux/drivers/crypto/ccp/Kconfig (revision 016db9c5c39fc7f1c766daf2083211318ef93d38)
1f1147660STom Lendackyconfig CRYPTO_DEV_CCP_DD
2720419f0SBrijesh Singh	tristate "Secure Processor device driver"
3*016db9c5SBorislav Petkov	depends on CPU_SUP_AMD || ARM64
4f1147660STom Lendacky	default m
5720419f0SBrijesh Singh	help
6720419f0SBrijesh Singh	  Provides AMD Secure Processor device driver.
7720419f0SBrijesh Singh	  If you choose 'M' here, this module will be called ccp.
8720419f0SBrijesh Singh
9720419f0SBrijesh Singhconfig CRYPTO_DEV_SP_CCP
10720419f0SBrijesh Singh	bool "Cryptographic Coprocessor device"
11720419f0SBrijesh Singh	default y
12720419f0SBrijesh Singh	depends on CRYPTO_DEV_CCP_DD
13d5aa8095STom Lendacky	select HW_RANDOM
1458ea8abfSGary R Hook	select DMA_ENGINE
15b3c2fee5SGary R Hook	select DMADEVICES
16bdd75064SLABBE Corentin	select CRYPTO_SHA1
17bdd75064SLABBE Corentin	select CRYPTO_SHA256
18f1147660STom Lendacky	help
19720419f0SBrijesh Singh	  Provides the support for AMD Cryptographic Coprocessor (CCP) device
20720419f0SBrijesh Singh	  which can be used to offload encryption operations such as SHA, AES
21720419f0SBrijesh Singh	  and more.
22f1147660STom Lendacky
23f1147660STom Lendackyconfig CRYPTO_DEV_CCP_CRYPTO
2421dc9e8fSTom Lendacky	tristate "Encryption and hashing offload support"
25f1147660STom Lendacky	default m
26720419f0SBrijesh Singh	depends on CRYPTO_DEV_CCP_DD
27720419f0SBrijesh Singh	depends on CRYPTO_DEV_SP_CCP
28f1147660STom Lendacky	select CRYPTO_HASH
29f1147660STom Lendacky	select CRYPTO_BLKCIPHER
30f1147660STom Lendacky	select CRYPTO_AUTHENC
31ac360fafSArnd Bergmann	select CRYPTO_RSA
32f1147660STom Lendacky	help
33f1147660STom Lendacky	  Support for using the cryptographic API with the AMD Cryptographic
3421dc9e8fSTom Lendacky	  Coprocessor. This module supports offload of SHA and AES algorithms.
3521dc9e8fSTom Lendacky	  If you choose 'M' here, this module will be called ccp_crypto.
36