X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/storin/blobdiff_plain/e6e0e332972586b443c9ae3d031757f6778fd263..refs/tags/1.0.1:/diffan.c diff --git a/diffan.c b/diffan.c index eef248b..9ffde58 100644 --- 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: diffan.c,v 1.2 2000/05/28 00:39:52 mdw Exp $ * * Differential analysis of matrix multiplication * @@ -49,6 +49,9 @@ /*----- 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. * @@ -104,7 +107,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);