diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-09-20 12:05:35 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-01 14:41:23 +0800 |
commit | 6c192b3167d59456519a76f7af42a4a0f475d3fc (patch) | |
tree | 899a5b48c4e1f2f9176feeac0ea187acc3a95846 /crypto/md4.c | |
parent | f91796cf71a5a88960250239c7d8e2f492cc0385 (diff) | |
download | linux-crypto-6c192b3167d59456519a76f7af42a4a0f475d3fc.tar.gz linux-crypto-6c192b3167d59456519a76f7af42a4a0f475d3fc.zip |
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: 223475c353b6 ("crypto: ecrdsa - add EC-RDSA (GOST 34.10) algorithm")
Fixes: ef4af956b9d0 ("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 '')
0 files changed, 0 insertions, 0 deletions