Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/nn/
H A Dnn_mod_pow.c44 u8 expbit, rbit; in _nn_exp_monty_ladder_ltr() local
110 ret = nn_getbit(exp, explen, &expbit); EG(ret, err); in _nn_exp_monty_ladder_ltr()
114 ret = nn_mul_redc1(&T[2], &T[expbit ^ rbit], &T[expbit ^ rbit], mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
117 ret = nn_mod_mul(&T[2], &T[expbit ^ rbit], &T[expbit ^ rbit], mod); 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()
/freebsd/crypto/libecc/src/examples/sig/common/
H A Dcommon.h182 u8 expbit; in _nn_mod_pow_insecure() local
225 ret = nn_getbit(exp, explen, &expbit); EG(ret, err); in _nn_mod_pow_insecure()
230 if(expbit){ in _nn_mod_pow_insecure()
/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c1837 u8 expbit; in __prj_pt_unprotected_mult() local
1865 ret = nn_getbit(scalar, explen, &expbit); EG(ret, err); in __prj_pt_unprotected_mult()
1867 if(expbit){ in __prj_pt_unprotected_mult()
1876 VAR_ZEROIFY(expbit); in __prj_pt_unprotected_mult()