summaryrefslogtreecommitdiff
path: root/python/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/constants.py')
-rw-r--r--python/constants.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/python/constants.py b/python/constants.py
index 02bbc1f..e8d8d03 100644
--- a/python/constants.py
+++ b/python/constants.py
@@ -2,15 +2,6 @@ BLOCK_BYTES = 16
NONCE_BYTES = 15
-def rounds(key_bits):
- r = {
- 128: 32,
- 192: 36,
- 256: 42
- }
- return r[key_bits]
-
-
Sbox = [32, 0, 178, 133, 59, 53, 166, 164,
48, 228, 106, 44, 255, 89, 226, 14,
248, 30, 122, 128, 21, 189, 62, 177,