From 94d85eaf3459e6ff52f7e8c30ffc3f00f46dc437 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 1 Jul 2006 10:02:08 +0000 Subject: md5 support depending on CONFIG_SMALL this can either be compiled to a fully unrolled kernel / rfc reference style md5 routine or a single loop similar to what mplayer uses Originally committed as revision 5565 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/md5.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libavutil/md5.h (limited to 'libavutil/md5.h') diff --git a/libavutil/md5.h b/libavutil/md5.h new file mode 100644 index 0000000000..31d2808dd7 --- /dev/null +++ b/libavutil/md5.h @@ -0,0 +1,13 @@ +#ifndef MD5_H +#define MD5_H + +extern const av_md5_size; + +struct AVMD5; + +void av_md5_init(struct AVMD5 *ctx); +void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len); +void av_md5_final(struct AVMD5 *ctx, uint8_t *dst); + +#endif /* MD5_H */ + -- cgit v1.2.3