crytpo: ccp - CCP device driver build files
These files provide the ability to configure and build the AMD CCP device driver and crypto API support. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
23
drivers/crypto/ccp/Kconfig
Normal file
23
drivers/crypto/ccp/Kconfig
Normal file
@@ -0,0 +1,23 @@
|
||||
config CRYPTO_DEV_CCP_DD
|
||||
tristate "Cryptographic Coprocessor device driver"
|
||||
depends on CRYPTO_DEV_CCP
|
||||
default m
|
||||
help
|
||||
Provides the interface to use the AMD Cryptographic Coprocessor
|
||||
which can be used to accelerate or 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 acceleration support"
|
||||
depends on CRYPTO_DEV_CCP_DD
|
||||
default m
|
||||
select CRYPTO_ALGAPI
|
||||
select CRYPTO_HASH
|
||||
select CRYPTO_BLKCIPHER
|
||||
select CRYPTO_AUTHENC
|
||||
help
|
||||
Support for using the cryptographic API with the AMD Cryptographic
|
||||
Coprocessor. This module supports acceleration and offload of SHA
|
||||
and AES algorithms. If you choose 'M' here, this module will be
|
||||
called ccp_crypto.
|
10
drivers/crypto/ccp/Makefile
Normal file
10
drivers/crypto/ccp/Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
obj-$(CONFIG_CRYPTO_DEV_CCP_DD) += ccp.o
|
||||
ccp-objs := ccp-dev.o ccp-ops.o
|
||||
ccp-objs += ccp-pci.o
|
||||
|
||||
obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
|
||||
ccp-crypto-objs := ccp-crypto-main.o \
|
||||
ccp-crypto-aes.o \
|
||||
ccp-crypto-aes-cmac.o \
|
||||
ccp-crypto-aes-xts.o \
|
||||
ccp-crypto-sha.o
|
Reference in New Issue
Block a user