xref: /linux-6.15/drivers/crypto/ccp/Kconfig (revision 016db9c5)
1config CRYPTO_DEV_CCP_DD
2	tristate "Secure Processor device driver"
3	depends on CPU_SUP_AMD || ARM64
4	default m
5	help
6	  Provides AMD Secure Processor device driver.
7	  If you choose 'M' here, this module will be called ccp.
8
9config CRYPTO_DEV_SP_CCP
10	bool "Cryptographic Coprocessor device"
11	default y
12	depends on CRYPTO_DEV_CCP_DD
13	select HW_RANDOM
14	select DMA_ENGINE
15	select DMADEVICES
16	select CRYPTO_SHA1
17	select CRYPTO_SHA256
18	help
19	  Provides the support for AMD Cryptographic Coprocessor (CCP) device
20	  which can be used to offload encryption operations such as SHA, AES
21	  and more.
22
23config CRYPTO_DEV_CCP_CRYPTO
24	tristate "Encryption and hashing offload support"
25	default m
26	depends on CRYPTO_DEV_CCP_DD
27	depends on CRYPTO_DEV_SP_CCP
28	select CRYPTO_HASH
29	select CRYPTO_BLKCIPHER
30	select CRYPTO_AUTHENC
31	select CRYPTO_RSA
32	help
33	  Support for using the cryptographic API with the AMD Cryptographic
34	  Coprocessor. This module supports offload of SHA and AES algorithms.
35	  If you choose 'M' here, this module will be called ccp_crypto.
36