Lines Matching refs:buf

95     uint32 buf[4];  member
101 void lsapi_MD5Update(struct lsapi_MD5Context *context, unsigned char const *buf,
3287 static void lsapi_MD5Transform(uint32 buf[4], uint32 const in[16]);
3292 static void byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument
3296 t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | in byteReverse()
3297 ((unsigned) buf[1] << 8 | buf[0]); in byteReverse()
3298 *(uint32 *) buf = t; in byteReverse()
3299 buf += 4; in byteReverse()
3309 ctx->buf[0] = 0x67452301; in lsapi_MD5Init()
3310 ctx->buf[1] = 0xefcdab89; in lsapi_MD5Init()
3311 ctx->buf[2] = 0x98badcfe; in lsapi_MD5Init()
3312 ctx->buf[3] = 0x10325476; in lsapi_MD5Init()
3322 void lsapi_MD5Update(struct lsapi_MD5Context *ctx, unsigned char const *buf, unsigned len) in lsapi_MD5Update() argument
3342 memmove(p, buf, len); in lsapi_MD5Update()
3345 memmove(p, buf, t); in lsapi_MD5Update()
3347 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
3348 buf += t; in lsapi_MD5Update()
3354 memmove(ctx->in, buf, 64); in lsapi_MD5Update()
3356 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
3357 buf += 64; in lsapi_MD5Update()
3363 memmove(ctx->in, buf, len); in lsapi_MD5Update()
3391 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
3405 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
3406 byteReverse((unsigned char *) ctx->buf, 4); in lsapi_MD5Final()
3407 memmove(digest, ctx->buf, 16); in lsapi_MD5Final()
3428 static void lsapi_MD5Transform(uint32 buf[4], uint32 const in[16]) in lsapi_MD5Transform()
3432 a = buf[0]; in lsapi_MD5Transform()
3433 b = buf[1]; in lsapi_MD5Transform()
3434 c = buf[2]; in lsapi_MD5Transform()
3435 d = buf[3]; in lsapi_MD5Transform()
3505 buf[0] += a; in lsapi_MD5Transform()
3506 buf[1] += b; in lsapi_MD5Transform()
3507 buf[2] += c; in lsapi_MD5Transform()
3508 buf[3] += d; in lsapi_MD5Transform()