2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2013-11-13 01:46:51 +08:00
|
|
|
config CRYPTO_DEV_CCP_DD
|
2017-07-06 22:59:14 +08:00
|
|
|
tristate "Secure Processor device driver"
|
2017-12-05 00:57:26 +08:00
|
|
|
depends on CPU_SUP_AMD || ARM64
|
2013-11-13 01:46:51 +08:00
|
|
|
default m
|
2017-07-06 22:59:14 +08: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-11 00:38:39 +08:00
|
|
|
select HW_RANDOM
|
2016-04-18 22:21:44 +08:00
|
|
|
select DMA_ENGINE
|
2016-04-20 22:55:12 +08:00
|
|
|
select DMADEVICES
|
2015-12-17 20:45:41 +08:00
|
|
|
select CRYPTO_SHA1
|
|
|
|
select CRYPTO_SHA256
|
2013-11-13 01:46:51 +08:00
|
|
|
help
|
2017-07-06 22:59:14 +08: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-13 01:46:51 +08:00
|
|
|
|
|
|
|
config CRYPTO_DEV_CCP_CRYPTO
|
2015-10-02 05:32:44 +08:00
|
|
|
tristate "Encryption and hashing offload support"
|
2013-11-13 01:46:51 +08:00
|
|
|
default m
|
2017-07-06 22:59:14 +08:00
|
|
|
depends on CRYPTO_DEV_CCP_DD
|
|
|
|
depends on CRYPTO_DEV_SP_CCP
|
2013-11-13 01:46:51 +08:00
|
|
|
select CRYPTO_HASH
|
2019-10-26 03:41:13 +08:00
|
|
|
select CRYPTO_SKCIPHER
|
2013-11-13 01:46:51 +08:00
|
|
|
select CRYPTO_AUTHENC
|
2017-08-01 05:10:57 +08:00
|
|
|
select CRYPTO_RSA
|
2019-07-03 03:41:43 +08:00
|
|
|
select CRYPTO_LIB_AES
|
2013-11-13 01:46:51 +08:00
|
|
|
help
|
|
|
|
Support for using the cryptographic API with the AMD Cryptographic
|
2015-10-02 05:32:44 +08: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-05 00:57:28 +08: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.
|
2019-07-09 23:07:15 +08:00
|
|
|
|
|
|
|
config CRYPTO_DEV_CCP_DEBUGFS
|
|
|
|
bool "Enable CCP Internals in DebugFS"
|
|
|
|
default n
|
|
|
|
depends on CRYPTO_DEV_SP_CCP
|
|
|
|
help
|
|
|
|
Expose CCP device information such as operation statistics, feature
|
|
|
|
information, and descriptor queue contents.
|