47 ctx->buf[0] = 0x67452301;
48 ctx->buf[1] = 0xefcdab89;
49 ctx->buf[2] = 0x98badcfe;
50 ctx->buf[3] = 0x10325476;
61 register unsigned int t;
66 if ((
ctx->i[0] =
t + (
len << 3)) <
t)
75 unsigned char *
p = (
unsigned char *)
ctx->in +
t;
149 ((
unsigned int *)
ctx->in)[14] =
ctx->i[0];
150 ((
unsigned int *)
ctx->in)[15] =
ctx->i[1];
160#define rotl32(x,n) (((x) << ((unsigned int)(n))) | ((x) >> (32 - (unsigned int)(n))))
162#define F( x, y, z ) (((x) & (y)) | ((~x) & (z)))
163#define G( x, y, z ) (((x) & (y)) | ((x) & (z)) | ((y) & (z)))
164#define H( x, y, z ) ((x) ^ (y) ^ (z))
166#define FF( a, b, c, d, x, s ) { \
167 (a) += F( (b), (c), (d) ) + (x); \
168 (a) = rotl32( (a), (s) ); \
170#define GG( a, b, c, d, x, s ) { \
171 (a) += G( (b), (c), (d) ) + (x) + (unsigned int)0x5a827999; \
172 (a) = rotl32( (a), (s) ); \
174#define HH( a, b, c, d, x, s ) { \
175 (a) += H( (b), (c), (d) ) + (x) + (unsigned int)0x6ed9eba1; \
176 (a) = rotl32( (a), (s) ); \
184 register unsigned int a,
b,
c,
d;
GLuint GLuint GLsizei count
GLboolean GLboolean GLboolean b
GLenum GLuint GLenum GLsizei const GLchar * buf
GLboolean GLboolean GLboolean GLboolean a
#define memcpy(s1, s2, n)
#define HH(a, b, c, d, x, s)
static void MD4Transform(unsigned int buf[4], unsigned int const in[16])
#define GG(a, b, c, d, x, s)
VOID NTAPI MD4Update(MD4_CTX *ctx, const unsigned char *buf, unsigned int len)
VOID NTAPI MD4Final(MD4_CTX *ctx)
#define FF(a, b, c, d, x, s)
VOID NTAPI MD4Init(MD4_CTX *ctx)
#define byteReverse(buf, long)