summaryrefslogtreecommitdiff
path: root/databases/db4/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db4/patches/patch-ac')
-rw-r--r--databases/db4/patches/patch-ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/db4/patches/patch-ac b/databases/db4/patches/patch-ac
index 53b6ae17136..be0e7da6956 100644
--- a/databases/db4/patches/patch-ac
+++ b/databases/db4/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.2 2004/11/10 15:51:23 jlam Exp $
+$NetBSD: patch-ac,v 1.3 2004/12/27 04:27:50 jlam Exp $
---- hmac/sha1.c.orig 2002-04-09 13:40:36.000000000 +0000
+--- hmac/sha1.c.orig 2004-01-27 22:36:11.000000000 -0500
+++ hmac/sha1.c
-@@ -102,6 +102,63 @@ A million repetitions of "a"
+@@ -103,6 +103,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.2 2004/11/10 15:51:23 jlam Exp $
#ifdef VERBOSE /* SAK */
static void __db_SHAPrintContext __P((SHA1_CTX *, char *));
-@@ -134,10 +191,6 @@ __db_SHA1Transform(state, buffer)
+@@ -135,10 +192,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.2 2004/11/10 15:51:23 jlam Exp $
CHAR64LONG16* block;
static int is_bigendian = -1;
#ifdef SHA1HANDSOFF
-@@ -156,6 +209,13 @@ static int is_bigendian = -1;
+@@ -157,6 +210,13 @@ static int is_bigendian = -1;
c = state[2];
d = state[3];
e = state[4];
@@ -91,7 +91,7 @@ $NetBSD: patch-ac,v 1.2 2004/11/10 15:51:23 jlam 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);
-@@ -177,6 +237,8 @@ static int is_bigendian = -1;
+@@ -178,6 +238,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);