Lines Matching refs:buf
61 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs)
65 cmsUInt32Number t = _cmsAdjustEndianess32(*(cmsUInt32Number *) buf);
66 *(cmsUInt32Number *) buf = t;
67 buf += sizeof(cmsUInt32Number);
74 #define byteReverse(buf, len)
80 cmsUInt32Number buf[4];
97 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16])
102 a = buf[0];
103 b = buf[1];
104 c = buf[2];
105 d = buf[3];
175 buf[0] += a;
176 buf[1] += b;
177 buf[2] += c;
178 buf[3] += d;
191 ctx->buf[0] = 0x67452301;
192 ctx->buf[1] = 0xefcdab89;
193 ctx->buf[2] = 0x98badcfe;
194 ctx->buf[3] = 0x10325476;
204 void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len)
223 memmove(p, buf, len);
227 memmove(p, buf, t);
230 MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in);
231 buf += t;
236 memmove(ctx->in, buf, 64);
238 MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in);
239 buf += 64;
243 memmove(ctx->in, buf, len);
265 MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in);
276 MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in);
278 byteReverse((cmsUInt8Number *) ctx->buf, 4);
279 memmove(ProfileID ->ID8, ctx->buf, 16);