MD5 Hash functions. More...
Go to the source code of this file.
Defines | |
#define | byteReverse(buf, len) |
#define | F1(x, y, z) (z ^ (x & (y ^ z))) |
#define | F2(x, y, z) F1(z, x, y) |
#define | F3(x, y, z) (x ^ y ^ z) |
#define | F4(x, y, z) (y ^ (x | ~z)) |
#define | MD5STEP(f, w, x, y, z, data, s) ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
Functions | |
void | NutMD5Init (MD5CONTEXT *context) |
Start MD5 accumulation. | |
void | NutMD5Update (MD5CONTEXT *context, uint8_t CONST *buf, uint32_t len) |
Update MD5 context. | |
void | NutMD5Final (MD5CONTEXT *context, uint8_t digest[16]) |
Final wrapup, calculate MD5 digest. |
MD5 Hash functions.
* * $Log$ * Revision 1.3 2009/03/08 20:19:10 haraldkipp * Replaced const by CONST to make it compile with ICCAVR. * * Revision 1.2 2009/03/06 23:51:38 olereinhardt * Fixed minor compile bugs * * Revision 1.1 2009/03/06 17:00:33 olereinhardt * Added md5 routines, initial checkin * * *
Definition in file md5.c.