Searched refs:prod_high (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_mul_redc1.c | 127 word_t prod_high, prod_low, carry, acc, m; in _nn_mul_redc1() local 178 WORD_MUL(prod_high, prod_low, a->val[i], b->val[j]); in _nn_mul_redc1() 180 prod_high = (word_t)(prod_high + (prod_low < carry)); in _nn_mul_redc1() 182 carry = (word_t)(prod_high + (out->val[j] < prod_low)); in _nn_mul_redc1() 192 WORD_MUL(prod_high, prod_low, m, p->val[0]); in _nn_mul_redc1() 194 carry = (word_t)(prod_high + (prod_low < out->val[0])); in _nn_mul_redc1() 196 WORD_MUL(prod_high, prod_low, m, p->val[j]); in _nn_mul_redc1() 198 prod_high = (word_t)(prod_high + (prod_low < carry)); in _nn_mul_redc1() 200 carry = (word_t)(prod_high + (out->val[j - 1] < prod_low)); in _nn_mul_redc1()
|
H A D | nn_mul.c | 47 word_t carry, prod_high, prod_low; in _nn_mul_low() local 76 WORD_MUL(prod_high, prod_low, in _nn_mul_low() 82 prod_high = (word_t)(prod_high + (prod_low < carry)); in _nn_mul_low() 89 carry = (word_t)(prod_high + (out->val[pos] < prod_low)); in _nn_mul_low()
|
H A D | nn_div.c | 117 word_t _borrow = WORD(0), prod_high, prod_low, tmp; in _nn_submul_word_shift() local 129 WORD_MUL(prod_high, prod_low, in->val[i], w); in _nn_submul_word_shift() 135 prod_high = (word_t)(prod_high + (prod_low < _borrow)); in _nn_submul_word_shift() 141 _borrow = (word_t)(prod_high + (tmp > out->val[shift + i])); in _nn_submul_word_shift()
|