Lines Matching refs:blocksize
80 size_t blocksize; /* block size for wNAF splitting */
109 ret->blocksize = 8; /* default */
338 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */
397 blocksize = pre_comp->blocksize;
403 numblocks = (BN_num_bits(scalar) / blocksize) + 1;
518 if (tmp_len < numblocks * blocksize) {
522 numblocks = (tmp_len + blocksize - 1) / blocksize;
536 wNAF_len[i] = blocksize;
537 if (tmp_len < blocksize) {
541 tmp_len -= blocksize;
545 * more or less than 'blocksize'!)
567 pp += blocksize;
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
747 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num;
790 blocksize = 8;
797 numblocks = (bits + blocksize - 1) / blocksize; /* max. number of blocks
848 * get the next base (multiply current one by 2^blocksize)
852 if (blocksize <= 2) {
859 for (k = 2; k < blocksize; k++) {
870 pre_comp->blocksize = blocksize;