]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ecrdsa - select ASN1 and OID_REGISTRY for EC-RDSA
authorVitaly Chikunov <vt@altlinux.org>
Wed, 24 Apr 2019 01:32:40 +0000 (04:32 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:40:39 +0000 (15:40 +0800)
commitb50f1c73a7f0d8b8596c11d2c3c26adffcaa80ce
treee321b5146a5ec2aed501cab0241b06f264951748
parent1f0507b4f53aac06a96417e3a58b956fde5ce617
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: Randy Dunlap <rdunlap@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig