diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-14 16:51:11 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-03-21 14:49:15 +0100 |
| commit | 60707e26d3068a43e0caa7973a4fb88428443738 (patch) | |
| tree | f6e6ef26b0c14e2ad10eeb26e337d9ed79e6cd1d /python | |
| parent | 12585a5a0f2faca9c6ab2490bb50b34450876538 (diff) | |
| download | lilliput-ae-implem-60707e26d3068a43e0caa7973a4fb88428443738.tar.xz | |
[implem-python] Correction d'un bug sur un chemin d'erreur
Diffstat (limited to 'python')
| -rw-r--r-- | python/lilliput.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lilliput.py b/python/lilliput.py index e92ed5f..f9c1b09 100644 --- 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): |
