Skip to content

Commit ac360fa

Browse files
arndbherbertx
authored andcommitted
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: ceeec0a ("crypto: ccp - Add support for RSA on the CCP") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent d634bae commit ac360fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/ccp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ config CRYPTO_DEV_CCP_CRYPTO
2727
select CRYPTO_HASH
2828
select CRYPTO_BLKCIPHER
2929
select CRYPTO_AUTHENC
30+
select CRYPTO_RSA
3031
help
3132
Support for using the cryptographic API with the AMD Cryptographic
3233
Coprocessor. This module supports offload of SHA and AES algorithms.

0 commit comments

Comments
 (0)