summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/lilliput.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lilliput.py b/python/lilliput.py
index c2e1a69..92d8662 100644
--- a/python/lilliput.py
+++ b/python/lilliput.py
@@ -59,7 +59,7 @@ def mainEnc(plaintext, adata, mode=1, length=128):
A = adata
M = plaintext
- N = [0 for byte in range(0, N_BYTES)]
+ N = [byte for byte in range(0, N_BYTES)]
key = [byte for byte in range(0, int(key_bits/8))]
A_BITS = 8 * len(A)
@@ -82,7 +82,7 @@ def mainDec(ciphertext, tag, adata, mode=1, length=128):
A = adata
C = ciphertext
- N = [0 for byte in range(0, N_BYTES)]
+ N = [byte for byte in range(0, N_BYTES)]
key = [byte for byte in range(0, int(key_bits/8))]
tag = list(tag)