summaryrefslogtreecommitdiff
path: root/libavutil/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/sha1.h')
-rw-r--r--libavutil/sha1.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavutil/sha1.h b/libavutil/sha1.h
new file mode 100644
index 0000000000..8739cbde93
--- /dev/null
+++ b/libavutil/sha1.h
@@ -0,0 +1,11 @@
+#ifndef AV_SHA1_H
+#define AV_SHA1_H
+
+extern const int av_sha1_size;
+
+struct AVSHA1;
+
+void av_sha1_init(struct AVSHA1* context);
+void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
+void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
+#endif