Lines Matching refs:new_ctx

146     BN_CTX *new_ctx = NULL;  in ossl_ec_GFp_simple_group_set_curve()  local
156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve()
196 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_set_curve()
204 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_get_curve() local
214 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_get_curve()
241 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_get_curve()
256 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_check_discriminant() local
259 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_check_discriminant()
318 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_check_discriminant()
382 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() local
386 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
431 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
440 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp() local
445 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp()
480 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp()
506 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_point_get_affine_coordinates() local
517 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_point_get_affine_coordinates()
609 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point_get_affine_coordinates()
620 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_add() local
636 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_add()
794 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_add()
805 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_dbl() local
820 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_dbl()
936 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_dbl()
963 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_is_on_curve() local
975 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_is_on_curve()
1055 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_is_on_curve()
1072 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_cmp() local
1092 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_cmp()
1163 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_cmp()
1170 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_make_affine() local
1178 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_make_affine()
1202 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_make_affine()
1209 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_points_make_affine() local
1219 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_points_make_affine()
1353 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_points_make_affine()
1387 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_field_inv() local
1391 && (ctx = new_ctx = BN_CTX_secure_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_simple_field_inv()
1419 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_field_inv()