summaryrefslogtreecommitdiff
path: root/src/ref/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ref/constants.h')
-rw-r--r--src/ref/constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ref/constants.h b/src/ref/constants.h
index 6812fd8..d2da2a0 100644
--- a/src/ref/constants.h
+++ b/src/ref/constants.h
@@ -23,6 +23,7 @@ This file provides bit and byte lengths for input and output parameters.
#include "parameters.h"
#define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS)
+#define LANE_BITS 64
#define ROUND_TWEAKEY_LENGTH_BITS 64
#define BLOCK_LENGTH_BITS 128
#define NONCE_LENGTH_BITS 120
@@ -31,6 +32,7 @@ This file provides bit and byte lengths for input and output parameters.
#define TWEAK_BYTES (TWEAK_LENGTH_BITS/8)
#define KEY_BYTES (KEY_LENGTH_BITS/8)
#define TWEAKEY_BYTES (TWEAKEY_LENGTH_BITS/8)
+#define LANE_BYTES (LANE_BITS/8)
#define ROUND_TWEAKEY_BYTES (ROUND_TWEAKEY_LENGTH_BITS/8)
#define BLOCK_BYTES (BLOCK_LENGTH_BITS/8)
#define NONCE_BYTES (NONCE_LENGTH_BITS/8)