Lines Matching refs:h0
38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
58 h0 = state->h[0]; in poly1305_core_blocks()
66 h0 += (get_unaligned_le32(&input[0])) & 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()
91 h0 = (u32)d0 & 0x3ffffff; in poly1305_core_blocks()
104 h0 += c * 5; in poly1305_core_blocks()
105 c = (h0 >> 26); in poly1305_core_blocks()
106 h0 = h0 & 0x3ffffff; in poly1305_core_blocks()
112 state->h[0] = h0; in poly1305_core_blocks()
124 u32 h0, h1, h2, h3, h4, c; in poly1305_core_emit() local
130 h0 = state->h[0]; in poly1305_core_emit()
147 h0 += c * 5; in poly1305_core_emit()
148 c = h0 >> 26; in poly1305_core_emit()
149 h0 = h0 & 0x3ffffff; in poly1305_core_emit()
153 g0 = h0 + 5; in poly1305_core_emit()
176 h0 = (h0 & mask) | g0; in poly1305_core_emit()
183 h0 = ((h0) | (h1 << 26)) & 0xffffffff; in poly1305_core_emit()
190 f = (u64)h0 + nonce[0]; in poly1305_core_emit()
191 h0 = (u32)f; in poly1305_core_emit()
200 put_unaligned_le32(h0, &mac[0]); in poly1305_core_emit()