VLC_EXPORT(void, InitMD5, ( struct md5_s * ) );
VLC_EXPORT(void, AddMD5, ( struct md5_s *, const uint8_t *, uint32_t ) );
VLC_EXPORT(void, EndMD5, ( struct md5_s * ) );
-VLC_EXPORT(void, Digest, ( struct md5_s *, uint32_t * ) );
+VLC_EXPORT(void, DigestMD5, ( struct md5_s *, uint32_t * ) );
#endif
uint32_t pp_dec_keys[ AES_KEY_COUNT + 1 ][ 4 ];
};
-#ifndef __VLC__
+#ifdef __VLC__
+# define Digest DigestMD5
+#else
/*****************************************************************************
* md5_s: MD5 message structure
*****************************************************************************
( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
/*****************************************************************************
- * Digest: update the MD5 digest with 64 bytes of data
+ * DigestMD5: update the MD5 digest with 64 bytes of data
*****************************************************************************/
-void Digest( struct md5_s *p_md5, uint32_t *p_input )
+void DigestMD5( struct md5_s *p_md5, uint32_t *p_input )
{
uint32_t a, b, c, d;