Searched refs:window_val (Results 1 – 1 of 1) sorted by relevance
94 int window_val; in compute_wNAF() local139 window_val = scalar->d[0] & mask; in compute_wNAF()142 while (window_val != 0 || j + w + 1 < len) { in compute_wNAF()147 if (window_val & 1) { in compute_wNAF()150 if (window_val & bit) { in compute_wNAF()151 digit = window_val - next_bit; /* -2^w < digit < 0 */ in compute_wNAF()160 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ in compute_wNAF()164 digit = window_val; /* 0 < digit < 2^w */ in compute_wNAF()172 window_val -= digit; in compute_wNAF()176 if (window_val != 0 && window_val != next_bit && window_val != bit) { in compute_wNAF()[all …]