Lines Matching refs:buf

97     uint32 buf[4];  member
103 void lsapi_MD5Update(struct lsapi_MD5Context *context, unsigned char const *buf,
243 char buf[1024]; in LSAPI_Log() local
244 char *p = buf; in LSAPI_Log()
276 if (p > buf) in LSAPI_Log()
277 fprintf(stderr, "%.*s", (int)(p - buf), buf); in LSAPI_Log()
4085 static void lsapi_MD5Transform(uint32 buf[4], uint32 const in[16]);
4090 static void byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument
4094 t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | in byteReverse()
4095 ((unsigned) buf[1] << 8 | buf[0]); in byteReverse()
4096 *(uint32 *) buf = t; in byteReverse()
4097 buf += 4; in byteReverse()
4108 ctx->buf[0] = 0x67452301; in lsapi_MD5Init()
4109 ctx->buf[1] = 0xefcdab89; in lsapi_MD5Init()
4110 ctx->buf[2] = 0x98badcfe; in lsapi_MD5Init()
4111 ctx->buf[3] = 0x10325476; in lsapi_MD5Init()
4121 void lsapi_MD5Update(struct lsapi_MD5Context *ctx, unsigned char const *buf, unsigned len) in lsapi_MD5Update() argument
4141 memmove(p, buf, len); in lsapi_MD5Update()
4144 memmove(p, buf, t); in lsapi_MD5Update()
4146 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
4147 buf += t; in lsapi_MD5Update()
4153 memmove(ctx->in, buf, 64); in lsapi_MD5Update()
4155 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update()
4156 buf += 64; in lsapi_MD5Update()
4162 memmove(ctx->in, buf, len); in lsapi_MD5Update()
4191 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
4205 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final()
4206 byteReverse((unsigned char *) ctx->buf, 4); in lsapi_MD5Final()
4207 memmove(digest, ctx->buf, 16); in lsapi_MD5Final()
4229 static void lsapi_MD5Transform(uint32 buf[4], uint32 const in[16]) in lsapi_MD5Transform()
4233 a = buf[0]; in lsapi_MD5Transform()
4234 b = buf[1]; in lsapi_MD5Transform()
4235 c = buf[2]; in lsapi_MD5Transform()
4236 d = buf[3]; in lsapi_MD5Transform()
4306 buf[0] += a; in lsapi_MD5Transform()
4307 buf[1] += b; in lsapi_MD5Transform()
4308 buf[2] += c; in lsapi_MD5Transform()
4309 buf[3] += d; in lsapi_MD5Transform()