• Home
  • Raw
  • Download

Lines Matching refs:TEST_ptr

31     if (!TEST_ptr(c = BN_CTX_get(ctx))  in group_field_tests()
78 if (!TEST_ptr(ctx = BN_CTX_new())) in field_tests()
84 if (!TEST_ptr(b = BN_CTX_get(ctx)) in field_tests()
85 || !TEST_ptr(group = EC_GROUP_new(meth)) in field_tests()
172 if (!TEST_ptr(group = EC_GROUP_new_by_curve_name(nid)) in field_tests_default()
173 || !TEST_ptr(ctx = BN_CTX_new()) in field_tests_default()
203 if (!TEST_ptr(grp) in decoded_flag_test()
210 if (!TEST_ptr(grp) in decoded_flag_test()
215 if (!TEST_ptr(ecparams = EC_GROUP_get_ecparameters(grp, NULL)) in decoded_flag_test()
216 || !TEST_ptr(grp_copy = EC_GROUP_new_from_ecparameters(ecparams)) in decoded_flag_test()
226 || !TEST_ptr(ecpkparams = EC_GROUP_get_ecpkparameters(grp, NULL)) in decoded_flag_test()
227 || !TEST_ptr(grp_copy = EC_GROUP_new_from_ecpkparameters(ecpkparams)) in decoded_flag_test()
229 || !TEST_ptr(key = EC_KEY_new()) in decoded_flag_test()
243 || !TEST_ptr(encp = encodedparams) in decoded_flag_test()
244 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
254 if (!TEST_ptr(ecpkparams = EC_GROUP_get_ecpkparameters(grp, NULL)) in decoded_flag_test()
255 || !TEST_ptr(grp_copy = EC_GROUP_new_from_ecpkparameters(ecpkparams)) in decoded_flag_test()
264 || !TEST_ptr(encp = encodedparams) in decoded_flag_test()
265 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
295 if (!TEST_ptr(g1 = EC_GROUP_new_by_curve_name(nid))) in ecpkparams_i2d2i_test()
299 if (!TEST_ptr(fp = fopen("params.der", "wb")) in ecpkparams_i2d2i_test()
311 if (!TEST_ptr(fp = fopen("params.der", "rb")) in ecpkparams_i2d2i_test()
312 || !TEST_ptr(g2 = d2i_ECPKParameters_fp(fp, NULL))) in ecpkparams_i2d2i_test()
330 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests()