Lines Matching refs:h1
38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
59 h1 = state->h[1]; in poly1305_core_blocks()
67 h1 += (get_unaligned_le32(&input[3]) >> 2) & 0x3ffffff; in poly1305_core_blocks()
73 d0 = ((u64)h0 * r0) + ((u64)h1 * s4) + in poly1305_core_blocks()
76 d1 = ((u64)h0 * r1) + ((u64)h1 * r0) + in poly1305_core_blocks()
79 d2 = ((u64)h0 * r2) + ((u64)h1 * r1) + in poly1305_core_blocks()
82 d3 = ((u64)h0 * r3) + ((u64)h1 * r2) + in poly1305_core_blocks()
85 d4 = ((u64)h0 * r4) + ((u64)h1 * r3) + in poly1305_core_blocks()
94 h1 = (u32)d1 & 0x3ffffff; in poly1305_core_blocks()
107 h1 += c; in poly1305_core_blocks()
113 state->h[1] = h1; in poly1305_core_blocks()
124 u32 h0, h1, h2, h3, h4, c; in poly1305_core_emit() local
131 h1 = state->h[1]; in poly1305_core_emit()
136 c = h1 >> 26; in poly1305_core_emit()
137 h1 = h1 & 0x3ffffff; in poly1305_core_emit()
150 h1 += c; in poly1305_core_emit()
156 g1 = h1 + c; in poly1305_core_emit()
177 h1 = (h1 & mask) | g1; in poly1305_core_emit()
183 h0 = ((h0) | (h1 << 26)) & 0xffffffff; in poly1305_core_emit()
184 h1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff; in poly1305_core_emit()
192 f = (u64)h1 + nonce[1] + (f >> 32); in poly1305_core_emit()
193 h1 = (u32)f; in poly1305_core_emit()
201 put_unaligned_le32(h1, &mac[4]); in poly1305_core_emit()