Lines Matching refs:val_sub
344 EC_POINT ***val_sub = NULL; /* pointers to sub-arrays of 'val' or 'pre_comp->points' */
425 val_sub = OPENSSL_malloc(totalnum * sizeof val_sub[0]);
427 if (!wsize || !wNAF_len || !wNAF || !val_sub)
494 val_sub[num] = pre_comp->points;
554 val_sub[i] = tmp_points;
564 * 'val_sub[i]' is a pointer to the subarray for the i-th point,
574 val_sub[i] = v;
592 * val_sub[i][0] := points[i]
593 * val_sub[i][1] := 3 * points[i]
594 * val_sub[i][2] := 5 * points[i]
601 if (!EC_POINT_copy(val_sub[i][0], points[i])) goto err;
605 if (!EC_POINT_copy(val_sub[i][0], generator)) goto err;
610 if (!EC_POINT_dbl(group, tmp, val_sub[i][0], ctx)) goto err;
613 if (!EC_POINT_add(group, val_sub[i][j], val_sub[i][j - 1], tmp, ctx)) goto err;
659 if (!EC_POINT_copy(r, val_sub[i][digit >> 1])) goto err;
664 if (!EC_POINT_add(group, r, r, val_sub[i][digit >> 1], ctx)) goto err;
708 if (val_sub != NULL)
710 OPENSSL_free(val_sub);