md5.h 401 B

12345678910111213141516171819202122
  1. #ifndef _CRYPTO_MD5_H
  2. #define _CRYPTO_MD5_H
  3. #include <linux/types.h>
  4. #define MD5_DIGEST_SIZE 16
  5. #define MD5_HMAC_BLOCK_SIZE 64
  6. #define MD5_BLOCK_WORDS 16
  7. #define MD5_HASH_WORDS 4
  8. #define MD5_H0 0x67452301UL
  9. #define MD5_H1 0xefcdab89UL
  10. #define MD5_H2 0x98badcfeUL
  11. #define MD5_H3 0x10325476UL
  12. struct md5_state {
  13. u32 hash[MD5_HASH_WORDS];
  14. u32 block[MD5_BLOCK_WORDS];
  15. u64 byte_count;
  16. };
  17. #endif