Lines Matching defs:prod_Z
1254 BIGNUM **prod_Z = NULL;
1273 prod_Z = OPENSSL_malloc(num * sizeof prod_Z[0]);
1274 if (prod_Z == NULL)
1277 prod_Z[i] = BN_new();
1278 if (prod_Z[i] == NULL)
1283 * Set each prod_Z[i] to the product of points[0]->Z .. points[i]->Z,
1288 if (!BN_copy(prod_Z[0], &points[0]->Z))
1292 if (!group->meth->field_set_to_one(group, prod_Z[0], ctx))
1295 if (!BN_one(prod_Z[0]))
1302 if (!group->meth->field_mul(group, prod_Z[i], prod_Z[i - 1],
1306 if (!BN_copy(prod_Z[i], prod_Z[i - 1]))
1316 if (!BN_mod_inverse(tmp, prod_Z[num - 1], &group->field, ctx)) {
1343 meth->field_mul(group, tmp_Z, prod_Z[i - 1], tmp, ctx))
1397 if (prod_Z != NULL) {
1399 if (prod_Z[i] == NULL)
1401 BN_clear_free(prod_Z[i]);
1403 OPENSSL_free(prod_Z);