#ifndef _UCW_MD5_H
#define _UCW_MD5_H
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define md5_final ucw_md5_final
+#define md5_hash_buffer ucw_md5_hash_buffer
+#define md5_init ucw_md5_init
+#define md5_transform ucw_md5_transform
+#define md5_update ucw_md5_update
+#endif
+
/**
* Internal MD5 hash state.
* You should use it just as an opaque handle only.
* as if you concatenated all the data together and fed them here all at
* once.
*/
-void md5_update(md5_context *context, const byte *buf, uns len);
+void md5_update(md5_context *context, const byte *buf, uint len);
/**
* Call this after the last @md5_update(). It will terminate the
* algorithm and return a pointer to the result.
* md5_update(&c, buffer, length);
* memcpy(outbuf, md5_final(&c), MD5_SIZE);
*/
-void md5_hash_buffer(byte *outbuf, const byte *buffer, uns length);
+void md5_hash_buffer(byte *outbuf, const byte *buffer, uint length);
#define MD5_HEX_SIZE 33 /** How many bytes a string buffer for MD5 in hexadecimal format should have. **/
#define MD5_SIZE 16 /** Number of bytes the MD5 hash takes in the binary form. **/