Lines Matching refs:h1
100 u32 h0, h1, h2, h3, h4; in poly1305_blocks() local
122 h1 = dctx->h[1]; in poly1305_blocks()
131 h1 += (get_unaligned_le32(src + 3) >> 2) & 0x3ffffff; in poly1305_blocks()
137 d0 = mlt(h0, r0) + mlt(h1, s4) + mlt(h2, s3) + in poly1305_blocks()
139 d1 = mlt(h0, r1) + mlt(h1, r0) + mlt(h2, s4) + in poly1305_blocks()
141 d2 = mlt(h0, r2) + mlt(h1, r1) + mlt(h2, r0) + in poly1305_blocks()
143 d3 = mlt(h0, r3) + mlt(h1, r2) + mlt(h2, r1) + in poly1305_blocks()
145 d4 = mlt(h0, r4) + mlt(h1, r3) + mlt(h2, r2) + in poly1305_blocks()
150 d2 += sr(d1, 26); h1 = and(d1, 0x3ffffff); in poly1305_blocks()
154 h1 += h0 >> 26; h0 = h0 & 0x3ffffff; in poly1305_blocks()
161 dctx->h[1] = h1; in poly1305_blocks()
207 u32 h0, h1, h2, h3, h4; in crypto_poly1305_final() local
224 h1 = dctx->h[1]; in crypto_poly1305_final()
229 h2 += (h1 >> 26); h1 = h1 & 0x3ffffff; in crypto_poly1305_final()
233 h1 += (h0 >> 26); h0 = h0 & 0x3ffffff; in crypto_poly1305_final()
237 g1 = h1 + (g0 >> 26); g0 &= 0x3ffffff; in crypto_poly1305_final()
251 h1 = (h1 & mask) | g1; in crypto_poly1305_final()
257 h0 = (h0 >> 0) | (h1 << 26); in crypto_poly1305_final()
258 h1 = (h1 >> 6) | (h2 << 20); in crypto_poly1305_final()
264 f = (f >> 32) + h1 + dctx->s[1]; put_unaligned_le32(f, dst + 4); in crypto_poly1305_final()