Home | History | Annotate | Download | only in ec

Lines Matching defs:blocksize

84 	size_t blocksize;      /* block size for wNAF splitting */
112 ret->blocksize = 8; /* default */
353 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */
414 blocksize = pre_comp->blocksize;
418 numblocks = (BN_num_bits(scalar) / blocksize) + 1;
529 if (tmp_len < numblocks * blocksize)
532 numblocks = (tmp_len + blocksize - 1) / blocksize;
549 wNAF_len[i] = blocksize;
550 if (tmp_len < blocksize)
555 tmp_len -= blocksize;
559 * (this could be more or less than 'blocksize'!) */
582 pp += blocksize;
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
771 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num;
815 blocksize = 8;
823 numblocks = (bits + blocksize - 1) / blocksize; /* max. number of blocks to use for wNAF splitting */
875 /* get the next base (multiply current one by 2^blocksize) */
878 if (blocksize <= 2)
886 for (k = 2; k < blocksize; k++)
898 pre_comp->blocksize = blocksize;