m_md5.cpp File Reference
#include "inspircd.h"
#include "m_hash.h"
Include dependency graph for m_md5.cpp:
Go to the source code of this file.
|
Classes |
| class | MD5Context |
| | An MD5 context, used by m_opermd5. More...
|
| class | ModuleMD5 |
Defines |
| #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, in, s) (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) |
Typedefs |
| typedef unsigned int | uint32_t |
| typedef uint32_t | word32 |
| typedef unsigned char | byte |
Define Documentation
| #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, |
|
|
in, |
|
|
s |
|
) |
(w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) |
|
Typedef Documentation
| typedef unsigned char byte |
|