xref: /linux/drivers/crypto/ccp/Kconfig (revision 2a6170dfe755b167ca8d6bba2e73695f08b37c54)
1f1147660STom Lendackyconfig CRYPTO_DEV_CCP_DD
2720419f0SBrijesh Singh	tristate "Secure Processor device driver"
3016db9c5SBorislav 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*2a6170dfSBrijesh Singh
37*2a6170dfSBrijesh Singhconfig CRYPTO_DEV_SP_PSP
38*2a6170dfSBrijesh Singh	bool "Platform Security Processor (PSP) device"
39*2a6170dfSBrijesh Singh	default y
40*2a6170dfSBrijesh Singh	depends on CRYPTO_DEV_CCP_DD && X86_64
41*2a6170dfSBrijesh Singh	help
42*2a6170dfSBrijesh Singh	 Provide support for the AMD Platform Security Processor (PSP).
43*2a6170dfSBrijesh Singh	 The PSP is a dedicated processor that provides support for key
44*2a6170dfSBrijesh Singh	 management commands in Secure Encrypted Virtualization (SEV) mode,
45*2a6170dfSBrijesh Singh	 along with software-based Trusted Execution Environment (TEE) to
46*2a6170dfSBrijesh Singh	 enable third-party trusted applications.
47