2019-05-19 13:07:45 +01:00
# SPDX-License-Identifier: GPL-2.0-only
2013-11-12 11:46:51 -06:00
config CRYPTO_DEV_CCP_DD
2017-07-06 09:59:14 -05:00
tristate "Secure Processor device driver"
2017-12-04 10:57:26 -06:00
depends on CPU_SUP_AMD || ARM64
2013-11-12 11:46:51 -06:00
default m
2017-07-06 09:59:14 -05:00
help
Provides AMD Secure Processor device driver.
If you choose 'M' here, this module will be called ccp.
config CRYPTO_DEV_SP_CCP
bool "Cryptographic Coprocessor device"
default y
depends on CRYPTO_DEV_CCP_DD
2013-12-10 10:38:39 -06:00
select HW_RANDOM
2016-04-18 09:21:44 -05:00
select DMA_ENGINE
2016-04-20 09:55:12 -05:00
select DMADEVICES
2015-12-17 13:45:41 +01:00
select CRYPTO_SHA1
select CRYPTO_SHA256
2013-11-12 11:46:51 -06:00
help
2017-07-06 09:59:14 -05:00
Provides the support for AMD Cryptographic Coprocessor (CCP) device
which can be used to offload encryption operations such as SHA, AES
and more.
2013-11-12 11:46:51 -06:00
config CRYPTO_DEV_CCP_CRYPTO
2015-10-01 16:32:44 -05:00
tristate "Encryption and hashing offload support"
2013-11-12 11:46:51 -06:00
default m
2017-07-06 09:59:14 -05:00
depends on CRYPTO_DEV_CCP_DD
depends on CRYPTO_DEV_SP_CCP
2013-11-12 11:46:51 -06:00
select CRYPTO_HASH
select CRYPTO_BLKCIPHER
select CRYPTO_AUTHENC
2017-07-31 23:10:57 +02:00
select CRYPTO_RSA
2019-07-02 21:41:43 +02:00
select CRYPTO_LIB_AES
2013-11-12 11:46:51 -06:00
help
Support for using the cryptographic API with the AMD Cryptographic
2015-10-01 16:32:44 -05:00
Coprocessor. This module supports offload of SHA and AES algorithms.
If you choose 'M' here, this module will be called ccp_crypto.
2017-12-04 10:57:28 -06:00
config CRYPTO_DEV_SP_PSP
bool "Platform Security Processor (PSP) device"
default y
depends on CRYPTO_DEV_CCP_DD && X86_64
help
Provide support for the AMD Platform Security Processor (PSP).
The PSP is a dedicated processor that provides support for key
management commands in Secure Encrypted Virtualization (SEV) mode,
along with software-based Trusted Execution Environment (TEE) to
enable third-party trusted applications.