storin.{tests,debug}-ref: Ancient versions of the test output.
[storin] / diffan.c
index eef248b..dab2e09 100644 (file)
--- a/diffan.c
+++ b/diffan.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: diffan.c,v 1.1 2000/05/21 11:28:30 mdw Exp $
+ * $Id$
  *
  * Differential analysis of matrix multiplication
  *
@@ -30,7 +30,7 @@
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
- * NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: diffan.c,v $
+ * Revision 1.3  2000/07/02 15:21:20  mdw
+ * Fix licence text.
+ *
+ * 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.
  *
@@ -104,7 +110,7 @@ static void probe(uint24 *delta)
 
     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);