summaryrefslogtreecommitdiff
path: root/kernel/module_signing.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-09-20 12:05:35 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-10-01 14:41:23 +0800
commit38aa192a05f22f9778f9420e630f0322525ef12e (patch)
treec2611d612c6c6996dd7281287d3fc547e192acc8 /kernel/module_signing.c
parentf7324d4ba9e846e96ac85fbe74afe3fbdacf3b75 (diff)
crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
The ecc.c file started out as part of the ECDH algorithm but got moved out into a standalone module later. It does not build without CRYPTO_DEFAULT_RNG, so now that other modules are using it as well we can run into this link error: aarch64-linux-ld: ecc.c:(.text+0xfc8): undefined reference to `crypto_default_rng' aarch64-linux-ld: ecc.c:(.text+0xff4): undefined reference to `crypto_put_default_rng' Move the 'select CRYPTO_DEFAULT_RNG' statement into the correct symbol. Fixes: 0d7a78643f69 ("crypto: ecrdsa - add EC-RDSA (GOST 34.10) algorithm") Fixes: 4e6602916bc6 ("crypto: ecdsa - Add support for ECDSA signature verification") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/module_signing.c')
0 files changed, 0 insertions, 0 deletions