diff src/lib/sha1.c @ 6420:a8b515e1a26f HEAD

Removed _ prefixes from function names.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2007 13:25:23 +0300
parents 09a585f5ad4b
children 9ec2882243a6
line wrap: on
line diff
--- a/src/lib/sha1.c	Sun Sep 16 12:51:41 2007 +0300
+++ b/src/lib/sha1.c	Sun Sep 16 13:25:23 2007 +0300
@@ -39,8 +39,8 @@
 #include "safe-memset.h"
 
 /* constant table */
-static uint32_t _K[] = { 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 };
-#define	K(t)	_K[(t) / 20]
+static uint32_t SHA1_K[] = { 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 };
+#define	K(t)	SHA1_K[(t) / 20]
 
 #define	F0(b, c, d)	(((b) & (c)) | ((~(b)) & (d)))
 #define	F1(b, c, d)	(((b) ^ (c)) ^ (d))