58ea8abf49
The CCP has the ability to provide DMA services to the kernel using pass-through mode of the device. Register these services as general purpose DMA channels. Changes since v2: - Add a Signed-off-by Changes since v1: - Allocate memory for a string in ccp_dmaengine_register - Ensure register/unregister calls are properly ordered - Verified all changed files are listed in the diffstat - Undo some superfluous changes - Added a cc: Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
26 lines
814 B
Plaintext
26 lines
814 B
Plaintext
config CRYPTO_DEV_CCP_DD
|
|
tristate "Cryptographic Coprocessor device driver"
|
|
depends on CRYPTO_DEV_CCP
|
|
default m
|
|
select HW_RANDOM
|
|
select DMA_ENGINE
|
|
select CRYPTO_SHA1
|
|
select CRYPTO_SHA256
|
|
help
|
|
Provides the interface to use the AMD Cryptographic Coprocessor
|
|
which can be used to offload encryption operations such as SHA,
|
|
AES and more. If you choose 'M' here, this module will be called
|
|
ccp.
|
|
|
|
config CRYPTO_DEV_CCP_CRYPTO
|
|
tristate "Encryption and hashing offload support"
|
|
depends on CRYPTO_DEV_CCP_DD
|
|
default m
|
|
select CRYPTO_HASH
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AUTHENC
|
|
help
|
|
Support for using the cryptographic API with the AMD Cryptographic
|
|
Coprocessor. This module supports offload of SHA and AES algorithms.
|
|
If you choose 'M' here, this module will be called ccp_crypto.
|