Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config CRYPTO_DEV_CCP_DD
0003         tristate "Secure Processor device driver"
0004         depends on CPU_SUP_AMD || ARM64
0005         default m
0006         help
0007           Provides AMD Secure Processor device driver.
0008           If you choose 'M' here, this module will be called ccp.
0009 
0010 config CRYPTO_DEV_SP_CCP
0011         bool "Cryptographic Coprocessor device"
0012         default y
0013         depends on CRYPTO_DEV_CCP_DD && DMADEVICES
0014         select HW_RANDOM
0015         select DMA_ENGINE
0016         select CRYPTO_SHA1
0017         select CRYPTO_SHA256
0018         help
0019           Provides the support for AMD Cryptographic Coprocessor (CCP) device
0020           which can be used to offload encryption operations such as SHA, AES
0021           and more.
0022 
0023 config CRYPTO_DEV_CCP_CRYPTO
0024         tristate "Encryption and hashing offload support"
0025         default m
0026         depends on CRYPTO_DEV_CCP_DD
0027         depends on CRYPTO_DEV_SP_CCP
0028         select CRYPTO_HASH
0029         select CRYPTO_SKCIPHER
0030         select CRYPTO_AUTHENC
0031         select CRYPTO_RSA
0032         select CRYPTO_LIB_AES
0033         help
0034           Support for using the cryptographic API with the AMD Cryptographic
0035           Coprocessor. This module supports offload of SHA and AES algorithms.
0036           If you choose 'M' here, this module will be called ccp_crypto.
0037 
0038 config CRYPTO_DEV_SP_PSP
0039         bool "Platform Security Processor (PSP) device"
0040         default y
0041         depends on CRYPTO_DEV_CCP_DD && X86_64
0042         help
0043          Provide support for the AMD Platform Security Processor (PSP).
0044          The PSP is a dedicated processor that provides support for key
0045          management commands in Secure Encrypted Virtualization (SEV) mode,
0046          along with software-based Trusted Execution Environment (TEE) to
0047          enable third-party trusted applications.
0048 
0049 config CRYPTO_DEV_CCP_DEBUGFS
0050         bool "Enable CCP Internals in DebugFS"
0051         default n
0052         depends on CRYPTO_DEV_SP_CCP
0053         help
0054           Expose CCP device information such as operation statistics, feature
0055           information, and descriptor queue contents.