Max Vozeler | 7d6f75e | 2010-01-17 21:55:31 +1100 | [diff] [blame] | 1 | #ifndef _CRYPTO_MD5_H |
2 | #define _CRYPTO_MD5_H | ||||
3 | |||||
4 | #include <linux/types.h> | ||||
5 | |||||
6 | #define MD5_DIGEST_SIZE 16 | ||||
7 | #define MD5_HMAC_BLOCK_SIZE 64 | ||||
8 | #define MD5_BLOCK_WORDS 16 | ||||
9 | #define MD5_HASH_WORDS 4 | ||||
10 | |||||
11 | struct md5_state { | ||||
12 | u32 hash[MD5_HASH_WORDS]; | ||||
13 | u32 block[MD5_BLOCK_WORDS]; | ||||
14 | u64 byte_count; | ||||
15 | }; | ||||
16 | |||||
17 | #endif |