Searched refs:BITS_IN_LAST_WORD (Results 1 – 3 of 3) sorted by relevance
82 p->s.v[WORDS_PER_POLY - 1] &= (UINT64_C(1) << BITS_IN_LAST_WORD) - 1; in poly3_rand()83 p->a.v[WORDS_PER_POLY - 1] &= (UINT64_C(1) << BITS_IN_LAST_WORD) - 1; in poly3_rand()148 UINT64_C(1) << BITS_IN_LAST_WORD); in TEST()157 x700.a.v[WORDS_PER_POLY-1] = UINT64_C(1) << (BITS_IN_LAST_WORD - 1); in TEST()164 EXPECT_EQ((UINT64_C(1) << (BITS_IN_LAST_WORD - 1)) - 1, in TEST()
363 out->v[n + i] = carry | in->v[i] << BITS_IN_LAST_WORD; in poly2_rotr_words()364 carry = in->v[i] >> (BITS_PER_WORD - BITS_IN_LAST_WORD); in poly2_rotr_words()385 BITS_IN_LAST_WORD >= BITS_PER_WORD / 2, in poly2_rotr_bits()395 crypto_word_t last_word = carry >> (BITS_PER_WORD - BITS_IN_LAST_WORD) | in poly2_rotr_bits()397 last_word &= (UINT64_C(1) << BITS_IN_LAST_WORD) - 1; in poly2_rotr_bits()404 assert(p->v[WORDS_PER_POLY-1] >> BITS_IN_LAST_WORD == 0); in HRSS_poly2_rotr_consttime()472 p->v[WORDS_PER_POLY - 1] &= (UINT64_C(1) << BITS_IN_LAST_WORD) - 1; in poly2_clear_top_bits()479 ~((UINT64_C(1) << BITS_IN_LAST_WORD) - 1)) == 0; in poly2_top_bits_are_clear()522 p.s.v[WORDS_PER_POLY - 1] &= ((crypto_word_t)1 << BITS_IN_LAST_WORD) - 1; in poly3_print()523 p.a.v[WORDS_PER_POLY - 1] &= ((crypto_word_t)1 << BITS_IN_LAST_WORD) - 1; in poly3_print()[all …]
29 #define BITS_IN_LAST_WORD (N % BITS_PER_WORD) macro