Add the ability to ECX to import keys with only the private key
authorMatt Caswell <matt@openssl.org>
Fri, 24 Apr 2020 14:32:34 +0000 (15:32 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 4 May 2020 08:30:55 +0000 (09:30 +0100)
commit969024b4580172b1cd836550e227d64515c628bc
treeb9a123f73674628424168b0362ba16a3a1e0275f
parenta6f8a834ba6f877baa427e3d25694d49beb29306
Add the ability to ECX to import keys with only the private key

ECX keys can very easily crete the public key from the private key.
Therefore when we import ecx keys it is sufficent to just have the private
key.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11635)
crypto/ec/ecx_backend.c
crypto/ec/ecx_meth.c
include/crypto/ecx.h
providers/implementations/keymgmt/ecx_kmgmt.c