Lines Matching refs:bitbuf
1887 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
2004 bitbuf = 0; in s_mp_exptmod()
2043 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod()
2059 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod()
2068 bitbuf = 0; in s_mp_exptmod()
2084 bitbuf <<= 1; in s_mp_exptmod()
2085 if ((bitbuf & (1 << winsize)) != 0) { in s_mp_exptmod()
2963 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
3126 bitbuf = 0; in mp_exptmod_fast()
3165 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast()
3181 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast()
3190 bitbuf = 0; in mp_exptmod_fast()
3207 bitbuf <<= 1; in mp_exptmod_fast()
3208 if ((bitbuf & (1 << winsize)) != 0) { in mp_exptmod_fast()