Home | History | Annotate | Download | only in ec

Lines Matching refs:generator

81 /* structure for precomputed multiples of the generator */
87 EC_POINT **points; /* array with pre-calculated multiples of generator:
343 * scalar*generator
350 const EC_POINT *generator = NULL;
401 generator = EC_GROUP_get0_generator(group);
402 if (generator == NULL)
408 /* look if we can use precomputed multiples of generator */
412 if (pre_comp && pre_comp->numblocks && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == 0))
508 * as the wNAF belonging to the generator,
635 if (!EC_POINT_copy(val_sub[i][0], generator)) goto err;
747 * creates an EC_PRE_COMP object with preprecomputed multiples of the generator
750 * 'pre_comp->points' is an array of multiples of the generator
752 * points[0] = generator;
753 * points[1] = 3 * generator;
755 * points[2^(w-1)-1] = (2^(w-1)-1) * generator;
756 * points[2^(w-1)] = 2^blocksize * generator;
757 * points[2^(w-1)+1] = 3 * 2^blocksize * generator;
759 * points[2^(w-1)*(numblocks-1)-1] = (2^(w-1)) * 2^(blocksize*(numblocks-2)) * generator
760 * points[2^(w-1)*(numblocks-1)] = 2^(blocksize*(numblocks-1)) * generator
762 * points[2^(w-1)*numblocks-1] = (2^(w-1)) * 2^(blocksize*(numblocks-1)) * generator
767 const EC_POINT *generator;
782 generator = EC_GROUP_get0_generator(group);
783 if (generator == NULL)
852 if (!EC_POINT_copy(base, generator))