OSDN Git Service

crypto: ecdh - extend 'cra_driver_name' with curve name
authorHui Tang <tanghui20@huawei.com>
Mon, 10 May 2021 08:59:47 +0000 (16:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 May 2021 08:17:29 +0000 (16:17 +0800)
commitc5ae16f5c6b91dc78a08885a753489d608de4abd
treee938e6344cda091430d740369ef9b1d6f9929527
parent2d016672528a592ada5188e53ac746e1b8b7a978
crypto: ecdh - extend 'cra_driver_name' with curve name

Currently, 'cra_driver_name' cannot be used to specify ecdh algorithm
with a special curve, so extending it with curve name.

Although using 'cra_name' can also specify a special curve, but ecdh
generic driver cannot be specified when vendor hardware accelerator
has registered.

Fixes: 6763f5ea2d9a ("crypto: ecdh - move curve_id of ECDH from ...")
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdh.c