• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/ec/

Lines Matching refs:points

84     EC_POINT **points;          /* array with pre-calculated multiples of
112 ret->points = NULL;
141 if (pre->points) {
144 for (p = pre->points; *p != NULL; p++)
146 OPENSSL_free(pre->points);
163 if (pre->points) {
166 for (p = pre->points; *p != NULL; p++) {
170 OPENSSL_free(pre->points);
325 * \sum scalars[i]*points[i],
331 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
352 * 'pre_comp->points' */
369 if (group->meth != points[i]->meth) {
395 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) ==
445 * num_val will be the total number of temporarily precomputed points
506 * pre_comp->points starts with the points that we need here:
508 val_sub[num] = pre_comp->points;
532 tmp_points = pre_comp->points;
575 * All points we precompute now go into a single array 'val'.
577 * subarray of 'pre_comp->points' if we already have precomputation.
586 /* allocate points for precomputation */
607 * val_sub[i][0] := points[i]
608 * val_sub[i][1] := 3 * points[i]
609 * val_sub[i][2] := 5 * points[i]
614 if (!EC_POINT_copy(val_sub[i][0], points[i]))
726 * 'pre_comp->points' is an array of multiples of the generator
728 * points[0] = generator;
729 * points[1] = 3 * generator;
731 * points[2^(w-1)-1] = (2^(w-1)-1) * generator;
732 * points[2^(w-1)] = 2^blocksize * generator;
733 * points[2^(w-1)+1] = 3 * 2^blocksize * generator;
735 * points[2^(w-1)*(numblocks-1)-1] = (2^(w-1)) * 2^(blocksize*(numblocks-2)) * generator
736 * points[2^(w-1)*(numblocks-1)] = 2^(blocksize*(numblocks-1)) * generator
738 * points[2^(w-1)*numblocks-1] = (2^(w-1)) * 2^(blocksize*(numblocks-1)) * generator
739 * points[2^(w-1)*numblocks] = NULL
748 EC_POINT **points = NULL;
802 num = pre_points_per_block * numblocks; /* number of points to compute
805 points = OPENSSL_malloc(sizeof(EC_POINT *) * (num + 1));
806 if (!points) {
811 var = points;
866 if (!EC_POINTs_make_affine(group, num, points, ctx))
873 pre_comp->points = points;
874 points = NULL;
891 if (points) {
894 for (p = points; *p != NULL; p++)
896 OPENSSL_free(points);