lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

commit c55465fc5cbe004bdca1cbd6990fed3c798d5f1b
parent 5f19c30d2fee032b8fd07ec5bfe40f6599bf3eb7
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Thu, 14 Mar 2019 15:51:31 +0100

[implem-python] Retrait de A_BITS/M_BITS (1.1/2)

Diffstat:
Mpython/lilliput_ae_1.py | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git 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)