Searched refs:nn_getbit (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_mod_pow.c | 68 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 D | nn_logical.c | 561 int nn_getbit(nn_src_t in, bitcnt_t bit, u8 *bitval) in nn_getbit() function
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_logical.h | 32 ATTRIBUTE_WARN_UNUSED_RET int nn_getbit(nn_src_t in, bitcnt_t bit, u8 *bitval);
|
/freebsd/crypto/libecc/src/curves/ |
H A D | prj_pt.c | 1378 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 D | nn_miller_rabin.c | 154 ret = nn_getbit(&r, k, &bit); EG(ret, err); in miller_rabin()
|
/freebsd/crypto/libecc/src/examples/sig/common/ |
H A D | common.h | 225 ret = nn_getbit(exp, explen, &expbit); EG(ret, err); in _nn_mod_pow_insecure()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 386 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()
|