summaryrefslogtreecommitdiff
path: root/libavutil/md5.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-07-01 10:02:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-07-01 10:02:08 +0000
commit94d85eaf3459e6ff52f7e8c30ffc3f00f46dc437 (patch)
tree013aa3722c61dea4f5ae96e6f8c055a9cae2d066 /libavutil/md5.h
parent8f8d0e4875a4c8ae1cb152481cb8619359c0396a (diff)
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
Diffstat (limited to 'libavutil/md5.h')
-rw-r--r--libavutil/md5.h13
1 files changed, 13 insertions, 0 deletions
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 */
+