Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/ec/
Dwnaf.c96 int window_val = scalar->words[0] & mask; in ec_compute_wNAF() local
98 assert(0 <= window_val && window_val <= next_bit); in ec_compute_wNAF()
100 if (window_val & 1) { in ec_compute_wNAF()
101 assert(0 < window_val && window_val < next_bit); in ec_compute_wNAF()
102 if (window_val & bit) { in ec_compute_wNAF()
103 digit = window_val - next_bit; in ec_compute_wNAF()
113 digit = window_val & (mask >> 1); in ec_compute_wNAF()
117 digit = window_val; in ec_compute_wNAF()
121 window_val -= digit; in ec_compute_wNAF()
127 assert(window_val == 0 || window_val == next_bit || window_val == bit); in ec_compute_wNAF()
[all …]