Implement a stricter ECX_KEY type
authorMatt Caswell <matt@openssl.org>
Mon, 27 Jan 2020 16:50:47 +0000 (16:50 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 11 Feb 2020 22:32:47 +0000 (22:32 +0000)
commit4de88fe6daad0b7bd65b20bc887ff1ac62ae2ce8
tree0efbd17f92152f5a091238799a171a6565232e50
parent620c97b671a9c7bc31ca36a24b2242aa1aa80022
Implement a stricter ECX_KEY type

Add ref counting and control how we allocate storage for the private key.
We will need this type in following commits where we move the ecx code
to be provider aware.

Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10964)
crypto/ec/build.info
crypto/ec/curve25519.c
crypto/ec/curve448/curve448.c
crypto/ec/curve448/curve448_local.h
crypto/ec/ec_local.h
crypto/ec/ecx_key.c [new file with mode: 0644]
crypto/ec/ecx_meth.c
include/crypto/ecx.h [new file with mode: 0644]
include/crypto/evp.h
test/curve448_internal_test.c