summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-15 08:11:22 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-21 14:49:15 +0100
commit57952a7dd9d9c586dcac84e46987d15d49674774 (patch)
treef6ddf43fafd2e220cc561d0afa16b35df7d485f9 /python
parent7178069e072dc0c922a3bf0263746f82020566ea (diff)
downloadlilliput-ae-implem-57952a7dd9d9c586dcac84e46987d15d49674774.tar.xz
[implem-python] Simplification d'une compréhension
Diffstat (limited to 'python')
-rw-r--r--python/helpers.py4
1 files changed, 1 insertions, 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):