Lines Matching refs:points

43     EC_POINT **points;          /* array with pre-calculated multiples of
99 if (pre->points != NULL) {
102 for (pts = pre->points; *pts != NULL; pts++)
104 OPENSSL_free(pre->points);
405 * \sum scalars[i]*points[i],
411 size_t num, const EC_POINT *points[],
431 * 'pre_comp->points' */
463 return ossl_ec_scalar_mul_ladder(group, r, scalars[0], points[0],
479 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) ==
529 * num_val will be the total number of temporarily precomputed points
588 * pre_comp->points starts with the points that we need here:
590 val_sub[num] = pre_comp->points;
615 tmp_points = pre_comp->points;
659 * All points we precompute now go into a single array 'val'.
661 * subarray of 'pre_comp->points' if we already have precomputation.
670 /* allocate points for precomputation */
691 * val_sub[i][0] := points[i]
692 * val_sub[i][1] := 3 * points[i]
693 * val_sub[i][2] := 5 * points[i]
698 if (!EC_POINT_copy(val_sub[i][0], points[i]))
815 * 'pre_comp->points' is an array of multiples of the generator
817 * points[0] = generator;
818 * points[1] = 3 * generator;
820 * points[2^(w-1)-1] = (2^(w-1)-1) * generator;
821 * points[2^(w-1)] = 2^blocksize * generator;
822 * points[2^(w-1)+1] = 3 * 2^blocksize * generator;
824 * points[2^(w-1)*(numblocks-1)-1] = (2^(w-1)) * 2^(blocksize*(numblocks-2)) * generator
825 * points[2^(w-1)*(numblocks-1)] = 2^(blocksize*(numblocks-1)) * generator
827 * points[2^(w-1)*numblocks-1] = (2^(w-1)) * 2^(blocksize*(numblocks-1)) * generator
828 * points[2^(w-1)*numblocks] = NULL
836 EC_POINT **points = NULL;
892 num = pre_points_per_block * numblocks; /* number of points to compute
895 points = OPENSSL_malloc(sizeof(*points) * (num + 1));
896 if (points == NULL) {
901 var = points;
958 || !group->meth->points_make_affine(group, num, points, ctx))
965 pre_comp->points = points;
966 points = NULL;
979 if (points) {
982 for (p = points; *p != NULL; p++)
984 OPENSSL_free(points);