Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) config CRYPTO_DEV_CCP_DD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 	tristate "Secure Processor device driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 	depends on CPU_SUP_AMD || ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 	default m
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	  Provides AMD Secure Processor device driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	  If you choose 'M' here, this module will be called ccp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) config CRYPTO_DEV_SP_CCP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	bool "Cryptographic Coprocessor device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	depends on CRYPTO_DEV_CCP_DD && DMADEVICES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	select HW_RANDOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	select CRYPTO_SHA1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	select CRYPTO_SHA256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	  Provides the support for AMD Cryptographic Coprocessor (CCP) device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	  which can be used to offload encryption operations such as SHA, AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	  and more.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) config CRYPTO_DEV_CCP_CRYPTO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	tristate "Encryption and hashing offload support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	default m
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	depends on CRYPTO_DEV_CCP_DD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	depends on CRYPTO_DEV_SP_CCP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	select CRYPTO_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	select CRYPTO_SKCIPHER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	select CRYPTO_AUTHENC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	select CRYPTO_RSA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	select CRYPTO_LIB_AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	  Support for using the cryptographic API with the AMD Cryptographic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	  Coprocessor. This module supports offload of SHA and AES algorithms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	  If you choose 'M' here, this module will be called ccp_crypto.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) config CRYPTO_DEV_SP_PSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	bool "Platform Security Processor (PSP) device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	depends on CRYPTO_DEV_CCP_DD && X86_64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	 Provide support for the AMD Platform Security Processor (PSP).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	 The PSP is a dedicated processor that provides support for key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	 management commands in Secure Encrypted Virtualization (SEV) mode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	 along with software-based Trusted Execution Environment (TEE) to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	 enable third-party trusted applications.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) config CRYPTO_DEV_CCP_DEBUGFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	bool "Enable CCP Internals in DebugFS"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 	depends on CRYPTO_DEV_SP_CCP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	  Expose CCP device information such as operation statistics, feature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	  information, and descriptor queue contents.