blob: b9dfae47aefd808ec12c203350cc47491d163527 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001config 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
13 select HW_RANDOM
14 select DMA_ENGINE
15 select DMADEVICES
16 select CRYPTO_SHA1
17 select CRYPTO_SHA256
18 help
19 Provides the support for AMD Cryptographic Coprocessor (CCP) device
20 which can be used to offload encryption operations such as SHA, AES
21 and more.
22
23config CRYPTO_DEV_CCP_CRYPTO
24 tristate "Encryption and hashing offload support"
25 default m
26 depends on CRYPTO_DEV_CCP_DD
27 depends on CRYPTO_DEV_SP_CCP
28 select CRYPTO_HASH
29 select CRYPTO_BLKCIPHER
30 select CRYPTO_AUTHENC
31 select CRYPTO_RSA
32 help
33 Support for using the cryptographic API with the AMD Cryptographic
34 Coprocessor. This module supports offload of SHA and AES algorithms.
35 If you choose 'M' here, this module will be called ccp_crypto.
36
37config CRYPTO_DEV_SP_PSP
38 bool "Platform Security Processor (PSP) device"
39 default y
40 depends on CRYPTO_DEV_CCP_DD && X86_64
41 help
42 Provide support for the AMD Platform Security Processor (PSP).
43 The PSP is a dedicated processor that provides support for key
44 management commands in Secure Encrypted Virtualization (SEV) mode,
45 along with software-based Trusted Execution Environment (TEE) to
46 enable third-party trusted applications.