Lines Matching refs:carry
59 crypto_uint32 carry; in barrett_reduce() local
69 carry = q2[31] >> 8; in barrett_reduce()
70 q2[32] += carry; in barrett_reduce()
71 carry = q2[32] >> 8; in barrett_reduce()
72 q2[33] += carry; in barrett_reduce()
81 carry = r2[i] >> 8; in barrett_reduce()
82 r2[i+1] += carry; in barrett_reduce()
169 int i, carry; in sc25519_add() local
173 carry = r->v[i] >> 8; in sc25519_add()
174 r->v[i+1] += carry; in sc25519_add()
195 int i,j,carry; in sc25519_mul() local
206 carry = t[i] >> 8; in sc25519_mul()
207 t[i+1] += carry; in sc25519_mul()
223 char carry; in sc25519_window3() local
246 carry = 0; in sc25519_window3()
249 r[i] += carry; in sc25519_window3()
252 carry = r[i] >> 2; in sc25519_window3()
253 r[i] -= carry<<3; in sc25519_window3()
255 r[84] += carry; in sc25519_window3()
260 char carry; in sc25519_window5() local
283 carry = 0; in sc25519_window5()
286 r[i] += carry; in sc25519_window5()
289 carry = r[i] >> 4; in sc25519_window5()
290 r[i] -= carry<<5; in sc25519_window5()
292 r[50] += carry; in sc25519_window5()