rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | config 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 | |
| 8 | config 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 | |
| 21 | config 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. |