Add EVP_PKEY_set1_engine() function.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 9 Oct 2017 14:21:11 +0000 (15:21 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 11 Oct 2017 23:03:32 +0000 (00:03 +0100)
commitd19b01ad79f9e2aac5c87496b5ca5f80016daeb7
treec99cc7d66ad3585a0008e8e477c757b5388a5f31
parent918a27facd3558444c69b1edbedb49478e82dff5
Add EVP_PKEY_set1_engine() function.

Add an ENGINE to EVP_PKEY structure which can be used for cryptographic
operations: this will typically be used by an HSM key to redirect calls
to a custom EVP_PKEY_METHOD.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4503)
crypto/evp/p_lib.c
crypto/evp/pmeth_lib.c
crypto/include/internal/evp_int.h
include/openssl/evp.h