Lines Matching refs:hi
75 V.lo = (V.hi<<63)|(V.lo>>1); \
76 V.hi = (V.hi>>1 )^T; \
80 V.lo = (V.hi<<63)|(V.lo>>1); \
81 V.hi = (V.hi>>1 )^((u64)T<<32); \
126 Htable[0].hi = 0; in gcm_init_8bit()
128 V.hi = H[0]; in gcm_init_8bit()
139 Hi[j].hi = H0.hi^Htable[j].hi; in gcm_init_8bit()
218 Z.hi ^= Htable[n].hi; in gcm_gmult_8bit()
226 Z.lo = (Z.hi<<56)|(Z.lo>>8); in gcm_gmult_8bit()
227 Z.hi = (Z.hi>>8); in gcm_gmult_8bit()
229 Z.hi ^= rem_8bit[rem]; in gcm_gmult_8bit()
231 Z.hi ^= (u64)rem_8bit[rem]<<32; in gcm_gmult_8bit()
236 Xi[0] = BSWAP8(Z.hi); in gcm_gmult_8bit()
241 v = (u32)(Z.hi>>32); PUTU32(p,v); in gcm_gmult_8bit()
242 v = (u32)(Z.hi); PUTU32(p+4,v); in gcm_gmult_8bit()
248 Xi[0] = Z.hi; in gcm_gmult_8bit()
263 Htable[0].hi = 0; in gcm_init_4bit()
265 V.hi = H[0]; in gcm_init_4bit()
278 Hi[j].hi = V.hi^Htable[j].hi; in gcm_init_4bit()
290 Htable[3].hi = V.hi^Htable[2].hi, Htable[3].lo = V.lo^Htable[2].lo; in gcm_init_4bit()
292 Htable[5].hi = V.hi^Htable[1].hi, Htable[5].lo = V.lo^Htable[1].lo; in gcm_init_4bit()
293 Htable[6].hi = V.hi^Htable[2].hi, Htable[6].lo = V.lo^Htable[2].lo; in gcm_init_4bit()
294 Htable[7].hi = V.hi^Htable[3].hi, Htable[7].lo = V.lo^Htable[3].lo; in gcm_init_4bit()
296 Htable[9].hi = V.hi^Htable[1].hi, Htable[9].lo = V.lo^Htable[1].lo; in gcm_init_4bit()
297 Htable[10].hi = V.hi^Htable[2].hi, Htable[10].lo = V.lo^Htable[2].lo; in gcm_init_4bit()
298 Htable[11].hi = V.hi^Htable[3].hi, Htable[11].lo = V.lo^Htable[3].lo; in gcm_init_4bit()
299 Htable[12].hi = V.hi^Htable[4].hi, Htable[12].lo = V.lo^Htable[4].lo; in gcm_init_4bit()
300 Htable[13].hi = V.hi^Htable[5].hi, Htable[13].lo = V.lo^Htable[5].lo; in gcm_init_4bit()
301 Htable[14].hi = V.hi^Htable[6].hi, Htable[14].lo = V.lo^Htable[6].lo; in gcm_init_4bit()
302 Htable[15].hi = V.hi^Htable[7].hi, Htable[15].lo = V.lo^Htable[7].lo; in gcm_init_4bit()
315 Htable[j].hi = V.lo; in gcm_init_4bit()
316 Htable[j].lo = V.hi; in gcm_init_4bit()
321 Htable[j].hi = V.lo<<32|V.lo>>32; in gcm_init_4bit()
322 Htable[j].lo = V.hi<<32|V.hi>>32; in gcm_init_4bit()
346 Z.hi = Htable[nlo].hi; in gcm_gmult_4bit()
351 Z.lo = (Z.hi<<60)|(Z.lo>>4); in gcm_gmult_4bit()
352 Z.hi = (Z.hi>>4); in gcm_gmult_4bit()
354 Z.hi ^= rem_4bit[rem]; in gcm_gmult_4bit()
356 Z.hi ^= (u64)rem_4bit[rem]<<32; in gcm_gmult_4bit()
358 Z.hi ^= Htable[nhi].hi; in gcm_gmult_4bit()
368 Z.lo = (Z.hi<<60)|(Z.lo>>4); in gcm_gmult_4bit()
369 Z.hi = (Z.hi>>4); in gcm_gmult_4bit()
371 Z.hi ^= rem_4bit[rem]; in gcm_gmult_4bit()
373 Z.hi ^= (u64)rem_4bit[rem]<<32; in gcm_gmult_4bit()
375 Z.hi ^= Htable[nlo].hi; in gcm_gmult_4bit()
381 Xi[0] = BSWAP8(Z.hi); in gcm_gmult_4bit()
386 v = (u32)(Z.hi>>32); PUTU32(p,v); in gcm_gmult_4bit()
387 v = (u32)(Z.hi); PUTU32(p+4,v); in gcm_gmult_4bit()
393 Xi[0] = Z.hi; in gcm_gmult_4bit()
422 Z.hi = Htable[nlo].hi;
427 Z.lo = (Z.hi<<60)|(Z.lo>>4);
428 Z.hi = (Z.hi>>4);
430 Z.hi ^= rem_4bit[rem];
432 Z.hi ^= (u64)rem_4bit[rem]<<32;
434 Z.hi ^= Htable[nhi].hi;
445 Z.lo = (Z.hi<<60)|(Z.lo>>4);
446 Z.hi = (Z.hi>>4);
448 Z.hi ^= rem_4bit[rem];
450 Z.hi ^= (u64)rem_4bit[rem]<<32;
452 Z.hi ^= Htable[nlo].hi;
504 Z.hi = Htable[cnt].hi;
506 Hshr4[cnt].lo = (Z.hi<<60)|(Z.lo>>4);
507 Hshr4[cnt].hi = (Z.hi>>4);
512 for (Z.lo=0, Z.hi=0, cnt=15; cnt; --cnt) {
518 Z.hi ^= Htable[nlo].hi;
523 Z.lo = (Z.hi<<56)|(Z.lo>>8);
524 Z.hi = (Z.hi>>8);
526 Z.hi ^= Hshr4[nhi].hi;
528 Z.hi ^= (u64)rem_8bit[rem^Hshl4[nhi]]<<48;
536 Z.hi ^= Htable[nlo].hi;
541 Z.lo = (Z.hi<<60)|(Z.lo>>4);
542 Z.hi = (Z.hi>>4);
544 Z.hi ^= Htable[nhi].hi;
546 Z.hi ^= ((u64)rem_8bit[rem<<4])<<48;
551 Xi[0] = BSWAP8(Z.hi);
556 v = (u32)(Z.hi>>32); PUTU32(p,v);
557 v = (u32)(Z.hi); PUTU32(p+4,v);
563 Xi[0] = Z.hi;
593 V.hi = H[0]; /* H is in host byte order, no byte swapping */
616 Z.hi ^= V.hi&M;
625 Xi[0] = BSWAP8(Z.hi);
630 v = (u32)(Z.hi>>32); PUTU32(p,v);
631 v = (u32)(Z.hi); PUTU32(p+4,v);
637 Xi[0] = Z.hi;
703 u64 hi,lo;
704 hi = (u64)GETU32(p) <<32|GETU32(p+4);
706 ctx->H.u[0] = hi;