summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp
diff options
context:
space:
mode:
authorArnd Bergmann2017-07-31 23:10:57 +0200
committerHerbert Xu2017-08-09 14:17:59 +0200
commitac360faf955125d362128835e479da0e2646b341 (patch)
tree818aa0bb3017487e71656f68fcf9d5c0cf504a7b /drivers/crypto/ccp
parentcrypto: ccp - avoid uninitialized variable warning (diff)
downloadkernel-qcow2-linux-ac360faf955125d362128835e479da0e2646b341.tar.gz
kernel-qcow2-linux-ac360faf955125d362128835e479da0e2646b341.tar.xz
kernel-qcow2-linux-ac360faf955125d362128835e479da0e2646b341.zip
crypto: ccp - select CONFIG_CRYPTO_RSA
Without the base RSA code, we run into a link error: ERROR: "rsa_parse_pub_key" [drivers/crypto/ccp/ccp-crypto.ko] undefined! ERROR: "rsa_parse_priv_key" [drivers/crypto/ccp/ccp-crypto.ko] undefined! Like the other drivers implementing RSA in hardware, this can be avoided by always enabling the base support when we build CCP. Fixes: ceeec0afd684 ("crypto: ccp - Add support for RSA on the CCP") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp')
-rw-r--r--drivers/crypto/ccp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig
index 15b63fd3d180..6d626606b9c5 100644
--- a/drivers/crypto/ccp/Kconfig
+++ b/drivers/crypto/ccp/Kconfig
@@ -27,6 +27,7 @@ config CRYPTO_DEV_CCP_CRYPTO
select CRYPTO_HASH
select CRYPTO_BLKCIPHER
select CRYPTO_AUTHENC
+ select CRYPTO_RSA
help
Support for using the cryptographic API with the AMD Cryptographic
Coprocessor. This module supports offload of SHA and AES algorithms.