diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-12 21:05:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-12 21:05:56 +0000 |
commit | 7c60e55bff8af61760038c5c7471abd11fa80afd (patch) | |
tree | 031f17b04c83442376aa315f702cdac3ca7b291c /libavutil/sha1.h | |
parent | 3679f659461b797ec95aafea5654050c52779889 (diff) | |
download | ffmpeg-7c60e55bff8af61760038c5c7471abd11fa80afd.tar.gz |
simple SHA-1 implementation
Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha1.h')
-rw-r--r-- | libavutil/sha1.h | 11 |
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 |