diff --git a/garble/mpz-garble-core/src/lib.rs b/garble/mpz-garble-core/src/lib.rs index 6de97cee..ef7429e2 100644 --- a/garble/mpz-garble-core/src/lib.rs +++ b/garble/mpz-garble-core/src/lib.rs @@ -97,7 +97,7 @@ mod tests { let (z_0, encrypted_gate) = gen::and_gate(cipher, &x_0, &y_0, &delta, gid); let z_1 = z_0 ^ delta; - assert_eq!(ev::and_gate(cipher, &x_0, &y_1, &encrypted_gate, gid), z_0); + assert_eq!(ev::and_gate(cipher, &x_0, &y_0, &encrypted_gate, gid), z_0); assert_eq!(ev::and_gate(cipher, &x_0, &y_1, &encrypted_gate, gid), z_0); assert_eq!(ev::and_gate(cipher, &x_1, &y_0, &encrypted_gate, gid), z_0); assert_eq!(ev::and_gate(cipher, &x_1, &y_1, &encrypted_gate, gid), z_1);