/include/crypto/md5.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C++ Header · 17 lines · 13 code · 4 blank · 0 comment · 0 complexity · 71e3dc18e426ddf7cc6889be689a7a04 MD5 · raw file

  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. struct md5_state {
  9. u32 hash[MD5_HASH_WORDS];
  10. u32 block[MD5_BLOCK_WORDS];
  11. u64 byte_count;
  12. };
  13. #endif