Add the library ctx into an ECX_KEY
authorMatt Caswell <matt@openssl.org>
Fri, 24 Apr 2020 14:43:20 +0000 (15:43 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 4 May 2020 08:30:55 +0000 (09:30 +0100)
commitf3336f40508dfd4821f0048b149ffb45f8f08875
tree52a1f40fa1a1b51d577045e69445a26f8311d88e
parent969024b4580172b1cd836550e227d64515c628bc
Add the library ctx into an ECX_KEY

At various points we need to be able to retrieve the current library
context so we store it in the ECX_KEY structure.

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