Lines Matching refs:LIMBPERM
35 buffer |= ((dword_t) red->limb[LIMBPERM(j)]) << fill; in gf_serialize()
36 fill += LIMB_PLACE_VALUE(LIMBPERM(j)); in gf_serialize()
77 while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < nbytes) { in gf_deserialize()
87 x->limb[LIMBPERM(i)] = (word_t) in gf_deserialize()
88 ((i < NLIMBS - 1) ? buffer & LIMB_MASK(LIMBPERM(i)) : buffer); in gf_deserialize()
89 fill -= LIMB_PLACE_VALUE(LIMBPERM(i)); in gf_deserialize()
90 buffer >>= LIMB_PLACE_VALUE(LIMBPERM(i)); in gf_deserialize()
92 (scarry + x->limb[LIMBPERM(i)] - in gf_deserialize()
93 MODULUS->limb[LIMBPERM(i)]) >> (8 * sizeof(word_t)); in gf_deserialize()
115 scarry = scarry + a->limb[LIMBPERM(i)] - MODULUS->limb[LIMBPERM(i)]; in gf_strong_reduce()
116 a->limb[LIMBPERM(i)] = scarry & LIMB_MASK(LIMBPERM(i)); in gf_strong_reduce()
117 scarry >>= LIMB_PLACE_VALUE(LIMBPERM(i)); in gf_strong_reduce()
132 carry + a->limb[LIMBPERM(i)] + in gf_strong_reduce()
133 (scarry_0 & MODULUS->limb[LIMBPERM(i)]); in gf_strong_reduce()
134 a->limb[LIMBPERM(i)] = carry & LIMB_MASK(LIMBPERM(i)); in gf_strong_reduce()
135 carry >>= LIMB_PLACE_VALUE(LIMBPERM(i)); in gf_strong_reduce()
167 ret |= c->limb[LIMBPERM(i)]; in gf_eq()