brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · f394e45 Raw
56 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config CRYPTO_DEV_CCP_DD3	tristate "Secure Processor device driver"4	depends on CPU_SUP_AMD || ARM645	default m6	help7	  Provides AMD Secure Processor device driver.8	  If you choose 'M' here, this module will be called ccp.9 10config CRYPTO_DEV_SP_CCP11	bool "Cryptographic Coprocessor device"12	default y13	depends on CRYPTO_DEV_CCP_DD && DMADEVICES14	select HW_RANDOM15	select DMA_ENGINE16	select CRYPTO_SHA117	select CRYPTO_SHA25618	help19	  Provides the support for AMD Cryptographic Coprocessor (CCP) device20	  which can be used to offload encryption operations such as SHA, AES21	  and more.22 23config CRYPTO_DEV_CCP_CRYPTO24	tristate "Encryption and hashing offload support"25	default m26	depends on CRYPTO_DEV_CCP_DD27	depends on CRYPTO_DEV_SP_CCP28	select CRYPTO_HASH29	select CRYPTO_SKCIPHER30	select CRYPTO_AUTHENC31	select CRYPTO_RSA32	select CRYPTO_LIB_AES33	help34	  Support for using the cryptographic API with the AMD Cryptographic35	  Coprocessor. This module supports offload of SHA and AES algorithms.36	  If you choose 'M' here, this module will be called ccp_crypto.37 38config CRYPTO_DEV_SP_PSP39	bool "Platform Security Processor (PSP) device"40	default y41	depends on CRYPTO_DEV_CCP_DD && X86_64 && AMD_IOMMU42	help43	 Provide support for the AMD Platform Security Processor (PSP).44	 The PSP is a dedicated processor that provides support for key45	 management commands in Secure Encrypted Virtualization (SEV) mode,46	 along with software-based Trusted Execution Environment (TEE) to47	 enable third-party trusted applications.48 49config CRYPTO_DEV_CCP_DEBUGFS50	bool "Enable CCP Internals in DebugFS"51	default n52	depends on CRYPTO_DEV_SP_CCP53	help54	  Expose CCP device information such as operation statistics, feature55	  information, and descriptor queue contents.56