Lines Matching defs:buf
16 static void TEA_transform(__u32 buf[4], __u32 const in[])
19 __u32 b0 = buf[0], b1 = buf[1];
29 buf[0] += b0;
30 buf[1] += b1;
53 static __u32 half_md4_transform(__u32 buf[4], __u32 const in[8])
55 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
87 buf[0] += a;
88 buf[1] += b;
89 buf[2] += c;
90 buf[3] += d;
92 return buf[1]; /* "most hashed" word */
135 static void str2hashbuf_signed(const char *msg, int len, __u32 *buf, int num)
150 *buf++ = val;
156 *buf++ = val;
158 *buf++ = pad;
161 static void str2hashbuf_unsigned(const char *msg, int len, __u32 *buf, int num)
176 *buf++ = val;
182 *buf++ = val;
184 *buf++ = pad;
207 __u32 in[8], buf[4];
212 buf[0] = 0x67452301;
213 buf[1] = 0xefcdab89;
214 buf[2] = 0x98badcfe;
215 buf[3] = 0x10325476;
221 memcpy(buf, hinfo->seed, sizeof(buf));
241 half_md4_transform(buf, in);
245 minor_hash = buf[2];
246 hash = buf[1];
255 TEA_transform(buf, in);
259 hash = buf[0];
260 minor_hash = buf[1];