Searched refs:shiftBits (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | words.h | 51 inline word ShiftWordsLeftByBits(word *r, size_t n, unsigned int shiftBits) argument 53 assert (shiftBits<WORD_BITS); 55 if (shiftBits) 59 r[i] = (u << shiftBits) | carry; 60 carry = u >> (WORD_BITS-shiftBits); 65 inline word ShiftWordsRightByBits(word *r, size_t n, unsigned int shiftBits) 67 assert (shiftBits<WORD_BITS); 69 if (shiftBits) 73 r[i-1] = (u >> shiftBits) | carry; 74 carry = u << (WORD_BITS-shiftBits); [all...] |
H A D | gf2n.cpp | 352 int shiftBits = n % WORD_BITS; local 354 if (shiftBits) 360 *r = (u << shiftBits) | carry; 361 carry = u >> (WORD_BITS-shiftBits); 391 int shiftBits = n % WORD_BITS; local 398 if (shiftBits) 404 *r = (u >> shiftBits) | carry; 405 carry = u << (WORD_BITS-shiftBits);
|
H A D | integer.cpp | 2572 unsigned shiftBits = WORD_BITS - BitPrecision(TB[NB-1]); local 2573 assert(shiftBits < WORD_BITS); 2574 ShiftWordsLeftByBits(TB, NB, shiftBits); 2579 ShiftWordsLeftByBits(TA, NA+2, shiftBits); 2609 ShiftWordsRightByBits(R, NB, shiftBits); 3644 const unsigned int shiftBits = (unsigned int)(n % WORD_BITS); 3648 ShiftWordsLeftByBits(reg+shiftWords, wordCount+BitsToWords(shiftBits), shiftBits); 3656 const unsigned int shiftBits = (unsigned int)(n % WORD_BITS); 3660 ShiftWordsRightByBits(reg, wordCount-shiftWords, shiftBits); [all...] |
Completed in 79 milliseconds