Lines Matching refs:UINT64

94 typedef u_int64_t	UINT64; /* 8 bytes  */  typedef
131 #define MUL64(a,b) ((UINT64)((UINT64)(UINT32)(a) * (UINT64)(UINT32)(b)))
272 *((UINT64 *)buf) ^= ((UINT64 *)pc->cache)[ndx]; in pdf_gen_xor()
274 ((UINT64 *)buf)[0] ^= ((UINT64 *)pc->cache)[0]; in pdf_gen_xor()
277 ((UINT64 *)buf)[0] ^= ((UINT64 *)pc->cache)[0]; in pdf_gen_xor()
278 ((UINT64 *)buf)[1] ^= ((UINT64 *)pc->cache)[1]; in pdf_gen_xor()
326 UINT64 state[STREAMS]; /* on-line state */
339 UINT64 h; in nh_aux()
346 h = *((UINT64 *)hp); in nh_aux()
362 *((UINT64 *)hp) = h; in nh_aux()
372 UINT64 h1,h2; in nh_aux()
380 h1 = *((UINT64 *)hp); in nh_aux()
381 h2 = *((UINT64 *)hp + 1); in nh_aux()
408 ((UINT64 *)hp)[0] = h1; in nh_aux()
409 ((UINT64 *)hp)[1] = h2; in nh_aux()
419 UINT64 h1,h2,h3; in nh_aux()
427 h1 = *((UINT64 *)hp); in nh_aux()
428 h2 = *((UINT64 *)hp + 1); in nh_aux()
429 h3 = *((UINT64 *)hp + 2); in nh_aux()
462 ((UINT64 *)hp)[0] = h1; in nh_aux()
463 ((UINT64 *)hp)[1] = h2; in nh_aux()
464 ((UINT64 *)hp)[2] = h3; in nh_aux()
474 UINT64 h1,h2,h3,h4; in nh_aux()
483 h1 = *((UINT64 *)hp); in nh_aux()
484 h2 = *((UINT64 *)hp + 1); in nh_aux()
485 h3 = *((UINT64 *)hp + 2); in nh_aux()
486 h4 = *((UINT64 *)hp + 3); in nh_aux()
525 ((UINT64 *)hp)[0] = h1; in nh_aux()
526 ((UINT64 *)hp)[1] = h2; in nh_aux()
527 ((UINT64 *)hp)[2] = h3; in nh_aux()
528 ((UINT64 *)hp)[3] = h4; in nh_aux()
693 ((UINT64 *)result)[0] = ((UINT64 *)hc->state)[0] + nbits; in nh_final()
695 ((UINT64 *)result)[1] = ((UINT64 *)hc->state)[1] + nbits; in nh_final()
698 ((UINT64 *)result)[2] = ((UINT64 *)hc->state)[2] + nbits; in nh_final()
701 ((UINT64 *)result)[3] = ((UINT64 *)hc->state)[3] + nbits; in nh_final()
720 ((UINT64 *)result)[0] = nbits; in nh()
722 ((UINT64 *)result)[1] = nbits; in nh()
725 ((UINT64 *)result)[2] = nbits; in nh()
728 ((UINT64 *)result)[3] = nbits; in nh()
769 #define p36 ((UINT64)0x0000000FFFFFFFFBull) /* 2^36 - 5 */
770 #define p64 ((UINT64)0xFFFFFFFFFFFFFFC5ull) /* 2^64 - 59 */
771 #define m36 ((UINT64)0x0000000FFFFFFFFFull) /* The low 36 of 64 bits */
778 UINT64 poly_key_8[STREAMS]; /* p64 poly keys */
779 UINT64 poly_accum[STREAMS]; /* poly hash result */
780 UINT64 ip_keys[STREAMS*4]; /* Inner-product keys */
798 static UINT64 poly64(UINT64 cur, UINT64 key, UINT64 data) in poly64()
806 UINT64 X,T,res; in poly64()
814 T = ((UINT64)x_lo << 32); in poly64()
836 UINT64 *data=(UINT64*)data_in; in poly_hash()
861 static UINT64 ip_aux(UINT64 t, UINT64 *ipkp, UINT64 data) in ip_aux()
863 t = t + ipkp[0] * (UINT64)(UINT16)(data >> 48); in ip_aux()
864 t = t + ipkp[1] * (UINT64)(UINT16)(data >> 32); in ip_aux()
865 t = t + ipkp[2] * (UINT64)(UINT16)(data >> 16); in ip_aux()
866 t = t + ipkp[3] * (UINT64)(UINT16)(data); in ip_aux()
871 static UINT32 ip_reduce_p36(UINT64 t) in ip_reduce_p36()
874 UINT64 ret; in ip_reduce_p36()
891 UINT64 t; in ip_short()
892 UINT64 *nhp = (UINT64 *)nh_res; in ip_short()
917 UINT64 t; in ip_long()
962 UINT8 buf[(8*STREAMS+4)*sizeof(UINT64)]; in uhash_init()
980 ahc->poly_key_8[i] &= ((UINT64)0x01ffffffu << 32) + 0x01ffffffu; in uhash_init()
987 memcpy(ahc->ip_keys+4*i, buf+(8*i+4)*sizeof(UINT64), in uhash_init()
988 4*sizeof(UINT64)); in uhash_init()
989 endian_convert_if_le(ahc->ip_keys, sizeof(UINT64), in uhash_init()
1053 UINT64 result_buf[STREAMS]; in uhash_update()
1106 UINT64 result_buf[STREAMS]; in uhash_final()
1130 UINT8 nh_result[STREAMS*sizeof(UINT64)];