summaryrefslogtreecommitdiff
path: root/src/ref
diff options
context:
space:
mode:
Diffstat (limited to 'src/ref')
-rw-r--r--src/ref/ae-common.h2
-rw-r--r--src/ref/cipher.c2
-rw-r--r--src/ref/cipher.h2
-rw-r--r--src/ref/constants.h (renamed from src/ref/parameters.h)8
-rw-r--r--src/ref/lilliput-ae.h2
-rw-r--r--src/ref/tweakey.c2
-rw-r--r--src/ref/tweakey.h2
7 files changed, 10 insertions, 10 deletions
diff --git a/src/ref/ae-common.h b/src/ref/ae-common.h
index 561854e..6648280 100644
--- a/src/ref/ae-common.h
+++ b/src/ref/ae-common.h
@@ -6,7 +6,7 @@
#include <string.h>
#include "cipher.h"
-#include "parameters.h"
+#include "constants.h"
static inline uint8_t upper_nibble(uint8_t i)
diff --git a/src/ref/cipher.c b/src/ref/cipher.c
index e5ccd15..48fc35c 100644
--- a/src/ref/cipher.c
+++ b/src/ref/cipher.c
@@ -2,7 +2,7 @@
#include <string.h>
#include "cipher.h"
-#include "parameters.h"
+#include "constants.h"
#include "tweakey.h"
diff --git a/src/ref/cipher.h b/src/ref/cipher.h
index 06dfde5..30cb9c5 100644
--- a/src/ref/cipher.h
+++ b/src/ref/cipher.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-#include "parameters.h"
+#include "constants.h"
void lilliput_tbc_encrypt(
diff --git a/src/ref/parameters.h b/src/ref/constants.h
index 681a152..063c8af 100644
--- a/src/ref/parameters.h
+++ b/src/ref/constants.h
@@ -1,7 +1,7 @@
-#ifndef PARAMETERS_H
-#define PARAMETERS_H
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
-#include "_parameters.h"
+#include "parameters.h"
#define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS)
#define ROUND_TWEAKEY_LENGTH_BITS 64
@@ -17,4 +17,4 @@
#define NONCE_BYTES (NONCE_LENGTH_BITS/8)
#define TAG_BYTES (TAG_LENGTH_BITS/8)
-#endif /* PARAMETERS_H */
+#endif /* CONSTANTS_H */
diff --git a/src/ref/lilliput-ae.h b/src/ref/lilliput-ae.h
index e2d5051..24bd7de 100644
--- a/src/ref/lilliput-ae.h
+++ b/src/ref/lilliput-ae.h
@@ -5,7 +5,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "parameters.h"
+#include "constants.h"
void lilliput_ae_encrypt(
diff --git a/src/ref/tweakey.c b/src/ref/tweakey.c
index 0588c1b..e5faf2a 100644
--- a/src/ref/tweakey.c
+++ b/src/ref/tweakey.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <string.h>
-#include "parameters.h"
+#include "constants.h"
#include "tweakey.h"
diff --git a/src/ref/tweakey.h b/src/ref/tweakey.h
index 5470bc8..f4c1f0a 100644
--- a/src/ref/tweakey.h
+++ b/src/ref/tweakey.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-#include "parameters.h"
+#include "constants.h"
void tweakey_state_init(