Lines Matching refs:h2
37 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
59 h2 = state->h[2]; in poly1305_core_blocks()
67 h2 += (get_unaligned_le32(&input[6]) >> 4) & 0x3ffffff; in poly1305_core_blocks()
73 ((u64)h2 * s3) + ((u64)h3 * s2) + in poly1305_core_blocks()
76 ((u64)h2 * s4) + ((u64)h3 * s3) + in poly1305_core_blocks()
79 ((u64)h2 * r0) + ((u64)h3 * s4) + in poly1305_core_blocks()
82 ((u64)h2 * r1) + ((u64)h3 * r0) + in poly1305_core_blocks()
85 ((u64)h2 * r2) + ((u64)h3 * r1) + in poly1305_core_blocks()
96 h2 = (u32)d2 & 0x3ffffff; in poly1305_core_blocks()
113 state->h[2] = h2; in poly1305_core_blocks()
123 u32 h0, h1, h2, h3, h4, c; in poly1305_core_emit() local
131 h2 = state->h[2]; in poly1305_core_emit()
137 h2 += c; in poly1305_core_emit()
138 c = h2 >> 26; in poly1305_core_emit()
139 h2 = h2 & 0x3ffffff; in poly1305_core_emit()
158 g2 = h2 + c; in poly1305_core_emit()
177 h2 = (h2 & mask) | g2; in poly1305_core_emit()
183 h1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff; in poly1305_core_emit()
184 h2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff; in poly1305_core_emit()
193 f = (u64)h2 + nonce[2] + (f >> 32); in poly1305_core_emit()
194 h2 = (u32)f; in poly1305_core_emit()
201 put_unaligned_le32(h2, &mac[8]); in poly1305_core_emit()