Commit 1036633e authored by Vitaly Chikunov's avatar Vitaly Chikunov Committed by Herbert Xu

crypto: ecrdsa - select ASN1 and OID_REGISTRY for EC-RDSA

Fix undefined symbol issue in ecrdsa_generic module when ASN1
or OID_REGISTRY aren't enabled in the config by selecting these
options for CRYPTO_ECRDSA.

ERROR: "asn1_ber_decoder" [crypto/ecrdsa_generic.ko] undefined!
ERROR: "look_up_OID" [crypto/ecrdsa_generic.ko] undefined!
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarVitaly Chikunov <vt@altlinux.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 42e37c2e
...@@ -264,6 +264,8 @@ config CRYPTO_ECRDSA ...@@ -264,6 +264,8 @@ config CRYPTO_ECRDSA
select CRYPTO_ECC select CRYPTO_ECC
select CRYPTO_AKCIPHER select CRYPTO_AKCIPHER
select CRYPTO_STREEBOG select CRYPTO_STREEBOG
select OID_REGISTRY
select ASN1
help help
Elliptic Curve Russian Digital Signature Algorithm (GOST R 34.10-2012, Elliptic Curve Russian Digital Signature Algorithm (GOST R 34.10-2012,
RFC 7091, ISO/IEC 14888-3:2018) is one of the Russian cryptographic RFC 7091, ISO/IEC 14888-3:2018) is one of the Russian cryptographic
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment