Lines Matching refs:h2
97 u32 h0, h1, h2, h3, h4; in poly1305_blocks_internal() local
116 h2 = state->h[2]; in poly1305_blocks_internal()
124 h2 += (get_unaligned_le32(src + 6) >> 4) & 0x3ffffff; in poly1305_blocks_internal()
129 d0 = mlt(h0, r0) + mlt(h1, s4) + mlt(h2, s3) + in poly1305_blocks_internal()
131 d1 = mlt(h0, r1) + mlt(h1, r0) + mlt(h2, s4) + in poly1305_blocks_internal()
133 d2 = mlt(h0, r2) + mlt(h1, r1) + mlt(h2, r0) + in poly1305_blocks_internal()
135 d3 = mlt(h0, r3) + mlt(h1, r2) + mlt(h2, r1) + in poly1305_blocks_internal()
137 d4 = mlt(h0, r4) + mlt(h1, r3) + mlt(h2, r2) + in poly1305_blocks_internal()
143 d3 += sr(d2, 26); h2 = and(d2, 0x3ffffff); in poly1305_blocks_internal()
153 state->h[2] = h2; in poly1305_blocks_internal()
218 u32 h0, h1, h2, h3, h4; in poly1305_core_emit() local
225 h2 = state->h[2]; in poly1305_core_emit()
229 h2 += (h1 >> 26); h1 = h1 & 0x3ffffff; in poly1305_core_emit()
230 h3 += (h2 >> 26); h2 = h2 & 0x3ffffff; in poly1305_core_emit()
238 g2 = h2 + (g1 >> 26); g1 &= 0x3ffffff; in poly1305_core_emit()
252 h2 = (h2 & mask) | g2; in poly1305_core_emit()
258 put_unaligned_le32((h1 >> 6) | (h2 << 20), dst + 4); in poly1305_core_emit()
259 put_unaligned_le32((h2 >> 12) | (h3 << 14), dst + 8); in poly1305_core_emit()