Lines Matching refs:prod_Z
1202 BIGNUM **prod_Z = NULL; in ec_GFp_simple_points_make_affine() local
1224 prod_Z = OPENSSL_malloc(num * sizeof(prod_Z[0])); in ec_GFp_simple_points_make_affine()
1225 if (prod_Z == NULL) { in ec_GFp_simple_points_make_affine()
1228 memset(prod_Z, 0, num * sizeof(prod_Z[0])); in ec_GFp_simple_points_make_affine()
1230 prod_Z[i] = BN_new(); in ec_GFp_simple_points_make_affine()
1231 if (prod_Z[i] == NULL) { in ec_GFp_simple_points_make_affine()
1240 if (!BN_copy(prod_Z[0], &points[0]->Z)) { in ec_GFp_simple_points_make_affine()
1245 if (!group->meth->field_set_to_one(group, prod_Z[0], ctx)) { in ec_GFp_simple_points_make_affine()
1249 if (!BN_one(prod_Z[0])) { in ec_GFp_simple_points_make_affine()
1257 if (!group->meth->field_mul(group, prod_Z[i], prod_Z[i - 1], in ec_GFp_simple_points_make_affine()
1262 if (!BN_copy(prod_Z[i], prod_Z[i - 1])) { in ec_GFp_simple_points_make_affine()
1271 if (!BN_mod_inverse(tmp, prod_Z[num - 1], &group->field, ctx)) { in ec_GFp_simple_points_make_affine()
1295 if (!group->meth->field_mul(group, tmp_Z, prod_Z[i - 1], tmp, ctx) || in ec_GFp_simple_points_make_affine()
1340 if (prod_Z != NULL) { in ec_GFp_simple_points_make_affine()
1342 if (prod_Z[i] == NULL) { in ec_GFp_simple_points_make_affine()
1345 BN_clear_free(prod_Z[i]); in ec_GFp_simple_points_make_affine()
1347 OPENSSL_free(prod_Z); in ec_GFp_simple_points_make_affine()