Home
last modified time | relevance | path

Searched refs:p_rounded_bitlen (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/nn/
H A Dnn_mul_redc1.c42 bitcnt_t p_rounded_bitlen; in nn_compute_redc1_coefs() local
69 p_rounded_bitlen = (bitcnt_t)(WORD_BITS * p.wlen); in nn_compute_redc1_coefs()
81 ret = nn_lshift(r, r, p_rounded_bitlen); EG(ret, err); in nn_compute_redc1_coefs()
93 MUST_HAVE(!(NN_MAX_BIT_LEN < (2 * p_rounded_bitlen)), ret, err); in nn_compute_redc1_coefs()
H A Dnn_div.c796 bitcnt_t p_rounded_bitlen, p_bitlen; in nn_compute_div_coefs() local
825 p_rounded_bitlen = (bitcnt_t)(WORD_BITS * p.wlen); in nn_compute_div_coefs()
829 (*p_shift) = (word_t)(p_rounded_bitlen - p_bitlen); in nn_compute_div_coefs()
835 MUST_HAVE((p_rounded_bitlen >= (2 * WORDSIZE)), ret, err); in nn_compute_div_coefs()
842 …ret = nn_rshift(&tmp_nn, p_normalized, (bitcnt_t)(p_rounded_bitlen - (2 * WORDSIZE))); EG(ret, err… in nn_compute_div_coefs()