summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/tweakey.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/tweakey.h')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/tweakey.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/tweakey.h b/crypto_aead/lilliputaei128v1/ref/tweakey.h
index 6d575b8..deff35f 100644
--- a/crypto_aead/lilliputaei128v1/ref/tweakey.h
+++ b/crypto_aead/lilliputaei128v1/ref/tweakey.h
@@ -4,16 +4,7 @@
#include <stdio.h> /* debug */
#include <stdint.h>
-
-#define TWEAK_LENGTH_BITS 192
-#define KEY_LENGTH_BITS 128
-#define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS)
-#define ROUND_TWEAKEY_LENGTH_BITS 64
-
-#define TWEAK_BYTES (TWEAK_LENGTH_BITS/8)
-#define KEY_BYTES (KEY_LENGTH_BITS/8)
-#define TWEAKEY_BYTES (TWEAKEY_LENGTH_BITS/8)
-#define ROUND_TWEAKEY_BYTES (ROUND_TWEAKEY_LENGTH_BITS/8)
+#include "parameters.h"
struct tweakey_state