Home
last modified time | relevance | path

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

/openssl/crypto/bn/
H A Dbn_intern.c24 int window_val; in bn_compute_wNAF() local
65 window_val = scalar->d[0] & mask; in bn_compute_wNAF()
74 if (window_val & 1) { in bn_compute_wNAF()
77 if (window_val & bit) { in bn_compute_wNAF()
93 digit = window_val; /* 0 < digit < 2^w */ in bn_compute_wNAF()
101 window_val -= digit; in bn_compute_wNAF()
107 if (window_val != 0 && window_val != next_bit in bn_compute_wNAF()
108 && window_val != bit) { in bn_compute_wNAF()
116 window_val >>= 1; in bn_compute_wNAF()
117 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
[all …]

Completed in 3 milliseconds