diff options
author | Eric Biggers <ebiggers@google.com> | 2024-04-22 14:08:45 -0700 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-05-13 23:30:15 +0300 |
commit | d4680442852ac77a713836b1c082988c4f686290 (patch) | |
tree | 73f9275f50a4c1297e874b47f8c9ed80073e51fd /crypto/ecrdsa_defs.h | |
parent | 5d02f9af7a1ffc7d3f11da77e2cd9cb878d403c9 (diff) | |
download | linux-crypto-d4680442852ac77a713836b1c082988c4f686290.tar.gz linux-crypto-d4680442852ac77a713836b1c082988c4f686290.zip |
KEYS: asymmetric: Add missing dependency on CRYPTO_SIG
Make ASYMMETRIC_PUBLIC_KEY_SUBTYPE select CRYPTO_SIG to avoid build
errors like the following, which were possible with
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y && CONFIG_CRYPTO_SIG=n:
ld: vmlinux.o: in function `public_key_verify_signature':
(.text+0x306280): undefined reference to `crypto_alloc_sig'
ld: (.text+0x306300): undefined reference to `crypto_sig_set_pubkey'
ld: (.text+0x306324): undefined reference to `crypto_sig_verify'
ld: (.text+0x30636c): undefined reference to `crypto_sig_set_privkey'
Fixes: 63a91af75117 ("KEYS: asymmetric: Use new crypto interface without scatterlists")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions