Lines Matching refs:UINT32

92 typedef u_int32_t	UINT32; /* 4 byte   */  typedef
130 #define MUL64(a,b) ((UINT64)((UINT64)(UINT32)(a) * (UINT64)(UINT32)(b)))
248 UINT32 align; in pdf_gen_xor()
253 *(UINT32 *)t.tmp_nonce_lo = ((const UINT32 *)nonce)[1]; in pdf_gen_xor()
256 if ( (((UINT32 *)t.tmp_nonce_lo)[0] != ((UINT32 *)pc->nonce)[1]) || in pdf_gen_xor()
257 (((const UINT32 *)nonce)[0] != ((UINT32 *)pc->nonce)[0]) ) in pdf_gen_xor()
259 ((UINT32 *)pc->nonce)[0] = ((const UINT32 *)nonce)[0]; in pdf_gen_xor()
260 ((UINT32 *)pc->nonce)[1] = ((UINT32 *)t.tmp_nonce_lo)[0]; in pdf_gen_xor()
265 *((UINT32 *)buf) ^= ((UINT32 *)pc->cache)[ndx]; in pdf_gen_xor()
270 ((UINT32 *)buf)[2] ^= ((UINT32 *)pc->cache)[2]; in pdf_gen_xor()
327 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) in nh_aux()
336 UINT32 *k = (UINT32 *)kp; in nh_aux()
337 const UINT32 *d = (const UINT32 *)dp; in nh_aux()
338 UINT32 d0,d1,d2,d3,d4,d5,d6,d7; in nh_aux()
339 UINT32 k0,k1,k2,k3,k4,k5,k6,k7; in nh_aux()
362 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) in nh_aux()
369 UINT32 *k = (UINT32 *)kp; in nh_aux()
370 const UINT32 *d = (const UINT32 *)dp; in nh_aux()
371 UINT32 d0,d1,d2,d3,d4,d5,d6,d7; in nh_aux()
372 UINT32 k0,k1,k2,k3,k4,k5,k6,k7, in nh_aux()
409 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) in nh_aux()
416 UINT32 *k = (UINT32 *)kp; in nh_aux()
417 const UINT32 *d = (const UINT32 *)dp; in nh_aux()
418 UINT32 d0,d1,d2,d3,d4,d5,d6,d7; in nh_aux()
419 UINT32 k0,k1,k2,k3,k4,k5,k6,k7, in nh_aux()
464 static void nh_aux(void *kp, const void *dp, void *hp, UINT32 dlen) in nh_aux()
471 UINT32 *k = (UINT32 *)kp; in nh_aux()
472 const UINT32 *d = (const UINT32 *)dp; in nh_aux()
473 UINT32 d0,d1,d2,d3,d4,d5,d6,d7; in nh_aux()
474 UINT32 k0,k1,k2,k3,k4,k5,k6,k7, in nh_aux()
533 static void nh_transform(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes) in nh_transform()
549 static void endian_convert(void *buf, UWORD bpw, UINT32 num_bytes) in endian_convert()
555 UINT32 *p = (UINT32 *)buf; in endian_convert()
561 UINT32 *p = (UINT32 *)buf; in endian_convert()
562 UINT32 t; in endian_convert()
608 static void nh_update(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes) in nh_update()
612 UINT32 i,j; in nh_update()
703 static void nh(nh_ctx *hc, const UINT8 *buf, UINT32 padded_len, in nh()
704 UINT32 unpadded_len, UINT8 *result) in nh()
710 UINT32 nbits; in nh()
776 UINT32 ip_trans[STREAMS]; /* Inner-product translation */
777 UINT32 msg_len; /* Total length of data passed */
795 UINT32 key_hi = (UINT32)(key >> 32), in poly64()
796 key_lo = (UINT32)key, in poly64()
797 cur_hi = (UINT32)(cur >> 32), in poly64()
798 cur_lo = (UINT32)cur, in poly64()
804 x_lo = (UINT32)X; in poly64()
805 x_hi = (UINT32)(X >> 32); in poly64()
828 static void poly_hash(uhash_ctx_t hc, UINT32 data_in[]) in poly_hash()
834 if ((UINT32)(data[i] >> 32) == 0xfffffffful) { in poly_hash()
866 static UINT32 ip_reduce_p36(UINT64 t) in ip_reduce_p36()
876 return (UINT32)(ret); in ip_reduce_p36()
890 STORE_UINT32_BIG((UINT32 *)res+0, ip_reduce_p36(t) ^ ahc->ip_trans[0]); in ip_short()
893 STORE_UINT32_BIG((UINT32 *)res+1, ip_reduce_p36(t) ^ ahc->ip_trans[1]); in ip_short()
897 STORE_UINT32_BIG((UINT32 *)res+2, ip_reduce_p36(t) ^ ahc->ip_trans[2]); in ip_short()
901 STORE_UINT32_BIG((UINT32 *)res+3, ip_reduce_p36(t) ^ ahc->ip_trans[3]); in ip_short()
919 STORE_UINT32_BIG((UINT32 *)res+i, in ip_long()
991 kdf(ahc->ip_trans, prf_key, 4, STREAMS * sizeof(UINT32)); in uhash_init()
992 endian_convert_if_le(ahc->ip_trans, sizeof(UINT32), in uhash_init()
993 STREAMS * sizeof(UINT32)); in uhash_init()
1069 poly_hash(ctx,(UINT32 *)nh_result); in uhash_update()
1081 poly_hash(ctx,(UINT32 *)nh_result); in uhash_update()
1106 poly_hash(ctx,(UINT32 *)nh_result); in uhash_final()
1125 UINT32 nh_len;
1146 poly_hash(ahc,(UINT32 *)nh_result);
1155 poly_hash(ahc,(UINT32 *)nh_result);