X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fmd5.h;h=0d771954316608a0c1bcbb5acc48ad7ec60d8369;hb=dbe7f3be2001b82d7f4485de0ff88e4954e986d6;hp=400c875219a47089422e3d72d72952cc9afd5cce;hpb=90676f283e64e478958fc690a9c2b2472bb0f9e8;p=libucw.git diff --git a/ucw/md5.h b/ucw/md5.h index 400c8752..0d771954 100644 --- a/ucw/md5.h +++ b/ucw/md5.h @@ -7,6 +7,14 @@ #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. @@ -27,7 +35,7 @@ void md5_init(md5_context *context); /** Initialize the MD5 hashing algorithm in */ void md5_update(md5_context *context, const byte *buf, uns len); /** - * Call this after the last md5_update(). It will terminate the + * Call this after the last @md5_update(). It will terminate the * algorithm and return a pointer to the result. * * Note that the data it points to are stored inside the @context, so @@ -52,6 +60,7 @@ void md5_transform(u32 buf[4], const u32 in[16]); * @buffer, creates the hash from them and returns it in @output. * * It is equivalent to this code: + * * md5_context c; * md5_init(&c); * md5_update(&c, buffer, length);