• Home
  • Raw
  • Download

Lines Matching refs:b

158 #define mix(a,b,c) \  argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
195 c ^= b; c -= rot(b,14); \
197 b ^= a; b -= rot(a,25); \
198 c ^= b; c -= rot(b,16); \
200 b ^= a; b -= rot(a,14); \
201 c ^= b; c -= rot(b,24); \
234 uint32_t a,b,c; /* internal state */ in hashlittle() local
238 a = b = c = 0xdeadbeef + ((uint32_t)length) + initval; in hashlittle()
248 b += k[1]; in hashlittle()
250 mix(a,b,c); in hashlittle()
269 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle()
270 case 11: c+=k[2]&0xffffff; b+=k[1]; a+=k[0]; break; in hashlittle()
271 case 10: c+=k[2]&0xffff; b+=k[1]; a+=k[0]; break; in hashlittle()
272 case 9 : c+=k[2]&0xff; b+=k[1]; a+=k[0]; break; in hashlittle()
273 case 8 : b+=k[1]; a+=k[0]; break; in hashlittle()
274 case 7 : b+=k[1]&0xffffff; a+=k[0]; break; in hashlittle()
275 case 6 : b+=k[1]&0xffff; a+=k[0]; break; in hashlittle()
276 case 5 : b+=k[1]&0xff; a+=k[0]; break; in hashlittle()
289 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle()
293 case 8 : b+=k[1]; a+=k[0]; break; in hashlittle()
294 case 7 : b+=((uint32_t)k8[6])<<16; /* fall through */ in hashlittle()
295 case 6 : b+=((uint32_t)k8[5])<<8; /* fall through */ in hashlittle()
296 case 5 : b+=k8[4]; /* fall through */ in hashlittle()
314 b += k[2] + (((uint32_t)k[3])<<16); in hashlittle()
316 mix(a,b,c); in hashlittle()
326 b+=k[2]+(((uint32_t)k[3])<<16); in hashlittle()
331 b+=k[2]+(((uint32_t)k[3])<<16); in hashlittle()
335 case 8 : b+=k[2]+(((uint32_t)k[3])<<16); in hashlittle()
338 case 7 : b+=((uint32_t)k8[6])<<16; /* fall through */ in hashlittle()
339 case 6 : b+=k[2]; in hashlittle()
342 case 5 : b+=k8[4]; /* fall through */ in hashlittle()
363 b += k[4]; in hashlittle()
364 b += ((uint32_t)k[5])<<8; in hashlittle()
365 b += ((uint32_t)k[6])<<16; in hashlittle()
366 b += ((uint32_t)k[7])<<24; in hashlittle()
371 mix(a,b,c); in hashlittle()
383 case 8 : b+=((uint32_t)k[7])<<24; in hashlittle()
384 case 7 : b+=((uint32_t)k[6])<<16; in hashlittle()
385 case 6 : b+=((uint32_t)k[5])<<8; in hashlittle()
386 case 5 : b+=k[4]; in hashlittle()
396 final(a,b,c); in hashlittle()