treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / crypto / ccp / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
f1147660 2config CRYPTO_DEV_CCP_DD
720419f0 3 tristate "Secure Processor device driver"
016db9c5 4 depends on CPU_SUP_AMD || ARM64
f1147660 5 default m
720419f0
BS
6 help
7 Provides AMD Secure Processor device driver.
8 If you choose 'M' here, this module will be called ccp.
9
10config CRYPTO_DEV_SP_CCP
11 bool "Cryptographic Coprocessor device"
12 default y
13 depends on CRYPTO_DEV_CCP_DD
d5aa8095 14 select HW_RANDOM
58ea8abf 15 select DMA_ENGINE
b3c2fee5 16 select DMADEVICES
bdd75064
LC
17 select CRYPTO_SHA1
18 select CRYPTO_SHA256
f1147660 19 help
720419f0
BS
20 Provides the support for AMD Cryptographic Coprocessor (CCP) device
21 which can be used to offload encryption operations such as SHA, AES
22 and more.
f1147660
TL
23
24config CRYPTO_DEV_CCP_CRYPTO
21dc9e8f 25 tristate "Encryption and hashing offload support"
f1147660 26 default m
720419f0
BS
27 depends on CRYPTO_DEV_CCP_DD
28 depends on CRYPTO_DEV_SP_CCP
f1147660
TL
29 select CRYPTO_HASH
30 select CRYPTO_BLKCIPHER
31 select CRYPTO_AUTHENC
ac360faf 32 select CRYPTO_RSA
f1147660
TL
33 help
34 Support for using the cryptographic API with the AMD Cryptographic
21dc9e8f
TL
35 Coprocessor. This module supports offload of SHA and AES algorithms.
36 If you choose 'M' here, this module will be called ccp_crypto.
2a6170df
BS
37
38config CRYPTO_DEV_SP_PSP
39 bool "Platform Security Processor (PSP) device"
40 default y
41 depends on CRYPTO_DEV_CCP_DD && X86_64
42 help
43 Provide support for the AMD Platform Security Processor (PSP).
44 The PSP is a dedicated processor that provides support for key
45 management commands in Secure Encrypted Virtualization (SEV) mode,
46 along with software-based Trusted Execution Environment (TEE) to
47 enable third-party trusted applications.