diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-15 08:11:22 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-21 14:49:15 +0100 |
| commit | 57952a7dd9d9c586dcac84e46987d15d49674774 (patch) | |
| tree | f6ddf43fafd2e220cc561d0afa16b35df7d485f9 /python | |
| parent | 7178069e072dc0c922a3bf0263746f82020566ea (diff) | |
| download | lilliput-ae-implem-57952a7dd9d9c586dcac84e46987d15d49674774.tar.xz | |
[implem-python] Simplification d'une compréhension
Diffstat (limited to 'python')
| -rw-r--r-- | python/helpers.py | 4 |
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): |
