diff options
Diffstat (limited to 'databases/db4/patches/patch-ac')
-rw-r--r-- | databases/db4/patches/patch-ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/db4/patches/patch-ac b/databases/db4/patches/patch-ac index 86b7ba9f166..65e84657034 100644 --- a/databases/db4/patches/patch-ac +++ b/databases/db4/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.6 2006/01/06 15:08:47 wiz Exp $ +$NetBSD: patch-ac,v 1.7 2007/06/08 12:23:51 wiz Exp $ ---- hmac/sha1.c.orig 2004-11-17 04:43:56.000000000 +0100 +--- hmac/sha1.c.orig 2006-09-09 00:45:39.000000000 +0000 +++ hmac/sha1.c -@@ -103,6 +103,63 @@ A million repetitions of "a" +@@ -99,6 +99,63 @@ A million repetitions of "a" #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); @@ -66,7 +66,7 @@ $NetBSD: patch-ac,v 1.6 2006/01/06 15:08:47 wiz Exp $ #ifdef VERBOSE /* SAK */ static void __db_SHAPrintContext __P((SHA1_CTX *, char *)); -@@ -135,10 +192,6 @@ __db_SHA1Transform(state, buffer) +@@ -131,10 +188,6 @@ __db_SHA1Transform(state, buffer) unsigned char *buffer; { u_int32_t a, b, c, d, e; @@ -77,7 +77,7 @@ $NetBSD: patch-ac,v 1.6 2006/01/06 15:08:47 wiz Exp $ CHAR64LONG16* block; static int is_bigendian = -1; #ifdef SHA1HANDSOFF -@@ -157,6 +210,13 @@ static int is_bigendian = -1; +@@ -153,6 +206,13 @@ static int is_bigendian = -1; c = state[2]; d = state[3]; e = state[4]; @@ -91,7 +91,7 @@ $NetBSD: patch-ac,v 1.6 2006/01/06 15:08:47 wiz Exp $ /* 4 rounds of 20 operations each. Loop unrolled. */ R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); -@@ -178,6 +238,8 @@ static int is_bigendian = -1; +@@ -174,6 +234,8 @@ static int is_bigendian = -1; R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); |