mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
4b9e90f42a
Instead of fetching the EVP_KEYMGMT in the init for every different operation, do it when creating the EVP_PKEY_CTX. This allows certain control functions to be called between the creation of the EVP_PKEY_CTX and the call of the operation's init function. Use case: EVP_PKEY_CTX_set1_id(), which is allowed to be called very early with the legacy implementation, this should still be allowed with provider implementations. Reviewed-by: Paul Yang <kaishen.yy@antfin.com> (Merged from https://github.com/openssl/openssl/pull/11343) |
||
---|---|---|
.. | ||
crypto | ||
internal | ||
openssl |