]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/md5.h
1 #ifndef UTIL_LINUX_MD5_H
2 #define UTIL_LINUX_MD5_H
6 #define UL_MD5LENGTH 16
14 void ul_MD5Init(struct UL_MD5Context
*context
);
15 void ul_MD5Update(struct UL_MD5Context
*context
, unsigned char const *buf
, unsigned len
);
16 void ul_MD5Final(unsigned char digest
[UL_MD5LENGTH
], struct UL_MD5Context
*context
);
17 void ul_MD5Transform(uint32_t buf
[4], uint32_t const in
[16]);
20 * This is needed to make RSAREF happy on some MS-DOS compilers.
22 typedef struct UL_MD5Context UL_MD5_CTX
;
24 #endif /* !UTIL_LINUX_MD5_H */