Lines Matching refs:UINT64
93 typedef u_int64_t UINT64; /* 8 bytes */ typedef
130 #define MUL64(a,b) ((UINT64)((UINT64)(UINT32)(a) * (UINT64)(UINT32)(b)))
267 *((UINT64 *)buf) ^= ((UINT64 *)pc->cache)[ndx]; in pdf_gen_xor()
269 ((UINT64 *)buf)[0] ^= ((UINT64 *)pc->cache)[0]; in pdf_gen_xor()
272 ((UINT64 *)buf)[0] ^= ((UINT64 *)pc->cache)[0]; in pdf_gen_xor()
273 ((UINT64 *)buf)[1] ^= ((UINT64 *)pc->cache)[1]; in pdf_gen_xor()
321 UINT64 state[STREAMS]; /* on-line state */
334 UINT64 h; in nh_aux()
341 h = *((UINT64 *)hp); in nh_aux()
357 *((UINT64 *)hp) = h; in nh_aux()
367 UINT64 h1,h2; in nh_aux()
375 h1 = *((UINT64 *)hp); in nh_aux()
376 h2 = *((UINT64 *)hp + 1); in nh_aux()
403 ((UINT64 *)hp)[0] = h1; in nh_aux()
404 ((UINT64 *)hp)[1] = h2; in nh_aux()
414 UINT64 h1,h2,h3; in nh_aux()
422 h1 = *((UINT64 *)hp); in nh_aux()
423 h2 = *((UINT64 *)hp + 1); in nh_aux()
424 h3 = *((UINT64 *)hp + 2); in nh_aux()
457 ((UINT64 *)hp)[0] = h1; in nh_aux()
458 ((UINT64 *)hp)[1] = h2; in nh_aux()
459 ((UINT64 *)hp)[2] = h3; in nh_aux()
469 UINT64 h1,h2,h3,h4; in nh_aux()
478 h1 = *((UINT64 *)hp); in nh_aux()
479 h2 = *((UINT64 *)hp + 1); in nh_aux()
480 h3 = *((UINT64 *)hp + 2); in nh_aux()
481 h4 = *((UINT64 *)hp + 3); in nh_aux()
520 ((UINT64 *)hp)[0] = h1; in nh_aux()
521 ((UINT64 *)hp)[1] = h2; in nh_aux()
522 ((UINT64 *)hp)[2] = h3; in nh_aux()
523 ((UINT64 *)hp)[3] = h4; in nh_aux()
688 ((UINT64 *)result)[0] = ((UINT64 *)hc->state)[0] + nbits; in nh_final()
690 ((UINT64 *)result)[1] = ((UINT64 *)hc->state)[1] + nbits; in nh_final()
693 ((UINT64 *)result)[2] = ((UINT64 *)hc->state)[2] + nbits; in nh_final()
696 ((UINT64 *)result)[3] = ((UINT64 *)hc->state)[3] + nbits; in nh_final()
715 ((UINT64 *)result)[0] = nbits; in nh()
717 ((UINT64 *)result)[1] = nbits; in nh()
720 ((UINT64 *)result)[2] = nbits; in nh()
723 ((UINT64 *)result)[3] = nbits; in nh()
764 #define p36 ((UINT64)0x0000000FFFFFFFFBull) /* 2^36 - 5 */
765 #define p64 ((UINT64)0xFFFFFFFFFFFFFFC5ull) /* 2^64 - 59 */
766 #define m36 ((UINT64)0x0000000FFFFFFFFFull) /* The low 36 of 64 bits */
773 UINT64 poly_key_8[STREAMS]; /* p64 poly keys */
774 UINT64 poly_accum[STREAMS]; /* poly hash result */
775 UINT64 ip_keys[STREAMS*4]; /* Inner-product keys */
793 static UINT64 poly64(UINT64 cur, UINT64 key, UINT64 data) in poly64()
801 UINT64 X,T,res; in poly64()
809 T = ((UINT64)x_lo << 32); in poly64()
831 UINT64 *data=(UINT64*)data_in; in poly_hash()
856 static UINT64 ip_aux(UINT64 t, UINT64 *ipkp, UINT64 data) in ip_aux()
858 t = t + ipkp[0] * (UINT64)(UINT16)(data >> 48); in ip_aux()
859 t = t + ipkp[1] * (UINT64)(UINT16)(data >> 32); in ip_aux()
860 t = t + ipkp[2] * (UINT64)(UINT16)(data >> 16); in ip_aux()
861 t = t + ipkp[3] * (UINT64)(UINT16)(data); in ip_aux()
866 static UINT32 ip_reduce_p36(UINT64 t) in ip_reduce_p36()
869 UINT64 ret; in ip_reduce_p36()
886 UINT64 t; in ip_short()
887 UINT64 *nhp = (UINT64 *)nh_res; in ip_short()
912 UINT64 t; in ip_long()
957 UINT8 buf[(8*STREAMS+4)*sizeof(UINT64)]; in uhash_init()
975 ahc->poly_key_8[i] &= ((UINT64)0x01ffffffu << 32) + 0x01ffffffu; in uhash_init()
982 memcpy(ahc->ip_keys+4*i, buf+(8*i+4)*sizeof(UINT64), in uhash_init()
983 4*sizeof(UINT64)); in uhash_init()
984 endian_convert_if_le(ahc->ip_keys, sizeof(UINT64), in uhash_init()
1047 UINT64 result_buf[STREAMS]; in uhash_update()
1100 UINT64 result_buf[STREAMS]; in uhash_final()
1124 UINT8 nh_result[STREAMS*sizeof(UINT64)];