From d89059ac19e45ab63b1af11a9ab97da63f3d1de6 Mon Sep 17 00:00:00 2001 From: Dragos Rotaru Date: Thu, 23 May 2019 14:21:29 +0200 Subject: [PATCH] fix leg typo --- Programs/Source/prf_leg.mpc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Programs/Source/prf_leg.mpc b/Programs/Source/prf_leg.mpc index 8108b965..c2cc69e9 100644 --- a/Programs/Source/prf_leg.mpc +++ b/Programs/Source/prf_leg.mpc @@ -27,7 +27,7 @@ class KDPreprocessing(object): for i in range(bit_len): s, ssq = sint.get_random_square() b = sint.get_random_bit() - t = b*(ssq - nonsq) + nonsq + t = b*(ssq - nonsq) + nonsq * sq next_row = cur_row + i pre_squares[next_row] = t