Lines Matching refs:prod_Z
1154 BIGNUM **prod_Z = NULL; in ec_GFp_simple_points_make_affine() local
1176 prod_Z = OPENSSL_malloc(num * sizeof(prod_Z[0])); in ec_GFp_simple_points_make_affine()
1177 if (prod_Z == NULL) { in ec_GFp_simple_points_make_affine()
1180 memset(prod_Z, 0, num * sizeof(prod_Z[0])); in ec_GFp_simple_points_make_affine()
1182 prod_Z[i] = BN_new(); in ec_GFp_simple_points_make_affine()
1183 if (prod_Z[i] == NULL) { in ec_GFp_simple_points_make_affine()
1192 if (!BN_copy(prod_Z[0], &points[0]->Z)) { in ec_GFp_simple_points_make_affine()
1197 if (!group->meth->field_set_to_one(group, prod_Z[0], ctx)) { in ec_GFp_simple_points_make_affine()
1201 if (!BN_one(prod_Z[0])) { in ec_GFp_simple_points_make_affine()
1209 if (!group->meth->field_mul(group, prod_Z[i], prod_Z[i - 1], in ec_GFp_simple_points_make_affine()
1214 if (!BN_copy(prod_Z[i], prod_Z[i - 1])) { in ec_GFp_simple_points_make_affine()
1223 if (!BN_mod_inverse(tmp, prod_Z[num - 1], &group->field, ctx)) { in ec_GFp_simple_points_make_affine()
1247 if (!group->meth->field_mul(group, tmp_Z, prod_Z[i - 1], tmp, ctx) || in ec_GFp_simple_points_make_affine()
1292 if (prod_Z != NULL) { in ec_GFp_simple_points_make_affine()
1294 if (prod_Z[i] == NULL) { in ec_GFp_simple_points_make_affine()
1297 BN_clear_free(prod_Z[i]); in ec_GFp_simple_points_make_affine()
1299 OPENSSL_free(prod_Z); in ec_GFp_simple_points_make_affine()