From 57952a7dd9d9c586dcac84e46987d15d49674774 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 15 Mar 2019 08:11:22 +0100 Subject: [implem-python] Simplification d'une compréhension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/helpers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/helpers.py b/python/helpers.py index 3d741b0..45c48c9 100644 --- a/python/helpers.py +++ b/python/helpers.py @@ -26,9 +26,7 @@ def BlockbytesMatrixToBytes(matrix): def XorState(state1, state2): - return list( - s1^s2 for (s1, s2) in zip(state1, state2) - ) + return [s1^s2 for (s1, s2) in zip(state1, state2)] def Padding10LSB(array, number_bits): -- cgit v1.2.3