diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-14 15:51:31 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-21 14:49:15 +0100 |
| commit | c55465fc5cbe004bdca1cbd6990fed3c798d5f1b (patch) | |
| tree | fd3580b252ffd875a40b322d139bde09d33ed48f /python | |
| parent | 5f19c30d2fee032b8fd07ec5bfe40f6599bf3eb7 (diff) | |
| download | lilliput-ae-implem-c55465fc5cbe004bdca1cbd6990fed3c798d5f1b.tar.xz | |
[implem-python] Retrait de A_BITS/M_BITS (1.1/2)
Diffstat (limited to 'python')
| -rw-r--r-- | python/lilliput_ae_1.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/python/lilliput_ae_1.py b/python/lilliput_ae_1.py index 6ab0cc3..c9a731e 100644 --- a/python/lilliput_ae_1.py +++ b/python/lilliput_ae_1.py @@ -212,12 +212,6 @@ def TreatMessageDec(C, N, key) : def OCB3Enc(A, M, N, key) : InitParameters(len(key)*8) - global A_BITS - global M_BITS - - A_BITS = len(A)*8 - M_BITS = len(M)*8 - K = list(key) Auth = BuildAuth(A, K) @@ -230,12 +224,6 @@ def OCB3Enc(A, M, N, key) : def OCB3Dec(A, C, N, tag, key) : InitParameters(len(key)*8) - global A_BITS - global M_BITS - - A_BITS = len(A)*8 - M_BITS = len(C)*8 - K = list(key) Auth = BuildAuth(A, K) |
