Lines Matching defs:prod_Z
1211 BIGNUM **prod_Z = NULL;
1230 prod_Z = OPENSSL_malloc(num * sizeof(prod_Z[0]));
1231 if (prod_Z == NULL)
1234 prod_Z[i] = BN_new();
1235 if (prod_Z[i] == NULL)
1240 * Set each prod_Z[i] to the product of points[0]->Z .. points[i]->Z,
1245 if (!BN_copy(prod_Z[0], points[0]->Z))
1249 if (!group->meth->field_set_to_one(group, prod_Z[0], ctx))
1252 if (!BN_one(prod_Z[0]))
1260 meth->field_mul(group, prod_Z[i], prod_Z[i - 1], points[i]->Z,
1264 if (!BN_copy(prod_Z[i], prod_Z[i - 1]))
1274 if (!group->meth->field_inv(group, tmp, prod_Z[num - 1], ctx)) {
1301 meth->field_mul(group, tmp_Z, prod_Z[i - 1], tmp, ctx))
1354 if (prod_Z != NULL) {
1356 if (prod_Z[i] == NULL)
1358 BN_clear_free(prod_Z[i]);
1360 OPENSSL_free(prod_Z);