Searched refs:WRSHIFT (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_logical.c | 59 lopart = WRSHIFT(in->val[ipos], lshift); in nn_lshift_fixedlen() 123 lopart = WRSHIFT(in->val[ipos], lshift); in nn_lshift() 177 lopart = WRSHIFT(in->val[ipos], lshift); in nn_rshift_fixedlen() 244 lopart = WRSHIFT(in->val[ipos], lshift); in nn_rshift()
|
H A D | nn_div.c | 655 MUST_HAVE((WRSHIFT((b), (WORD_BITS - 1)) == WORD(1)), ret, err); in _word_divrem() 656 bh = WRSHIFT((b), HWORD_BITS); in _word_divrem() 671 WRSHIFT(phl[0], HWORD_BITS)); in _word_divrem() 683 MUST_HAVE((WRSHIFT(rhl[1], HWORD_BITS) == 0), ret, err); in _word_divrem() 687 WRSHIFT(rhl[0], HWORD_BITS)); in _word_divrem()
|
/freebsd/crypto/libecc/include/libecc/words/ |
H A D | words.h | 80 #define WRSHIFT(w, c) ((word_t)(((c) >= WORD_BITS) ? WORD(0) : (word_t)((w) >> (c)))) macro
|