From c55465fc5cbe004bdca1cbd6990fed3c798d5f1b Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 14 Mar 2019 15:51:31 +0100 Subject: [implem-python] Retrait de A_BITS/M_BITS (1.1/2) --- python/lilliput_ae_1.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'python/lilliput_ae_1.py') 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) -- cgit v1.2.3