Mercurial > libavutil.hg
annotate sha1.h @ 288:c82b7b95e69d libavutil
simple SHA-1 implementation
author | michael |
---|---|
date | Mon, 12 Mar 2007 21:05:56 +0000 |
parents | |
children | f21d1907d47c |
rev | line source |
---|---|
288 | 1 #ifndef AV_SHA1_H |
2 #define AV_SHA1_H | |
3 | |
4 extern const int av_sha1_size; | |
5 | |
6 struct AVSHA1; | |
7 | |
8 void av_sha1_init(struct AVSHA1* context); | |
9 void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len); | |
10 void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]); | |
11 #endif |