md5.h 477 B

123456789101112131415161718192021
  1. #ifndef MD5_H
  2. #define MD5_H
  3. /* POINTER defines a generic pointer type */
  4. typedef unsigned char * POINTER;
  5. /* UINT2 defines a two byte word */
  6. //typedef unsigned short int UINT2;
  7. /* UINT4 defines a four byte word */
  8. typedef unsigned long int UINT4;
  9. /* MD5 context. */
  10. typedef struct {
  11. UINT4 state[4]; /* state (ABCD) */
  12. UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
  13. unsigned char buffer[64]; /* input buffer */
  14. } MD5_CTX;
  15. #endif // MD5_H