• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config CRYPTO_DEV_CCP_DD
2	tristate "Secure Processor device driver"
3	depends on CPU_SUP_AMD || ARM64
4	default m
5	help
6	  Provides AMD Secure Processor device driver.
7	  If you choose 'M' here, this module will be called ccp.
8
9config CRYPTO_DEV_SP_CCP
10	bool "Cryptographic Coprocessor device"
11	default y
12	depends on CRYPTO_DEV_CCP_DD && DMADEVICES
13	select HW_RANDOM
14	select DMA_ENGINE
15	select CRYPTO_SHA1
16	select CRYPTO_SHA256
17	help
18	  Provides the support for AMD Cryptographic Coprocessor (CCP) device
19	  which can be used to offload encryption operations such as SHA, AES
20	  and more.
21
22config CRYPTO_DEV_CCP_CRYPTO
23	tristate "Encryption and hashing offload support"
24	default m
25	depends on CRYPTO_DEV_CCP_DD
26	depends on CRYPTO_DEV_SP_CCP
27	select CRYPTO_HASH
28	select CRYPTO_BLKCIPHER
29	select CRYPTO_AUTHENC
30	select CRYPTO_RSA
31	help
32	  Support for using the cryptographic API with the AMD Cryptographic
33	  Coprocessor. This module supports offload of SHA and AES algorithms.
34	  If you choose 'M' here, this module will be called ccp_crypto.
35
36config CRYPTO_DEV_SP_PSP
37	bool "Platform Security Processor (PSP) device"
38	default y
39	depends on CRYPTO_DEV_CCP_DD && X86_64
40	help
41	 Provide support for the AMD Platform Security Processor (PSP).
42	 The PSP is a dedicated processor that provides support for key
43	 management commands in Secure Encrypted Virtualization (SEV) mode,
44	 along with software-based Trusted Execution Environment (TEE) to
45	 enable third-party trusted applications.
46