Lines Matching refs:wstart
432 int i, j, bits, ret = 0, wstart, window; in mod_exp_recp() local
505 wstart = bits - 1; /* The top bit of the window */ in mod_exp_recp()
515 if (BN_is_bit_set(p, wstart) == 0) { in mod_exp_recp()
521 if (wstart == 0) { in mod_exp_recp()
524 wstart--; in mod_exp_recp()
535 if (wstart - i < 0) { in mod_exp_recp()
538 if (BN_is_bit_set(p, wstart - i)) { in mod_exp_recp()
562 wstart -= wend + 1; in mod_exp_recp()
564 if (wstart < 0) { in mod_exp_recp()
621 int i, j, bits, ret = 0, wstart, window; in BN_mod_exp_mont() local
699 wstart = bits - 1; /* The top bit of the window */ in BN_mod_exp_mont()
723 if (BN_is_bit_set(p, wstart) == 0) { in BN_mod_exp_mont()
727 if (wstart == 0) { in BN_mod_exp_mont()
730 wstart--; in BN_mod_exp_mont()
740 if (wstart - i < 0) { in BN_mod_exp_mont()
743 if (BN_is_bit_set(p, wstart - i)) { in BN_mod_exp_mont()
767 wstart -= wend + 1; in BN_mod_exp_mont()
769 if (wstart < 0) { in BN_mod_exp_mont()