annotate sha1.h @ 343:f21d1907d47c libavutil

include all prerequisites in header files
author mru
date Sat, 16 Jun 2007 22:59:13 +0000
parents c82b7b95e69d
children 47335869d5f7
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
343
f21d1907d47c include all prerequisites in header files
mru
parents: 288
diff changeset
4 #include <stdint.h>
f21d1907d47c include all prerequisites in header files
mru
parents: 288
diff changeset
5
288
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
6 extern const int av_sha1_size;
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
7
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
8 struct AVSHA1;
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
9
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
10 void av_sha1_init(struct AVSHA1* context);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
11 void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
12 void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
c82b7b95e69d simple SHA-1 implementation
michael
parents:
diff changeset
13 #endif