MD5.h 480 B

123456789101112131415161718
  1. #ifndef NULLSOFT_ML_LOCAL_MD5_H
  2. #define NULLSOFT_ML_LOCAL_MD5_H
  3. #include <bfc/platform/types.h>
  4. /* MD5 context. */
  5. typedef struct
  6. {
  7. uint32_t state[4]; /* state (ABCD) */
  8. uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
  9. uint8_t buffer[64]; /* input buffer */
  10. } MD5_CTX;
  11. void MD5Init(MD5_CTX *);
  12. void MD5Update(MD5_CTX *, uint8_t *, unsigned int);
  13. void MD5Final(uint8_t [16], MD5_CTX *);
  14. #endif