Searched refs:rbit_next (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_mod_pow.c | 104 u8 rbit_next; in _nn_exp_monty_ladder_ltr() local 108 ret = nn_getbit(&mask, explen, &rbit_next); EG(ret, err); in _nn_exp_monty_ladder_ltr() 127 ret = nn_copy(&T[0], &T[2 - (expbit ^ rbit_next)]); EG(ret, err); in _nn_exp_monty_ladder_ltr() 128 ret = nn_copy(&T[1], &T[1 + (expbit ^ rbit_next)]); EG(ret, err); in _nn_exp_monty_ladder_ltr() 130 rbit = rbit_next; in _nn_exp_monty_ladder_ltr()
|
/freebsd/crypto/libecc/src/curves/ |
H A D | prj_pt.c | 1396 u8 rbit_next; in _prj_pt_mul_ltr_monty_dbl_add_always() local 1399 ret = nn_getbit(&r, mlen, &rbit_next); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always() 1423 ret = nn_copy(&(T[rbit_next].X.fp_val), &(T[mbit ^ rbit].X.fp_val)); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always() 1424 ret = nn_copy(&(T[rbit_next].Y.fp_val), &(T[mbit ^ rbit].Y.fp_val)); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always() 1425 ret = nn_copy(&(T[rbit_next].Z.fp_val), &(T[mbit ^ rbit].Z.fp_val)); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always() 1428 rbit = rbit_next; in _prj_pt_mul_ltr_monty_dbl_add_always() 1661 u8 rbit_next; in _prj_pt_mul_ltr_monty_ladder() local 1664 ret = nn_getbit(&r, mlen, &rbit_next); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder() 1688 ret = nn_copy(&(T[0].X.fp_val), &(T[2-(mbit ^ rbit_next)].X.fp_val)); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder() 1689 ret = nn_copy(&(T[0].Y.fp_val), &(T[2-(mbit ^ rbit_next)].Y.fp_val)); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder() [all …]
|