Lines Matching refs:h0
87 u64 h0, h1, h2, c; in poly1305_blocks() local
98 h0 = st->h[0]; in poly1305_blocks()
109 h0 += m0 & 0x0fffffffffff; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
119 h0 = (u64)d0 & 0x0fffffffffff; in poly1305_blocks()
124 h0 += c + (c << 2); in poly1305_blocks()
130 st->h[0] = h0; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
143 h0 = st->h[0]; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
153 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
162 h0 = (h0 & mask) | g0; in poly1305_emit()
166 h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1]<<32)); in poly1305_emit()
169 U64TO8(mac + 0, h0); in poly1305_emit()