Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Herbert Xu
ac360faf d634baea

+1
+1
drivers/crypto/ccp/Kconfig
··· 27 27 select CRYPTO_HASH 28 28 select CRYPTO_BLKCIPHER 29 29 select CRYPTO_AUTHENC 30 + select CRYPTO_RSA 30 31 help 31 32 Support for using the cryptographic API with the AMD Cryptographic 32 33 Coprocessor. This module supports offload of SHA and AES algorithms.