diff sha1.c @ 406:aedb9d18c7cf libavutil

Provide sha1 to outside applications Patch from Diego Petten flameeyesATgmailDOTcom
author lu_zero
date Wed, 12 Dec 2007 20:58:41 +0000
parents f9a4c04ebb0e
children 7390e0fc2fd3
line wrap: on
line diff
--- a/sha1.c	Sat Nov 24 10:08:02 2007 +0000
+++ b/sha1.c	Wed Dec 12 20:58:41 2007 +0000
@@ -29,6 +29,8 @@
     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 */