Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/nn/
H A Dnn_mod_pow.c68 ret = nn_getbit(&mask, (bitcnt_t)(explen - 1), &rbit); EG(ret, err); in _nn_exp_monty_ladder_ltr()
108 ret = nn_getbit(&mask, explen, &rbit_next); EG(ret, err); in _nn_exp_monty_ladder_ltr()
110 ret = nn_getbit(exp, explen, &expbit); EG(ret, err); in _nn_exp_monty_ladder_ltr()
H A Dnn_logical.c561 int nn_getbit(nn_src_t in, bitcnt_t bit, u8 *bitval) in nn_getbit() function
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn_logical.h32 ATTRIBUTE_WARN_UNUSED_RET int nn_getbit(nn_src_t in, bitcnt_t bit, u8 *bitval);
/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c1378 ret = nn_getbit(&r, mlen, &rbit); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1399 ret = nn_getbit(&r, mlen, &rbit_next); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1402 ret = nn_getbit(&m_msb_fixed, mlen, &mbit); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1532 ret = nn_getbit(&m_msb_fixed, mlen, &mbit); EG(ret, err2); in _prj_pt_mul_ltr_monty_dbl_add_always()
1633 ret = nn_getbit(&r, mlen, &rbit); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder()
1664 ret = nn_getbit(&r, mlen, &rbit_next); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder()
1667 ret = nn_getbit(&m_msb_fixed, mlen, &mbit); EG(ret, err); in _prj_pt_mul_ltr_monty_ladder()
1865 ret = nn_getbit(scalar, explen, &expbit); EG(ret, err); in __prj_pt_unprotected_mult()
/freebsd/crypto/libecc/src/examples/basic/
H A Dnn_miller_rabin.c154 ret = nn_getbit(&r, k, &bit); EG(ret, err); in miller_rabin()
/freebsd/crypto/libecc/src/examples/sig/common/
H A Dcommon.h225 ret = nn_getbit(exp, explen, &expbit); EG(ret, err); in _nn_mod_pow_insecure()
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c386 ret = nn_getbit(&(tmp_x.fp_val), 0, &lsb); EG(ret, err1); in eddsa_encode_point()
410 ret = nn_getbit(&(in->x.fp_val), 0, &lsb); EG(ret, err); in eddsa_encode_point()
507 ret = nn_getbit(&(sqrt1.fp_val), 0, &lsb); EG(ret, err); in eddsa_decode_point()