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:08:50 +0000 (00:08 +0100)
commitaa4c32ebefacdad250b192b5ebd7560f4015f641
tree4b0222e5b6bcae2c81ef44e3b3fe69833e81032f
parentf042e93d82a71c6d996eb765263cda5199a67084
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)

(cherry picked from commit d19b01ad79f9e2aac5c87496b5ca5f80016daeb7)
crypto/evp/p_lib.c
crypto/evp/pmeth_lib.c
crypto/include/internal/evp_int.h
include/openssl/evp.h