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 60707e26d3068a43e0caa7973a4fb88428443738
parent 12585a5a0f2faca9c6ab2490bb50b34450876538
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Thu, 14 Mar 2019 16:51:11 +0100

[implem-python] Correction d'un bug sur un chemin d'erreur

Diffstat:
Mpython/lilliput.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/lilliput.py b/python/lilliput.py @@ -10,7 +10,7 @@ def _checkInputs(key, nonce): raise ValueError('invalid key size: {} not in {}'.format(len(key)*8, valid_key_lengths)) if len(nonce) != NONCE_BYTES: - raise ValueError('nonce must be {}-byte long'.format(N_BYTES)) + raise ValueError('nonce must be {}-byte long'.format(NONCE_BYTES)) def mainEnc(plaintext, adata, key, nonce, mode):