Home
last modified time | relevance | path

Searched refs:EVP_PKEY_eq (Results 1 – 25 of 25) sorted by relevance

/openssl/doc/man3/
H A DEVP_PKEY_copy_parameters.pod6 EVP_PKEY_cmp_parameters, EVP_PKEY_eq,
17 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
40 The function EVP_PKEY_eq() checks the keys B<a> and B<b> for equality,
52 EVP_PKEY_eq() and EVP_PKEY_parameters_eq().
61 Instead, EVP_PKEY_eq() (and therefore also EVP_PKEY_cmp()) now compares:
94 EVP_PKEY_cmp() and EVP_PKEY_eq() return 1 if their
108 The EVP_PKEY_eq() and EVP_PKEY_parameters_eq() were added in OpenSSL 3.0 to
H A DEVP_PKEY_ASN1_METHOD.pod173 It's called by L<EVP_PKEY_eq(3)>.
/openssl/test/
H A Dendecoder_legacy_test.c540 EVP_PKEY_eq, EVP_PKEY_print_private, in test_key()
560 EVP_PKEY_eq, EVP_PKEY_print_public, in test_key()
597 EVP_PKEY_eq, EVP_PKEY_print_public, in test_key()
615 EVP_PKEY_eq, EVP_PKEY_print_private, in test_key()
635 EVP_PKEY_eq, EVP_PKEY_print_public, in test_key()
669 EVP_PKEY_eq, EVP_PKEY_print_public, in test_key()
H A Devp_pkey_provided_test.c425 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_rsa()
524 if (!TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1)) { in do_fromdata_rsa_derive()
1088 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_dh_named_group()
1266 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_dh_fips186_4()
1558 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_ecx()
1755 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_ec()
2086 ret = ret && TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_fromdata_dsa_fips186_4()
H A Dpkcs12_api_test.c86 if (!TEST_ptr(key2) || !TEST_int_eq(EVP_PKEY_eq(key, key2), 1)) in changepass()
H A Devp_extra_test2.c525 || !TEST_int_eq(EVP_PKEY_eq(key, outkey), 1)) in test_ec_d2i_i2d_pubkey()
668 && TEST_true(EVP_PKEY_eq(pkey, pkey_dec)); in test_pkcs8key_nid_bio()
875 && TEST_true(EVP_PKEY_eq(pkey, expected)); in do_fromdata_key_is_equal()
H A Devp_libctx_test.c165 || !TEST_int_eq(EVP_PKEY_eq(pkey, dup_pk), 1)) in test_dsa_param_keygen()
228 || !TEST_int_eq(EVP_PKEY_eq(pkey, dup_pk), 1)) in do_dh_param_keygen()
H A Dkeymgmt_internal_test.c265 ret = TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_pass_rsa()
H A Dprovider_pkey_test.c228 if (!TEST_int_eq(EVP_PKEY_eq(pkey_fake, pkey_dflt), 1)) in test_pkey_eq()
H A Dendecode_test.c209 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1) in test_encode_decode()
211 && !TEST_int_eq(EVP_PKEY_eq(pkey, pkey3), 1))) in test_encode_decode()
341 if (!TEST_FL_int_eq(EVP_PKEY_eq(pkey, testpkey), 1)) in decode_EVP_PKEY_prov()
H A Decdsatest.c241 || !TEST_int_eq(EVP_PKEY_eq(pkey, dup_pk), 1)) in test_builtin()
H A Devp_extra_test.c1250 || !TEST_int_gt(EVP_PKEY_eq(params_and_pub, params_and_pub), 0) in test_EC_priv_pub()
1251 || !TEST_int_gt(EVP_PKEY_eq(params_and_priv, params_and_priv), 0) in test_EC_priv_pub()
1252 || !TEST_int_gt(EVP_PKEY_eq(params_and_keypair, params_and_pub), 0) in test_EC_priv_pub()
1253 || !TEST_int_gt(EVP_PKEY_eq(params_and_keypair, params_and_priv), 0)) in test_EC_priv_pub()
1410 ret = TEST_int_eq(EVP_PKEY_eq(pkey, dup_pk), -2); in test_EC_priv_only_legacy()
2664 || !TEST_int_eq(EVP_PKEY_eq(pkey, pkey), 1) in test_set_get_raw_keys_int()
4075 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1)) in test_ecpub()
H A Dectest.c3111 if (!TEST_true(EVP_PKEY_eq(gen_key, decoded_key))) in ec_d2i_publickey_test()
H A Devp_test.c4010 if ((rv = EVP_PKEY_eq(pair->privk, pair->pubk)) != 1) { in keypair_test_run()
/openssl/fuzz/
H A Ddecoder.c63 EVP_PKEY_eq(pkey, pkey2); in FuzzerTestOneInput()
/openssl/doc/man7/
H A Devp.pod34 EVP_PKEYs can be compared using L<EVP_PKEY_eq(3)>, or printed using
H A Dossl-guide-migration.pod1796 Applications should use L<EVP_PKEY_eq(3)> and L<EVP_PKEY_parameters_eq(3)> instead.
/openssl/crypto/x509/
H A Dx509_cmp.c412 switch (EVP_PKEY_eq(x, pkey)) { in ossl_x509_check_private_key()
H A Dx_pubkey.c1068 return EVP_PKEY_eq(pA, pB); in X509_PUBKEY_eq()
/openssl/test/helpers/
H A Dpkcs12.c639 if (!TEST_true(EVP_PKEY_eq(pkey, ref_pkey))) in check_keybag()
/openssl/ssl/
H A Dssl_rsa.c1029 if (EVP_PKEY_eq(pubkey, privatekey) != 1) { in ssl_set_cert_and_key()
/openssl/crypto/evp/
H A Dp_lib.c333 return EVP_PKEY_eq(a, b); in EVP_PKEY_cmp()
337 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_eq() function
/openssl/include/openssl/
H A Devp.h1430 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
/openssl/util/
H A Dlibcrypto.num5087 EVP_PKEY_eq 5215 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md1957 * Fixed EVP_PKEY_eq() to make it possible to use it with strictly private

Completed in 309 milliseconds