Lines Matching +full:8 +full:th
47 #define VMAC_KEY_LEN (VMAC_KEY_SIZE/8)
54 u64 nhkey[(VMAC_NHBYTES/8)+2*(VMAC_TAG_LEN/64-1)];
63 __le64 partial_words[VMAC_NHBYTES / 8];
70 __be64 pads[VMAC_NONCEBYTES / 8];
151 int i; u64 th, tl; \
154 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
156 ADD128(rh, rl, th, tl); \
162 int i; u64 th, tl; \
165 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
167 ADD128(rh, rl, th, tl); \
168 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
170 ADD128(rh1, rl1, th, tl); \
177 int i; u64 th, tl; \
179 for (i = 0; i < nw; i += 8) { \
180 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
182 ADD128(rh, rl, th, tl); \
183 MUL64(th, tl, pe64_to_cpup((mp)+i+2)+(kp)[i+2], \
185 ADD128(rh, rl, th, tl); \
186 MUL64(th, tl, pe64_to_cpup((mp)+i+4)+(kp)[i+4], \
188 ADD128(rh, rl, th, tl); \
189 MUL64(th, tl, pe64_to_cpup((mp)+i+6)+(kp)[i+6], \
191 ADD128(rh, rl, th, tl); \
197 int i; u64 th, tl; \
199 for (i = 0; i < nw; i += 8) { \
200 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
202 ADD128(rh, rl, th, tl); \
203 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
205 ADD128(rh1, rl1, th, tl); \
206 MUL64(th, tl, pe64_to_cpup((mp)+i+2)+(kp)[i+2], \
208 ADD128(rh, rl, th, tl); \
209 MUL64(th, tl, pe64_to_cpup((mp)+i+2)+(kp)[i+4], \
211 ADD128(rh1, rl1, th, tl); \
212 MUL64(th, tl, pe64_to_cpup((mp)+i+4)+(kp)[i+4], \
214 ADD128(rh, rl, th, tl); \
215 MUL64(th, tl, pe64_to_cpup((mp)+i+4)+(kp)[i+6], \
217 ADD128(rh1, rl1, th, tl); \
218 MUL64(th, tl, pe64_to_cpup((mp)+i+6)+(kp)[i+6], \
220 ADD128(rh, rl, th, tl); \
221 MUL64(th, tl, pe64_to_cpup((mp)+i+6)+(kp)[i+8], \
223 ADD128(rh1, rl1, th, tl); \
389 rh <<= 8; in l3hash()
391 t += t << 8; in l3hash()
412 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
420 nh_vmac_nhbytes(mptr, kptr, VMAC_NHBYTES/8, rh, rl); in vhash_blocks()
549 nh_16(dctx->partial_words, tctx->nhkey, n / 8, rh, rl); in vhash_final()
559 return l3hash(ch, cl, tctx->l3key[0], tctx->l3key[1], partial * 8); in vhash_final()
585 BUILD_BUG_ON(VMAC_NONCEBYTES != 2 * (VMAC_TAG_LEN / 8)); in vmac_final()
658 inst->alg.digestsize = VMAC_TAG_LEN / 8; in vmac_create()