Lines Matching refs:st
135 poly1305_internal *st = (poly1305_internal *) ctx; in poly1305_init() local
138 st->h[0] = 0; in poly1305_init()
139 st->h[1] = 0; in poly1305_init()
140 st->h[2] = 0; in poly1305_init()
143 st->r[0] = U8TOU64(&key[0]) & 0x0ffffffc0fffffff; in poly1305_init()
144 st->r[1] = U8TOU64(&key[8]) & 0x0ffffffc0ffffffc; in poly1305_init()
150 poly1305_internal *st = (poly1305_internal *)ctx; in poly1305_blocks() local
156 r0 = st->r[0]; in poly1305_blocks()
157 r1 = st->r[1]; in poly1305_blocks()
161 h0 = st->h[0]; in poly1305_blocks()
162 h1 = st->h[1]; in poly1305_blocks()
163 h2 = st->h[2]; in poly1305_blocks()
208 st->h[0] = h0; in poly1305_blocks()
209 st->h[1] = h1; in poly1305_blocks()
210 st->h[2] = h2; in poly1305_blocks()
216 poly1305_internal *st = (poly1305_internal *) ctx; in poly1305_emit() local
222 h0 = st->h[0]; in poly1305_emit()
223 h1 = st->h[1]; in poly1305_emit()
224 h2 = st->h[2]; in poly1305_emit()
273 poly1305_internal *st = (poly1305_internal *) ctx; in poly1305_init() local
276 st->h[0] = 0; in poly1305_init()
277 st->h[1] = 0; in poly1305_init()
278 st->h[2] = 0; in poly1305_init()
279 st->h[3] = 0; in poly1305_init()
280 st->h[4] = 0; in poly1305_init()
283 st->r[0] = U8TOU32(&key[0]) & 0x0fffffff; in poly1305_init()
284 st->r[1] = U8TOU32(&key[4]) & 0x0ffffffc; in poly1305_init()
285 st->r[2] = U8TOU32(&key[8]) & 0x0ffffffc; in poly1305_init()
286 st->r[3] = U8TOU32(&key[12]) & 0x0ffffffc; in poly1305_init()
292 poly1305_internal *st = (poly1305_internal *)ctx; in poly1305_blocks() local
298 r0 = st->r[0]; in poly1305_blocks()
299 r1 = st->r[1]; in poly1305_blocks()
300 r2 = st->r[2]; in poly1305_blocks()
301 r3 = st->r[3]; in poly1305_blocks()
307 h0 = st->h[0]; in poly1305_blocks()
308 h1 = st->h[1]; in poly1305_blocks()
309 h2 = st->h[2]; in poly1305_blocks()
310 h3 = st->h[3]; in poly1305_blocks()
311 h4 = st->h[4]; in poly1305_blocks()
372 st->h[0] = h0; in poly1305_blocks()
373 st->h[1] = h1; in poly1305_blocks()
374 st->h[2] = h2; in poly1305_blocks()
375 st->h[3] = h3; in poly1305_blocks()
376 st->h[4] = h4; in poly1305_blocks()
382 poly1305_internal *st = (poly1305_internal *) ctx; in poly1305_emit() local
388 h0 = st->h[0]; in poly1305_emit()
389 h1 = st->h[1]; in poly1305_emit()
390 h2 = st->h[2]; in poly1305_emit()
391 h3 = st->h[3]; in poly1305_emit()
392 h4 = st->h[4]; in poly1305_emit()