Lines Matching refs:h1
87 u64 h0, h1, h2, c; in poly1305_blocks() local
99 h1 = st->h[1]; in poly1305_blocks()
110 h1 += ((m0 >> 44) | (m1 << 20)) & 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()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
131 st->h[1] = h1; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
144 h1 = st->h[1]; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
154 g1 = (u64)(t = (u128)h1 + (t >> 64)); in poly1305_emit()
163 h1 = (h1 & mask) | g1; in poly1305_emit()
167 h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3]<<32) + (t >> 64)); in poly1305_emit()
170 U64TO8(mac + 8, h1); in poly1305_emit()