Annotation of src/usr.bin/ssh/ssh_md5.h, Revision 1.1
1.1 ! deraadt 1: #ifndef MD5_H
! 2: #define MD5_H
! 3:
! 4: typedef word32 uint32;
! 5:
! 6: struct MD5Context {
! 7: uint32 buf[4];
! 8: uint32 bits[2];
! 9: unsigned char in[64];
! 10: };
! 11:
! 12: #define MD5Init ssh_MD5Init
! 13: void MD5Init(struct MD5Context *context);
! 14: #define MD5Update ssh_MD5Update
! 15: void MD5Update(struct MD5Context *context, unsigned char const *buf,
! 16: unsigned len);
! 17: #define MD5Final ssh_MD5Final
! 18: void MD5Final(unsigned char digest[16], struct MD5Context *context);
! 19: #define MD5Transform ssh_MD5Transform
! 20: void MD5Transform(uint32 buf[4], const unsigned char in[64]);
! 21:
! 22: /*
! 23: * This is needed to make RSAREF happy on some MS-DOS compilers.
! 24: */
! 25: typedef struct MD5Context MD5_CTX;
! 26:
! 27: #endif /* !MD5_H */