Lines Matching refs:s

221 void sc25519_window3(signed char r[85], const sc25519 *s)  in sc25519_window3()  argument
227 r[8*i+0] = s->v[3*i+0] & 7; in sc25519_window3()
228 r[8*i+1] = (s->v[3*i+0] >> 3) & 7; in sc25519_window3()
229 r[8*i+2] = (s->v[3*i+0] >> 6) & 7; in sc25519_window3()
230 r[8*i+2] ^= (s->v[3*i+1] << 2) & 7; in sc25519_window3()
231 r[8*i+3] = (s->v[3*i+1] >> 1) & 7; in sc25519_window3()
232 r[8*i+4] = (s->v[3*i+1] >> 4) & 7; in sc25519_window3()
233 r[8*i+5] = (s->v[3*i+1] >> 7) & 7; in sc25519_window3()
234 r[8*i+5] ^= (s->v[3*i+2] << 1) & 7; in sc25519_window3()
235 r[8*i+6] = (s->v[3*i+2] >> 2) & 7; in sc25519_window3()
236 r[8*i+7] = (s->v[3*i+2] >> 5) & 7; in sc25519_window3()
238 r[8*i+0] = s->v[3*i+0] & 7; in sc25519_window3()
239 r[8*i+1] = (s->v[3*i+0] >> 3) & 7; in sc25519_window3()
240 r[8*i+2] = (s->v[3*i+0] >> 6) & 7; in sc25519_window3()
241 r[8*i+2] ^= (s->v[3*i+1] << 2) & 7; in sc25519_window3()
242 r[8*i+3] = (s->v[3*i+1] >> 1) & 7; in sc25519_window3()
243 r[8*i+4] = (s->v[3*i+1] >> 4) & 7; in sc25519_window3()
258 void sc25519_window5(signed char r[51], const sc25519 *s) in sc25519_window5() argument
264 r[8*i+0] = s->v[5*i+0] & 31; in sc25519_window5()
265 r[8*i+1] = (s->v[5*i+0] >> 5) & 31; in sc25519_window5()
266 r[8*i+1] ^= (s->v[5*i+1] << 3) & 31; in sc25519_window5()
267 r[8*i+2] = (s->v[5*i+1] >> 2) & 31; in sc25519_window5()
268 r[8*i+3] = (s->v[5*i+1] >> 7) & 31; in sc25519_window5()
269 r[8*i+3] ^= (s->v[5*i+2] << 1) & 31; in sc25519_window5()
270 r[8*i+4] = (s->v[5*i+2] >> 4) & 31; in sc25519_window5()
271 r[8*i+4] ^= (s->v[5*i+3] << 4) & 31; in sc25519_window5()
272 r[8*i+5] = (s->v[5*i+3] >> 1) & 31; in sc25519_window5()
273 r[8*i+6] = (s->v[5*i+3] >> 6) & 31; in sc25519_window5()
274 r[8*i+6] ^= (s->v[5*i+4] << 2) & 31; in sc25519_window5()
275 r[8*i+7] = (s->v[5*i+4] >> 3) & 31; in sc25519_window5()
277 r[8*i+0] = s->v[5*i+0] & 31; in sc25519_window5()
278 r[8*i+1] = (s->v[5*i+0] >> 5) & 31; in sc25519_window5()
279 r[8*i+1] ^= (s->v[5*i+1] << 3) & 31; in sc25519_window5()
280 r[8*i+2] = (s->v[5*i+1] >> 2) & 31; in sc25519_window5()