146af825eedba1813ce3bea39c2b6cbcf2c2a1e4
[linux-drm-fsl-dcu.git] / include / crypto / md5.h
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 #define MD5_H0  0x67452301UL
12 #define MD5_H1  0xefcdab89UL
13 #define MD5_H2  0x98badcfeUL
14 #define MD5_H3  0x10325476UL
15
16 struct md5_state {
17         u32 hash[MD5_HASH_WORDS];
18         u32 block[MD5_BLOCK_WORDS];
19         u64 byte_count;
20 };
21
22 #endif