hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/crypto/ccp/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config CRYPTO_DEV_CCP_DD
23 tristate "Secure Processor device driver"
34 depends on CPU_SUP_AMD || ARM64
....@@ -25,9 +26,10 @@
2526 depends on CRYPTO_DEV_CCP_DD
2627 depends on CRYPTO_DEV_SP_CCP
2728 select CRYPTO_HASH
28
- select CRYPTO_BLKCIPHER
29
+ select CRYPTO_SKCIPHER
2930 select CRYPTO_AUTHENC
3031 select CRYPTO_RSA
32
+ select CRYPTO_LIB_AES
3133 help
3234 Support for using the cryptographic API with the AMD Cryptographic
3335 Coprocessor. This module supports offload of SHA and AES algorithms.
....@@ -43,3 +45,11 @@
4345 management commands in Secure Encrypted Virtualization (SEV) mode,
4446 along with software-based Trusted Execution Environment (TEE) to
4547 enable third-party trusted applications.
48
+
49
+config CRYPTO_DEV_CCP_DEBUGFS
50
+ bool "Enable CCP Internals in DebugFS"
51
+ default n
52
+ depends on CRYPTO_DEV_SP_CCP
53
+ help
54
+ Expose CCP device information such as operation statistics, feature
55
+ information, and descriptor queue contents.