Lines Matching refs:NULL

23 static EC_builtin_curve *curves = NULL;
28 BIGNUM *a = NULL, *b = NULL, *c = NULL; in group_field_tests()
31 if (group->meth->field_inv == NULL || group->meth->field_mul == NULL) in group_field_tests()
79 BN_CTX *ctx = NULL; in field_tests()
80 BIGNUM *p = NULL, *a = NULL, *b = NULL; in field_tests()
81 EC_GROUP *group = NULL; in field_tests()
103 if (group != NULL) in field_tests()
171 BN_CTX *ctx = NULL; in field_tests_default()
172 EC_GROUP *group = NULL; in field_tests_default()
185 if (group != NULL) in field_tests_default()
187 if (ctx != NULL) in field_tests_default()
199 BN_CTX *ctx = NULL; in underflow_test()
200 EC_GROUP *grp = NULL; in underflow_test()
201 EC_POINT *P = NULL, *Q = NULL, *R = NULL; in underflow_test()
202 BIGNUM *x1 = NULL, *y1 = NULL, *z1 = NULL, *x2 = NULL, *y2 = NULL; in underflow_test()
203 BIGNUM *k = NULL; in underflow_test()
239 || !TEST_true(EC_POINT_mul(grp, Q, NULL, P, k, ctx)) in underflow_test()
268 EC_KEY *key = NULL, *aux_key = NULL; in set_private_key()
284 if (!TEST_int_eq(EC_KEY_set_private_key(key, NULL), 0) in set_private_key()
302 EC_GROUP *grp_copy = NULL; in decoded_flag_test()
303 ECPARAMETERS *ecparams = NULL; in decoded_flag_test()
304 ECPKPARAMETERS *ecpkparams = NULL; in decoded_flag_test()
305 EC_KEY *key = NULL; in decoded_flag_test()
306 unsigned char *encodedparams = NULL; in decoded_flag_test()
325 if (!TEST_ptr(ecparams = EC_GROUP_get_ecparameters(grp, NULL)) in decoded_flag_test()
330 grp_copy = NULL; in decoded_flag_test()
332 ecparams = NULL; in decoded_flag_test()
336 || !TEST_ptr(ecpkparams = EC_GROUP_get_ecpkparameters(grp, NULL)) in decoded_flag_test()
347 grp_copy = NULL; in decoded_flag_test()
349 ecpkparams = NULL; in decoded_flag_test()
354 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
358 grp_copy = NULL; in decoded_flag_test()
360 encodedparams = NULL; in decoded_flag_test()
364 if (!TEST_ptr(ecpkparams = EC_GROUP_get_ecpkparameters(grp, NULL)) in decoded_flag_test()
370 grp_copy = NULL; in decoded_flag_test()
375 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
399 EC_GROUP *g1 = NULL, *g2 = NULL; in ecpkparams_i2d2i_test()
400 FILE *fp = NULL; in ecpkparams_i2d2i_test()
415 fp = NULL; in ecpkparams_i2d2i_test()
418 fp = NULL; in ecpkparams_i2d2i_test()
422 || !TEST_ptr(g2 = d2i_ECPKParameters_fp(fp, NULL))) in ecpkparams_i2d2i_test()
428 if (fp != NULL) in ecpkparams_i2d2i_test()
464 BN_CTX *ctx = NULL; in montgomery_correctness_test()
473 if (group->field_data1 != NULL) { in montgomery_correctness_test()
486 EC_GROUP *group = NULL; in named_group_creation_test()
501 crv_len = EC_get_builtin_curves(NULL, 0); in setup_tests()