Okay, I added:
Code:
typedef unsigned char UCHAR;
typedef unsigned int UINT;
But now I'm getting lots of undefined variables here:
Code:
static inline void FF(UINT& a, UINT b, UINT c, UINT d, UINT x, UINT s, UINT ac){ a += F(b, c, d) + x + ac; a = rotate_left(a, s); a += b; }
static inline void GG(UINT& a, UINT b, UINT c, UINT d, UINT x, UINT s, UINT ac){ a += G(b, c, d) + x + ac; a = rotate_left(a, s); a += b; }
static inline void HH(UINT& a, UINT b, UINT c, UINT d, UINT x, UINT s, UINT ac){ a += H(b, c, d) + x + ac; a = rotate_left(a, s); a += b; }
static inline void II(UINT& a, UINT b, UINT c, UINT d, UINT x, UINT s, UINT ac){ a += I(b, c, d) + x + ac; a = rotate_left(a, s); a += b; }