summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-14 15:51:31 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-21 14:49:15 +0100
commitc55465fc5cbe004bdca1cbd6990fed3c798d5f1b (patch)
treefd3580b252ffd875a40b322d139bde09d33ed48f /python
parent5f19c30d2fee032b8fd07ec5bfe40f6599bf3eb7 (diff)
downloadlilliput-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.py12
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)