diff options
Diffstat (limited to 'drivers/crypto/ccp')
-rw-r--r-- | drivers/crypto/ccp/Kconfig | 23 | ||||
-rw-r--r-- | drivers/crypto/ccp/Makefile | 10 |
2 files changed, 33 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig new file mode 100644 index 000000000000..335ed5cac7a0 --- /dev/null +++ b/drivers/crypto/ccp/Kconfig | |||
@@ -0,0 +1,23 @@ | |||
1 | config CRYPTO_DEV_CCP_DD | ||
2 | tristate "Cryptographic Coprocessor device driver" | ||
3 | depends on CRYPTO_DEV_CCP | ||
4 | default m | ||
5 | help | ||
6 | Provides the interface to use the AMD Cryptographic Coprocessor | ||
7 | which can be used to accelerate or offload encryption operations | ||
8 | such as SHA, AES and more. If you choose 'M' here, this module | ||
9 | will be called ccp. | ||
10 | |||
11 | config CRYPTO_DEV_CCP_CRYPTO | ||
12 | tristate "Encryption and hashing acceleration support" | ||
13 | depends on CRYPTO_DEV_CCP_DD | ||
14 | default m | ||
15 | select CRYPTO_ALGAPI | ||
16 | select CRYPTO_HASH | ||
17 | select CRYPTO_BLKCIPHER | ||
18 | select CRYPTO_AUTHENC | ||
19 | help | ||
20 | Support for using the cryptographic API with the AMD Cryptographic | ||
21 | Coprocessor. This module supports acceleration and offload of SHA | ||
22 | and AES algorithms. If you choose 'M' here, this module will be | ||
23 | called ccp_crypto. | ||
diff --git a/drivers/crypto/ccp/Makefile b/drivers/crypto/ccp/Makefile new file mode 100644 index 000000000000..d3505a018720 --- /dev/null +++ b/drivers/crypto/ccp/Makefile | |||
@@ -0,0 +1,10 @@ | |||
1 | obj-$(CONFIG_CRYPTO_DEV_CCP_DD) += ccp.o | ||
2 | ccp-objs := ccp-dev.o ccp-ops.o | ||
3 | ccp-objs += ccp-pci.o | ||
4 | |||
5 | obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o | ||
6 | ccp-crypto-objs := ccp-crypto-main.o \ | ||
7 | ccp-crypto-aes.o \ | ||
8 | ccp-crypto-aes-cmac.o \ | ||
9 | ccp-crypto-aes-xts.o \ | ||
10 | ccp-crypto-sha.o | ||