Lines Matching refs:TEST_ptr
36 if (!TEST_ptr(old_rand = RAND_get_rand_method())) in change_rand()
66 if (!TEST_ptr(tmp = BN_new()) in fbytes()
121 if (!TEST_ptr(mctx = EVP_MD_CTX_new()) in x9_62_tests()
123 || !TEST_ptr(message = OPENSSL_hexstr2buf(tbs, &msg_len)) in x9_62_tests()
128 || !TEST_ptr(key = EC_KEY_new_by_curve_name(nid)) in x9_62_tests()
130 || !TEST_ptr(r = BN_new()) in x9_62_tests()
131 || !TEST_ptr(s = BN_new()) in x9_62_tests()
143 || !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len)) in x9_62_tests()
151 || !TEST_ptr(signature = ECDSA_do_sign_ex(digest, dgst_len, in x9_62_tests()
219 if (!TEST_ptr(mctx = EVP_MD_CTX_new()) in test_builtin()
223 || !TEST_ptr(eckey = EC_KEY_new_by_curve_name(nid)) in test_builtin()
225 || !TEST_ptr(pkey = EVP_PKEY_new()) in test_builtin()
228 || !TEST_ptr(eckey_neg = EC_KEY_new_by_curve_name(nid)) in test_builtin()
230 || !TEST_ptr(pkey_neg = EVP_PKEY_new()) in test_builtin()
236 if (!TEST_ptr(sig = OPENSSL_malloc(sig_len)) in test_builtin()
325 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests()