Home
last modified time | relevance | path

Searched refs:window_val (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_intern.c24 int window_val; in bn_compute_wNAF() local
69 window_val = scalar->d[0] & mask; in bn_compute_wNAF()
71 while ((window_val != 0) || (j + w + 1 < len)) { /* if j+w+1 >= len, in bn_compute_wNAF()
78 if (window_val & 1) { in bn_compute_wNAF()
81 if (window_val & bit) { in bn_compute_wNAF()
82 digit = window_val - next_bit; /* -2^w < digit < 0 */ in bn_compute_wNAF()
93 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ in bn_compute_wNAF()
97 digit = window_val; /* 0 < digit < 2^w */ in bn_compute_wNAF()
105 window_val -= digit; in bn_compute_wNAF()
111 if (window_val != 0 && window_val != next_bit in bn_compute_wNAF()
[all …]