Lines Matching refs:numblocks
40 size_t numblocks; /* max. number of blocks for which we have member
411 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ in ossl_ec_wNAF_mul() local
472 if (pre_comp && pre_comp->numblocks in ossl_ec_wNAF_mul()
481 numblocks = (BN_num_bits(scalar) / blocksize) + 1; in ossl_ec_wNAF_mul()
486 if (numblocks > pre_comp->numblocks) in ossl_ec_wNAF_mul()
487 numblocks = pre_comp->numblocks; in ossl_ec_wNAF_mul()
492 if (pre_comp->num != (pre_comp->numblocks * pre_points_per_block)) { in ossl_ec_wNAF_mul()
499 numblocks = 1; in ossl_ec_wNAF_mul()
505 totalnum = num + numblocks; in ossl_ec_wNAF_mul()
541 if (numblocks) { in ossl_ec_wNAF_mul()
574 numblocks = 1; in ossl_ec_wNAF_mul()
592 if (tmp_len < numblocks * blocksize) { in ossl_ec_wNAF_mul()
596 numblocks = (tmp_len + blocksize - 1) / blocksize; in ossl_ec_wNAF_mul()
597 if (numblocks > pre_comp->numblocks) { in ossl_ec_wNAF_mul()
602 totalnum = num + numblocks; in ossl_ec_wNAF_mul()
824 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; in ossl_ec_wNAF_precompute_mult() local
876 numblocks = (bits + blocksize - 1) / blocksize; /* max. number of blocks in ossl_ec_wNAF_precompute_mult()
881 num = pre_points_per_block * numblocks; /* number of points to compute in ossl_ec_wNAF_precompute_mult()
907 for (i = 0; i < numblocks; i++) { in ossl_ec_wNAF_precompute_mult()
924 if (i < numblocks - 1) { in ossl_ec_wNAF_precompute_mult()
950 pre_comp->numblocks = numblocks; in ossl_ec_wNAF_precompute_mult()