diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-12-12 20:58:41 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-12-12 20:58:41 +0000 |
commit | 537c8e7a480282e9dd260a9922c6e9425575636a (patch) | |
tree | 718b488be4994b36cfa28d8887e4bb3e4772510b /libavutil/sha1.c | |
parent | 84be6e723930e540ee105949af1a7a498164560c (diff) | |
download | ffmpeg-537c8e7a480282e9dd260a9922c6e9425575636a.tar.gz |
Provide sha1 to outside applications
Patch from Diego Pettenò flameeyesATgmailDOTcom
Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha1.c')
-rw-r--r-- | libavutil/sha1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c index 13b4acf18a..21edb97b15 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -29,6 +29,8 @@ typedef struct AVSHA1 { uint32_t state[5]; } AVSHA1; +const int av_sha1_size = sizeof(AVSHA1); + #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) /* (R0+R1), R2, R3, R4 are the different operations used in SHA1 */ |