Lines Matching refs:accum
49 const c448_word_t accum[C448_SCALAR_LIMBS], in sc_subx()
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul() local
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
91 mand = accum[0] * MONTGOMERY_FACTOR; in sc_montmul()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
102 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
106 sc_subx(out, accum, sc_p, sc_p, hi_carry); in sc_montmul()
158 c448_dsword_t accum = 0; in ossl_curve448_scalar_decode() local
162 accum = (accum + s->limb[i] - sc_p->limb[i]) >> WBITS; in ossl_curve448_scalar_decode()
167 return c448_succeed_if(~word_is_zero((uint32_t)accum)); in ossl_curve448_scalar_decode()