Searched refs:pkey2 (Results 1 – 5 of 5) sorted by relevance
/openssl/fuzz/ |
H A D | decoder.c | 55 EVP_PKEY *pkey2; in FuzzerTestOneInput() local 61 pkey2 = EVP_PKEY_dup(pkey); in FuzzerTestOneInput() 62 OPENSSL_assert(pkey2 != NULL); in FuzzerTestOneInput() 63 EVP_PKEY_eq(pkey, pkey2); in FuzzerTestOneInput() 64 EVP_PKEY_free(pkey2); in FuzzerTestOneInput()
|
/openssl/test/ |
H A D | endecode_test.c | 164 EVP_PKEY *pkey2 = NULL; in test_encode_decode() local 180 if (TEST_false(decode_cb(file, line, (void **)&pkey2, encoded, in test_encode_decode() 189 || !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len, in test_encode_decode() 199 || !TEST_true(encode_cb(file, line, &encoded2, &encoded2_len, pkey2, selection, in test_encode_decode() 204 if (!TEST_int_eq(EVP_PKEY_parameters_eq(pkey, pkey2), 1) in test_encode_decode() 209 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1) in test_encode_decode() 235 EVP_PKEY_free(pkey2); in test_encode_decode()
|
H A D | evp_extra_test.c | 2158 EVP_PKEY *pkey2 = NULL; in test_EVP_PKCS82PKEY_wrong_tag() local 2183 EVP_PKEY_free(pkey2); in test_EVP_PKCS82PKEY_wrong_tag() 3509 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in test_EVP_PKEY_set1_DH() local 3532 pkey2 = EVP_PKEY_new(); in test_EVP_PKEY_set1_DH() 3536 || !TEST_ptr(pkey2) in test_EVP_PKEY_set1_DH() 3550 if (!TEST_true(EVP_PKEY_set1_DH(pkey2, noqdh)) in test_EVP_PKEY_set1_DH() 3566 EVP_PKEY_free(pkey2); in test_EVP_PKEY_set1_DH() 4037 EVP_PKEY *pkey2 = NULL; in test_ecpub() local 4066 if (!TEST_ptr((pkey2 = EVP_PKEY_new())) in test_ecpub() 4075 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1)) in test_ecpub() [all …]
|
H A D | evp_extra_test2.c | 1179 EVP_PKEY *pkey = NULL, *pkey2 = NULL; in test_dsa_fromdata_digest_prop() local 1199 || !TEST_int_eq(EVP_PKEY_paramgen(gctx, &pkey2), expected)) in test_dsa_fromdata_digest_prop() 1204 EVP_PKEY_free(pkey2); in test_dsa_fromdata_digest_prop()
|
H A D | ectest.c | 2821 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in custom_params_test() local 2980 if (!TEST_ptr(pkey2 = EVP_PKEY_new()) in custom_params_test() 2981 || !TEST_int_eq(EVP_PKEY_assign_EC_KEY(pkey2, eckey2), 1)) in custom_params_test() 2988 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test() 2993 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL)) in custom_params_test() 3037 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey2, EVP_PKEY_PUBLIC_KEY, in custom_params_test() 3045 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test() 3074 EVP_PKEY_free(pkey2); in custom_params_test()
|
Completed in 62 milliseconds