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