#include <crypto/internal/hash.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/byteorder.h>
Go to the source code of this file.
|
#define | MD4_DIGEST_SIZE 16 |
|
#define | MD4_HMAC_BLOCK_SIZE 64 |
|
#define | MD4_BLOCK_WORDS 16 |
|
#define | MD4_HASH_WORDS 4 |
|
#define | ROUND1(a, b, c, d, k, s) (a = lshift(a + F(b,c,d) + k, s)) |
|
#define | ROUND2(a, b, c, d, k, s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) |
|
#define | ROUND3(a, b, c, d, k, s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) |
|
#define MD4_BLOCK_WORDS 16 |
Definition at line 33 of file md4.c.
#define MD4_DIGEST_SIZE 16 |
Definition at line 31 of file md4.c.
Definition at line 34 of file md4.c.
#define MD4_HMAC_BLOCK_SIZE 64 |
Definition at line 32 of file md4.c.
Definition at line 63 of file md4.c.
#define ROUND2 |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
k, |
|
|
|
s |
|
) |
| (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) |
Definition at line 64 of file md4.c.
#define ROUND3 |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
k, |
|
|
|
s |
|
) |
| (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) |
Definition at line 65 of file md4.c.
MODULE_DESCRIPTION |
( |
"MD4 Message Digest Algorithm" |
| ) |
|
module_exit |
( |
md4_mod_fini |
| ) |
|
module_init |
( |
md4_mod_init |
| ) |
|