EVP_PKEY_eq() can also be used to determine if a private key matches
a public key.
+EVP_PKEY_cmp() and EVP_PKEY_cmp_parameters() differ in their return values
+compared to other _cmp() functions. They are aliases for EVP_PKEY_eq() and
+EVP_PKEY_parameters_eq() functions provided for backwards compatibility
+with existing applications.
+
=head1 RETURN VALUES
The function EVP_PKEY_missing_parameters() returns 1 if the public key
These functions EVP_PKEY_copy_parameters() returns 1 for success and 0 for
failure.
-The function EVP_PKEY_parameters_eq() and EVP_PKEY_eq() return 1 if their
+The functions EVP_PKEY_cmp_parameters(), EVP_PKEY_parameters_eq(),
+EVP_PKEY_cmp() and EVP_PKEY_eq() return 1 if their
inputs match, 0 if they don't match, -1 if the key types are different and
-2 if the operation is not supported.
=head1 HISTORY
-The function EVP_PKEY_cmp was deprecated and renamed to B<EVP_PKEY_eq> and
-EVP_PKEY_cmp_parameters was deprecated and renamed to B<EVP_PKEY_parameters_eq>
-(without changing semantics) in OpenSSL 3.0.
-This was done to avoid confusion on their return values with other _cmp()
-functions that return 0 in case their arguments are equal.
+EVP_PKEY_eq() and EVP_PKEY_parameters_eq() were added in OpenSSL 3.0 to
+avoid confusion on the return values of EVP_PKEY_cmp() and
+EVP_PKEY_cmp_parameters() which unlike other _cmp()
+functions do not return 0 in case their arguments are equal.
=head1 COPYRIGHT