Lines Matching refs:st

112     poly1305_internal *st = (poly1305_internal *) ctx;  in poly1305_init()  local
117 st->h[0].d = TWO(52)*TWO0; in poly1305_init()
118 st->h[1].d = TWO(52)*TWO32; in poly1305_init()
119 st->h[2].d = TWO(52)*TWO64; in poly1305_init()
120 st->h[3].d = TWO(52)*TWO96; in poly1305_init()
122 st->h[0].u = EXP(52+0); in poly1305_init()
123 st->h[1].u = EXP(52+32); in poly1305_init()
124 st->h[2].u = EXP(52+64); in poly1305_init()
125 st->h[3].u = EXP(52+96); in poly1305_init()
165 st->r[0] = r0.d - TWO(52)*TWO0; in poly1305_init()
166 st->r[2] = r1.d - TWO(52)*TWO32; in poly1305_init()
167 st->r[4] = r2.d - TWO(52)*TWO64; in poly1305_init()
168 st->r[6] = r3.d - TWO(52)*TWO96; in poly1305_init()
170 st->s[0] = st->r[2] * (5.0/TWO130); in poly1305_init()
171 st->s[2] = st->r[4] * (5.0/TWO130); in poly1305_init()
172 st->s[4] = st->r[6] * (5.0/TWO130); in poly1305_init()
177 st->r[1] = (st->r[0] + TWO(52)*TWO(16)*TWO0) - in poly1305_init()
179 st->r[0] -= st->r[1]; in poly1305_init()
181 st->r[3] = (st->r[2] + TWO(52)*TWO(16)*TWO32) - in poly1305_init()
183 st->r[2] -= st->r[3]; in poly1305_init()
185 st->r[5] = (st->r[4] + TWO(52)*TWO(16)*TWO64) - in poly1305_init()
187 st->r[4] -= st->r[5]; in poly1305_init()
189 st->r[7] = (st->r[6] + TWO(52)*TWO(16)*TWO96) - in poly1305_init()
191 st->r[6] -= st->r[7]; in poly1305_init()
193 st->s[1] = (st->s[0] + TWO(52)*TWO(16)*TWO0/TWO96) - in poly1305_init()
195 st->s[0] -= st->s[1]; in poly1305_init()
197 st->s[3] = (st->s[2] + TWO(52)*TWO(16)*TWO32/TWO96) - in poly1305_init()
199 st->s[2] -= st->s[3]; in poly1305_init()
201 st->s[5] = (st->s[4] + TWO(52)*TWO(16)*TWO64/TWO96) - in poly1305_init()
203 st->s[4] -= st->s[5]; in poly1305_init()
227 poly1305_internal *st = (poly1305_internal *)ctx; in poly1305_blocks() local
235 const double r0lo = st->r[0]; in poly1305_blocks()
236 const double r0hi = st->r[1]; in poly1305_blocks()
237 const double r1lo = st->r[2]; in poly1305_blocks()
238 const double r1hi = st->r[3]; in poly1305_blocks()
239 const double r2lo = st->r[4]; in poly1305_blocks()
240 const double r2hi = st->r[5]; in poly1305_blocks()
241 const double r3lo = st->r[6]; in poly1305_blocks()
242 const double r3hi = st->r[7]; in poly1305_blocks()
244 const double s1lo = st->s[0]; in poly1305_blocks()
245 const double s1hi = st->s[1]; in poly1305_blocks()
246 const double s2lo = st->s[2]; in poly1305_blocks()
247 const double s2hi = st->s[3]; in poly1305_blocks()
248 const double s3lo = st->s[4]; in poly1305_blocks()
249 const double s3hi = st->s[5]; in poly1305_blocks()
284 h0lo = st->h[0].d - TWO(52)*TWO0; in poly1305_blocks()
285 h1lo = st->h[1].d - TWO(52)*TWO32; in poly1305_blocks()
286 h2lo = st->h[2].d - TWO(52)*TWO64; in poly1305_blocks()
287 h3lo = st->h[3].d - TWO(52)*TWO96; in poly1305_blocks()
409 st->h[1].d = x1 + TWO(52)*TWO32; in poly1305_blocks()
410 st->h[2].d = x2 + TWO(52)*TWO64; in poly1305_blocks()
411 st->h[3].d = x3 + TWO(52)*TWO96; in poly1305_blocks()
412 st->h[0].d = x0 + TWO(52)*TWO0; in poly1305_blocks()
432 poly1305_internal *st = (poly1305_internal *) ctx; in poly1305_emit() local
441 h0 = st->h[0].u & 0x000fffffffffffffULL; in poly1305_emit()
442 h1 = st->h[1].u & 0x000fffffffffffffULL; in poly1305_emit()
443 h2 = st->h[2].u & 0x000fffffffffffffULL; in poly1305_emit()
444 h3 = st->h[3].u & 0x000fffffffffffffULL; in poly1305_emit()