OSDN Git Service

crypto: ecdh - fix 'ecdh_init'
authorHui Tang <tanghui20@huawei.com>
Sat, 22 May 2021 02:44:29 +0000 (10:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 May 2021 07:11:47 +0000 (15:11 +0800)
commit8fd28fa5046b377039d5bbc0ab2f625dec703980
tree2c8579a49ead01f345570dc964e9a3c547e95f0e
parent6889fc2104e5d20899b91e61daf07a7524b2010d
crypto: ecdh - fix 'ecdh_init'

NIST P192 is not unregistered if failed to register NIST P256,
actually it need to unregister the algorithms already registered.

Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdh.c