linux/crypto/ecdh.c
Hui Tang cab7a8c8ac crypto: ecdh - fix 'ecdh_init'
[ Upstream commit 8fd28fa504 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 17:06:23 +02:00

209 lines
4.9 KiB