EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH,
EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash,
EVP_PKEY_get0, EVP_PKEY_type, EVP_PKEY_get_id, EVP_PKEY_get_base_id,
-EVP_PKEY_set1_engine, EVP_PKEY_get0_engine,
EVP_PKEY_id, EVP_PKEY_base_id -
EVP_PKEY assignment functions
int EVP_PKEY_assign_POLY1305(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);
int EVP_PKEY_assign_SIPHASH(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);
- ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);
- int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *engine);
-
=head1 DESCRIPTION
EVP_PKEY_get_base_id() returns the type of I<pkey>. For example
EVP_PKEY_get1_DSA(), EVP_PKEY_get1_DH() and EVP_PKEY_get1_EC_KEY() will always
return the cached copy returned by the first call.
-EVP_PKEY_get0_engine() returns a reference to the ENGINE handling I<pkey>. This
-function is deprecated. Applications should use providers instead of engines
-(see L<provider(7)> for details).
-
-EVP_PKEY_set1_engine() sets the ENGINE handling I<pkey> to I<engine>. It
-must be called after the key algorithm and components are set up.
-If I<engine> does not include an B<EVP_PKEY_METHOD> for I<pkey> an
-error occurs. This function is deprecated. Applications should use providers
-instead of engines (see L<provider(7)> for details).
-
=head1 WARNINGS
The following functions are only reliable with B<EVP_PKEY>s that have
to determine the type of a key. Since B<EVP_PKEY> is now opaque this
is no longer possible: the equivalent is EVP_PKEY_get_base_id(pkey).
-EVP_PKEY_set1_engine() is typically used by an ENGINE returning an HSM
-key as part of its routine to load a private key.
-
=head1 RETURN VALUES
EVP_PKEY_set1_RSA(), EVP_PKEY_set1_DSA(), EVP_PKEY_set1_DH() and
EVP_PKEY_get_base_id(), EVP_PKEY_get_id() and EVP_PKEY_type() return a key
type or B<NID_undef> (equivalently B<EVP_PKEY_NONE>) on error.
-EVP_PKEY_set1_engine() returns 1 for success and 0 for failure.
-
=head1 SEE ALSO
L<EVP_PKEY_new(3)>, L<SM2(7)>
EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY,
EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH,
EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH,
-EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash,
-EVP_PKEY_set1_engine and EVP_PKEY_get0_engine were deprecated in OpenSSL 3.0.
+EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305 and EVP_PKEY_get0_siphash
+were deprecated in OpenSSL 3.0.
The return value from EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH,
EVP_PKEY_get0_EC_KEY were made const in OpenSSL 3.0.
ERR_load_DH_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,DH
ERR_load_DSA_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,DSA
ERR_load_EC_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,EC
-ERR_load_ENGINE_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,ENGINE
ERR_load_ERR_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
ERR_load_EVP_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
ERR_load_KDF_strings ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
EVP_PKEY_set_type ? 4_0_0 EXIST::FUNCTION:
EVP_PKEY_set_type_str ? 4_0_0 EXIST::FUNCTION:
EVP_PKEY_set_type_by_keymgmt ? 4_0_0 EXIST::FUNCTION:
-EVP_PKEY_set1_engine ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,ENGINE
-EVP_PKEY_get0_engine ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,ENGINE
EVP_PKEY_assign ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
EVP_PKEY_get0 ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
EVP_PKEY_get0_hmac ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
OSSL_PROVIDER_get0_name ? 4_0_0 EXIST::FUNCTION:
RAND_set_rand_method ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
RAND_get_rand_method ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
-RAND_set_rand_engine ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,ENGINE
RAND_OpenSSL ? 4_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0
RAND_bytes ? 4_0_0 EXIST::FUNCTION:
RAND_priv_bytes ? 4_0_0 EXIST::FUNCTION:
TS_CONF_load_key ? 4_0_0 EXIST::FUNCTION:TS
TS_CONF_get_tsa_section ? 4_0_0 EXIST::FUNCTION:TS
TS_CONF_set_serial ? 4_0_0 EXIST::FUNCTION:TS
-TS_CONF_set_crypto_device ? 4_0_0 EXIST::FUNCTION:ENGINE,TS
-TS_CONF_set_default_engine ? 4_0_0 EXIST::FUNCTION:ENGINE,TS
TS_CONF_set_signer_cert ? 4_0_0 EXIST::FUNCTION:TS
TS_CONF_set_certs ? 4_0_0 EXIST::FUNCTION:TS
TS_CONF_set_signer_key ? 4_0_0 EXIST::FUNCTION:TS