Lines Matching full:digit
19 * with the exception that the most significant digit may be only
20 * w-1 zeros away from that next non-zero digit.
59 * Modified wNAF may be one digit longer than binary representation in bn_compute_wNAF()
70 int digit = 0; in bn_compute_wNAF() local
78 digit = window_val - next_bit; /* -2^w < digit < 0 */ in bn_compute_wNAF()
85 * so using a positive digit here will decrease in bn_compute_wNAF()
89 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ in bn_compute_wNAF()
93 digit = window_val; /* 0 < digit < 2^w */ in bn_compute_wNAF()
96 if (digit <= -bit || digit >= bit || !(digit & 1)) { in bn_compute_wNAF()
101 window_val -= digit; in bn_compute_wNAF()
114 r[j++] = sign * digit; in bn_compute_wNAF()