/openssl/doc/man3/ |
H A D | EVP_PKEY_copy_parameters.pod | 6 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 D | EVP_PKEY_ASN1_METHOD.pod | 173 It's called by L<EVP_PKEY_eq(3)>.
|
/openssl/test/ |
H A D | endecoder_legacy_test.c | 540 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 D | evp_pkey_provided_test.c | 425 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 D | pkcs12_api_test.c | 86 if (!TEST_ptr(key2) || !TEST_int_eq(EVP_PKEY_eq(key, key2), 1)) in changepass()
|
H A D | evp_extra_test2.c | 525 || !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 D | evp_libctx_test.c | 165 || !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 D | keymgmt_internal_test.c | 265 ret = TEST_int_eq(EVP_PKEY_eq(pk, dup_pk), 1); in test_pass_rsa()
|
H A D | provider_pkey_test.c | 228 if (!TEST_int_eq(EVP_PKEY_eq(pkey_fake, pkey_dflt), 1)) in test_pkey_eq()
|
H A D | endecode_test.c | 209 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 D | ecdsatest.c | 241 || !TEST_int_eq(EVP_PKEY_eq(pkey, dup_pk), 1)) in test_builtin()
|
H A D | evp_extra_test.c | 1250 || !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 D | ectest.c | 3111 if (!TEST_true(EVP_PKEY_eq(gen_key, decoded_key))) in ec_d2i_publickey_test()
|
H A D | evp_test.c | 4010 if ((rv = EVP_PKEY_eq(pair->privk, pair->pubk)) != 1) { in keypair_test_run()
|
/openssl/fuzz/ |
H A D | decoder.c | 63 EVP_PKEY_eq(pkey, pkey2); in FuzzerTestOneInput()
|
/openssl/doc/man7/ |
H A D | evp.pod | 34 EVP_PKEYs can be compared using L<EVP_PKEY_eq(3)>, or printed using
|
H A D | ossl-guide-migration.pod | 1796 Applications should use L<EVP_PKEY_eq(3)> and L<EVP_PKEY_parameters_eq(3)> instead.
|
/openssl/crypto/x509/ |
H A D | x509_cmp.c | 412 switch (EVP_PKEY_eq(x, pkey)) { in ossl_x509_check_private_key()
|
H A D | x_pubkey.c | 1068 return EVP_PKEY_eq(pA, pB); in X509_PUBKEY_eq()
|
/openssl/test/helpers/ |
H A D | pkcs12.c | 639 if (!TEST_true(EVP_PKEY_eq(pkey, ref_pkey))) in check_keybag()
|
/openssl/ssl/ |
H A D | ssl_rsa.c | 1029 if (EVP_PKEY_eq(pubkey, privatekey) != 1) { in ssl_set_cert_and_key()
|
/openssl/crypto/evp/ |
H A D | p_lib.c | 333 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 D | evp.h | 1430 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
|
/openssl/util/ |
H A D | libcrypto.num | 5087 EVP_PKEY_eq 5215 3_0_0 EXIST::FUNCTION:
|
/openssl/ |
H A D | CHANGES.md | 1957 * Fixed EVP_PKEY_eq() to make it possible to use it with strictly private
|