annotate sha1.h @ 288:c82b7b95e69d libavutil

simple SHA-1 implementation
author michael
date Mon, 12 Mar 2007 21:05:56 +0000
parents
children f21d1907d47c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
288
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
1 #ifndef AV_SHA1_H
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
2 #define AV_SHA1_H
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
3
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
4 extern const int av_sha1_size;
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
5
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
6 struct AVSHA1;
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
7
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
8 void av_sha1_init(struct AVSHA1* context);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
9 void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
10 void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
11 #endif