Blame view

include/crypto/md5.h 288 Bytes
7d6f75eb2   Max Vozeler   crypto: md5 - Add...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  #ifndef _CRYPTO_MD5_H
  #define _CRYPTO_MD5_H
  
  #include <linux/types.h>
  
  #define MD5_DIGEST_SIZE		16
  #define MD5_HMAC_BLOCK_SIZE	64
  #define MD5_BLOCK_WORDS		16
  #define MD5_HASH_WORDS		4
  
  struct md5_state {
  	u32 hash[MD5_HASH_WORDS];
  	u32 block[MD5_BLOCK_WORDS];
  	u64 byte_count;
  };
  
  #endif