commit 57952a7dd9d9c586dcac84e46987d15d49674774
parent 7178069e072dc0c922a3bf0263746f82020566ea
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date: Fri, 15 Mar 2019 08:11:22 +0100
[implem-python] Simplification d'une compréhension
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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):