annotate sha1.h @ 330:2e7209604069 libavutil

reorder bswap functions into bit-depth, special-casing inside the functions. patch by Ramiro Polla ramiro lisha ufsc br
author benoit
date Thu, 26 Apr 2007 08:20:21 +0000
parents c82b7b95e69d
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