blob: 898dcf3200c329f0e159af6394d66b2e4d13cac4 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001config CRYPTO_DEV_CCP_DD
2 tristate "Secure Processor device driver"
3 default m
4 help
5 Provides AMD Secure Processor device driver.
6 If you choose 'M' here, this module will be called ccp.
7
8config CRYPTO_DEV_SP_CCP
9 bool "Cryptographic Coprocessor device"
10 default y
11 depends on CRYPTO_DEV_CCP_DD && DMADEVICES
12 select HW_RANDOM
13 select DMA_ENGINE
14 select CRYPTO_SHA1
15 select CRYPTO_SHA256
16 help
17 Provides the support for AMD Cryptographic Coprocessor (CCP) device
18 which can be used to offload encryption operations such as SHA, AES
19 and more.
20
21config CRYPTO_DEV_CCP_CRYPTO
22 tristate "Encryption and hashing offload support"
23 default m
24 depends on CRYPTO_DEV_CCP_DD
25 depends on CRYPTO_DEV_SP_CCP
26 select CRYPTO_HASH
27 select CRYPTO_BLKCIPHER
28 select CRYPTO_AUTHENC
29 select CRYPTO_RSA
30 help
31 Support for using the cryptographic API with the AMD Cryptographic
32 Coprocessor. This module supports offload of SHA and AES algorithms.
33 If you choose 'M' here, this module will be called ccp_crypto.