You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md5.h 385B

12345678910111213141516171819202122
  1. #ifndef _GPXE_MD5_H
  2. #define _GPXE_MD5_H
  3. struct crypto_algorithm;
  4. #include <stdint.h>
  5. #define MD5_DIGEST_SIZE 16
  6. #define MD5_BLOCK_WORDS 16
  7. #define MD5_HASH_WORDS 4
  8. struct md5_ctx {
  9. u32 hash[MD5_HASH_WORDS];
  10. u32 block[MD5_BLOCK_WORDS];
  11. u64 byte_count;
  12. };
  13. #define MD5_CTX_SIZE sizeof ( struct md5_ctx )
  14. extern struct crypto_algorithm md5_algorithm;
  15. #endif /* _GPXE_MD5_H */