1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2f1147660STom Lendackyconfig CRYPTO_DEV_CCP_DD 3720419f0SBrijesh Singh tristate "Secure Processor device driver" 4016db9c5SBorislav Petkov depends on CPU_SUP_AMD || ARM64 5f1147660STom Lendacky default m 6720419f0SBrijesh Singh help 7720419f0SBrijesh Singh Provides AMD Secure Processor device driver. 8720419f0SBrijesh Singh If you choose 'M' here, this module will be called ccp. 9720419f0SBrijesh Singh 10720419f0SBrijesh Singhconfig CRYPTO_DEV_SP_CCP 11720419f0SBrijesh Singh bool "Cryptographic Coprocessor device" 12720419f0SBrijesh Singh default y 13eebac678SArnd Bergmann depends on CRYPTO_DEV_CCP_DD && DMADEVICES 14d5aa8095STom Lendacky select HW_RANDOM 1558ea8abfSGary R Hook select DMA_ENGINE 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 29b95bba5dSEric Biggers select CRYPTO_SKCIPHER 30f1147660STom Lendacky select CRYPTO_AUTHENC 31ac360fafSArnd Bergmann select CRYPTO_RSA 326273fd7aSArd Biesheuvel select CRYPTO_LIB_AES 33f1147660STom Lendacky help 34f1147660STom Lendacky Support for using the cryptographic API with the AMD Cryptographic 3521dc9e8fSTom Lendacky Coprocessor. This module supports offload of SHA and AES algorithms. 3621dc9e8fSTom Lendacky If you choose 'M' here, this module will be called ccp_crypto. 372a6170dfSBrijesh Singh 382a6170dfSBrijesh Singhconfig CRYPTO_DEV_SP_PSP 392a6170dfSBrijesh Singh bool "Platform Security Processor (PSP) device" 402a6170dfSBrijesh Singh default y 41*ee8ff876SBorislav Petkov (AMD) depends on CRYPTO_DEV_CCP_DD && X86_64 && AMD_IOMMU 422a6170dfSBrijesh Singh help 432a6170dfSBrijesh Singh Provide support for the AMD Platform Security Processor (PSP). 442a6170dfSBrijesh Singh The PSP is a dedicated processor that provides support for key 452a6170dfSBrijesh Singh management commands in Secure Encrypted Virtualization (SEV) mode, 462a6170dfSBrijesh Singh along with software-based Trusted Execution Environment (TEE) to 472a6170dfSBrijesh Singh enable third-party trusted applications. 4893308bafSHook, Gary 4993308bafSHook, Garyconfig CRYPTO_DEV_CCP_DEBUGFS 5093308bafSHook, Gary bool "Enable CCP Internals in DebugFS" 5193308bafSHook, Gary default n 5293308bafSHook, Gary depends on CRYPTO_DEV_SP_CCP 5393308bafSHook, Gary help 5493308bafSHook, Gary Expose CCP device information such as operation statistics, feature 5593308bafSHook, Gary information, and descriptor queue contents. 56