Searched refs:BITS_PER_WORD (Results 1 – 7 of 7) sorted by relevance
27 #define BITS_PER_WORD (sizeof(crypto_word_t) * 8) macro28 #define WORDS_PER_POLY ((N + BITS_PER_WORD - 1) / BITS_PER_WORD)29 #define BITS_IN_LAST_WORD (N % BITS_PER_WORD)
346 assert(bits >= BITS_PER_WORD && bits % BITS_PER_WORD == 0); in poly2_rotr_words()349 const size_t start = bits / BITS_PER_WORD; in poly2_rotr_words()350 const size_t n = (N - bits) / BITS_PER_WORD; in poly2_rotr_words()364 carry = in->v[i] >> (BITS_PER_WORD - BITS_IN_LAST_WORD); in poly2_rotr_words()375 assert(bits <= BITS_PER_WORD / 2); in poly2_rotr_bits()385 BITS_IN_LAST_WORD >= BITS_PER_WORD / 2, in poly2_rotr_bits()388 crypto_word_t carry = in->v[WORDS_PER_POLY - 1] << (BITS_PER_WORD - bits); in poly2_rotr_bits()392 carry = in->v[i] << (BITS_PER_WORD - bits); in poly2_rotr_bits()395 crypto_word_t last_word = carry >> (BITS_PER_WORD - BITS_IN_LAST_WORD) | in poly2_rotr_bits()417 for (; (UINT64_C(1) << shift) >= BITS_PER_WORD; shift--) { in HRSS_poly2_rotr_consttime()[all …]
34 word |= (crypto_word_t)(in[i] & 1) << (BITS_PER_WORD - 1); in poly2_from_bits()37 if (shift == BITS_PER_WORD) { in poly2_from_bits()45 word >>= BITS_PER_WORD - shift; in poly2_from_bits()
250 static const size_t BITS_PER_WORD = sizeof(size_t) * 8;251 static const size_t ELEMENTS_PER_WORD = BITS_PER_WORD / BitsPerElementT;255 static_assert(ELEMENTS_PER_WORD * BitsPerElementT == BITS_PER_WORD,
1099 BITS_PER_WORD = 8 variable1102 return ((x - 1) / BITS_PER_WORD) + 11105 return (x % BITS_PER_WORD)1111 return (x / BITS_PER_WORD)
250 #define BITS_PER_WORD (8*sizeof(bpf_u_int32)) macro255 ((p)[(unsigned)(a) / BITS_PER_WORD] & (1 << ((unsigned)(a) % BITS_PER_WORD)))261 (p)[(unsigned)(a) / BITS_PER_WORD] |= (1 << ((unsigned)(a) % BITS_PER_WORD))267 (p)[(unsigned)(a) / BITS_PER_WORD] &= ~(1 << ((unsigned)(a) % BITS_PER_WORD))1484 k += i * BITS_PER_WORD; in opt_j()
186 assert(Bits <= BITS_PER_WORD && "bitwidth too big"); in BitcodeInt()191 return static_cast<int64_t>(Val << (BITS_PER_WORD - BitWidth)) >> in getSExtValue()192 (BITS_PER_WORD - BitWidth); in getSExtValue()206 static const Ice::SizeT BITS_PER_WORD = sizeof(uint64_t) * CHAR_BIT; member in __anon013ef65f0111::BitcodeInt214 if (BitWidth == BITS_PER_WORD) in clearUnusedBits()218 Val &= ~static_cast<uint64_t>(0) >> (BITS_PER_WORD - BitWidth); in clearUnusedBits()