xref: /linux/include/crypto/md5.h (revision d524dac9279b6a41ffdf7ff7958c577f2e387db6)
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
18