chiark / gitweb /
Bad bug makes all previous testing worthless. 1.0.1
authorMark Wooding <mdw@distorted.org.uk>
Sun, 28 May 2000 00:39:52 +0000 (00:39 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 28 May 2000 00:39:52 +0000 (00:39 +0000)
diffan.c

index eef248b0409d24112fbf5b1640d546c08f076cbe..9ffde584692b6d9b72009e8d172a03f2bd3edba4 100644 (file)
--- a/diffan.c
+++ b/diffan.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
 /* -*-c-*-
  *
- * $Id: diffan.c,v 1.1 2000/05/21 11:28:30 mdw Exp $
+ * $Id: diffan.c,v 1.2 2000/05/28 00:39:52 mdw Exp $
  *
  * Differential analysis of matrix multiplication
  *
  *
  * Differential analysis of matrix multiplication
  *
@@ -49,6 +49,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: diffan.c,v $
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: diffan.c,v $
+ * Revision 1.2  2000/05/28 00:39:52  mdw
+ * Bad bug makes all previous testing worthless.
+ *
  * Revision 1.1  2000/05/21 11:28:30  mdw
  * Initial check-in.
  *
  * Revision 1.1  2000/05/21 11:28:30  mdw
  * Initial check-in.
  *
@@ -104,7 +107,7 @@ static void probe(uint24 *delta)
 
     for (j = 0; j < 4; j++) {
       x[j] = U24(fibrand_step(&r));
 
     for (j = 0; j < 4; j++) {
       x[j] = U24(fibrand_step(&r));
-      y[j] = x[j] & delta[j];
+      y[j] = x[j] ^ delta[j];
     }
 
     matmul(xi, m, x, 4, 4, 1);
     }
 
     matmul(xi, m, x, 4, 4, 1);