• Home
  • Raw
  • Download

Lines Matching refs:new_ctx

179 	BN_CTX *new_ctx = NULL;  in ec_GFp_simple_group_set_curve()  local
191 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
224 if (new_ctx != NULL) in ec_GFp_simple_group_set_curve()
225 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
233 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local
246 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
275 if (new_ctx) in ec_GFp_simple_group_get_curve()
276 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()
292 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_check_discriminant() local
296 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
348 if (new_ctx != NULL) in ec_GFp_simple_group_check_discriminant()
349 BN_CTX_free(new_ctx); in ec_GFp_simple_group_check_discriminant()
404 BN_CTX *new_ctx = NULL; in ec_GFp_simple_set_Jprojective_coordinates_GFp() local
409 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
455 if (new_ctx != NULL) in ec_GFp_simple_set_Jprojective_coordinates_GFp()
456 BN_CTX_free(new_ctx); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
464 BN_CTX *new_ctx = NULL; in ec_GFp_simple_get_Jprojective_coordinates_GFp() local
471 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
508 if (new_ctx != NULL) in ec_GFp_simple_get_Jprojective_coordinates_GFp()
509 BN_CTX_free(new_ctx); in ec_GFp_simple_get_Jprojective_coordinates_GFp()
531 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point_get_affine_coordinates() local
544 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_get_affine_coordinates()
638 if (new_ctx != NULL) in ec_GFp_simple_point_get_affine_coordinates()
639 BN_CTX_free(new_ctx); in ec_GFp_simple_point_get_affine_coordinates()
648 BN_CTX *new_ctx = NULL; in ec_GFp_simple_add() local
665 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_add()
801 if (new_ctx != NULL) in ec_GFp_simple_add()
802 BN_CTX_free(new_ctx); in ec_GFp_simple_add()
812 BN_CTX *new_ctx = NULL; in ec_GFp_simple_dbl() local
829 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_dbl()
918 if (new_ctx != NULL) in ec_GFp_simple_dbl()
919 BN_CTX_free(new_ctx); in ec_GFp_simple_dbl()
945 BN_CTX *new_ctx = NULL; in ec_GFp_simple_is_on_curve() local
958 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_is_on_curve()
1025 if (new_ctx != NULL) in ec_GFp_simple_is_on_curve()
1026 BN_CTX_free(new_ctx); in ec_GFp_simple_is_on_curve()
1041 BN_CTX *new_ctx = NULL; in ec_GFp_simple_cmp() local
1064 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_cmp()
1136 if (new_ctx != NULL) in ec_GFp_simple_cmp()
1137 BN_CTX_free(new_ctx); in ec_GFp_simple_cmp()
1144 BN_CTX *new_ctx = NULL; in ec_GFp_simple_make_affine() local
1153 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_make_affine()
1175 if (new_ctx != NULL) in ec_GFp_simple_make_affine()
1176 BN_CTX_free(new_ctx); in ec_GFp_simple_make_affine()
1183 BN_CTX *new_ctx = NULL; in ec_GFp_simple_points_make_affine() local
1195 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_points_make_affine()
1335 if (new_ctx != NULL) in ec_GFp_simple_points_make_affine()
1336 BN_CTX_free(new_ctx); in ec_GFp_simple_points_make_affine()