Lines Matching refs:eckey
190 EC_KEY *eckey_neg = NULL, *eckey = NULL; in test_builtin() local
228 || !TEST_ptr(eckey = EC_KEY_new_by_curve_name(nid)) in test_builtin()
229 || !TEST_true(EC_KEY_generate_key(eckey)) in test_builtin()
231 || !TEST_true(EVP_PKEY_assign_EC_KEY(pkey, eckey)) in test_builtin()
244 temp = ECDSA_size(eckey); in test_builtin()
252 || !TEST_int_le(sig_len, ECDSA_size(eckey)) in test_builtin()
356 EC_KEY *eckey = NULL; in test_ecdsa_sig_NULL() local
360 ret = TEST_ptr(eckey = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)) in test_ecdsa_sig_NULL()
361 && TEST_int_eq(EC_KEY_generate_key(eckey), 1) in test_ecdsa_sig_NULL()
363 eckey), 1) in test_ecdsa_sig_NULL()
367 eckey), 1) in test_ecdsa_sig_NULL()
371 eckey), 1) in test_ecdsa_sig_NULL()
372 && TEST_int_eq(ECDSA_sign_setup(eckey, NULL, &kinv, &rp), 1) in test_ecdsa_sig_NULL()
374 kinv, rp, eckey), 1) in test_ecdsa_sig_NULL()
378 kinv, rp, eckey), 1) in test_ecdsa_sig_NULL()
381 eckey), 1); in test_ecdsa_sig_NULL()
382 EC_KEY_free(eckey); in test_ecdsa_sig_NULL()