Lines Matching refs:limb
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
59 out->limb[i] = (c448_word_t)chain; in sc_subx()
66 chain = (chain + out->limb[i]) + (p->limb[i] & borrow); in sc_subx()
67 out->limb[i] = (c448_word_t)chain; in sc_subx()
80 c448_word_t mand = a->limb[i]; in sc_montmul()
81 const c448_word_t *mier = b->limb; in sc_montmul()
93 mier = sc_p->limb; in sc_montmul()
120 sc_subx(out, a->limb, b, sc_p, 0); in ossl_curve448_scalar_sub()
131 chain = (chain + a->limb[i]) + b->limb[i]; in ossl_curve448_scalar_add()
132 out->limb[i] = (c448_word_t)chain; in ossl_curve448_scalar_add()
135 sc_subx(out, out->limb, sc_p, sc_p, (c448_word_t)chain); in ossl_curve448_scalar_add()
149 s->limb[i] = out; in scalar_decode_short()
162 accum = (accum + s->limb[i] - sc_p->limb[i]) >> WBITS; in ossl_curve448_scalar_decode()
221 ser[k] = s->limb[i] >> (8 * j); in ossl_curve448_scalar_encode()
228 c448_word_t mask = 0 - (a->limb[0] & 1); in ossl_curve448_scalar_halve()
233 chain = (chain + a->limb[i]) + (sc_p->limb[i] & mask); in ossl_curve448_scalar_halve()
234 out->limb[i] = (c448_word_t)chain; in ossl_curve448_scalar_halve()
238 out->limb[i] = out->limb[i] >> 1 | out->limb[i + 1] << (WBITS - 1); in ossl_curve448_scalar_halve()
239 out->limb[i] = out->limb[i] >> 1 | (c448_word_t)(chain << (WBITS - 1)); in ossl_curve448_scalar_halve()