summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-04 08:15:59 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-04 10:40:58 +0100
commitdded798f1a038c8482fcc5d41824a9161d0a60c2 (patch)
treea52436ee5e61d639aaceaeae2efb587a6e68f57b /src
parent950bd7432cd486d29503444b0557d7a1452efd07 (diff)
downloadlilliput-ae-implem-dded798f1a038c8482fcc5d41824a9161d0a60c2.tar.xz
[WIP] screw with folders organization
Diffstat (limited to 'src')
-rw-r--r--src/i-128/_parameters.h9
-rw-r--r--src/i-192/_parameters.h9
-rw-r--r--src/i-256/_parameters.h9
-rw-r--r--src/ii-128/_parameters.h9
-rw-r--r--src/ii-192/_parameters.h9
-rw-r--r--src/ii-256/_parameters.h9
6 files changed, 54 insertions, 0 deletions
diff --git a/src/i-128/_parameters.h b/src/i-128/_parameters.h
new file mode 100644
index 0000000..08ce8c1
--- /dev/null
+++ b/src/i-128/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 128
+#define ROUNDS 32
+
+#define TWEAK_LENGTH_BITS 192
+
+#endif /* _PARAMETERS_H */
diff --git a/src/i-192/_parameters.h b/src/i-192/_parameters.h
new file mode 100644
index 0000000..d1dc476
--- /dev/null
+++ b/src/i-192/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 192
+#define ROUNDS 36
+
+#define TWEAK_LENGTH_BITS 192
+
+#endif /* _PARAMETERS_H */
diff --git a/src/i-256/_parameters.h b/src/i-256/_parameters.h
new file mode 100644
index 0000000..d948ac5
--- /dev/null
+++ b/src/i-256/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 256
+#define ROUNDS 42
+
+#define TWEAK_LENGTH_BITS 192
+
+#endif /* _PARAMETERS_H */
diff --git a/src/ii-128/_parameters.h b/src/ii-128/_parameters.h
new file mode 100644
index 0000000..147730d
--- /dev/null
+++ b/src/ii-128/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 128
+#define ROUNDS 32
+
+#define TWEAK_LENGTH_BITS 128
+
+#endif /* _PARAMETERS_H */
diff --git a/src/ii-192/_parameters.h b/src/ii-192/_parameters.h
new file mode 100644
index 0000000..8b76285
--- /dev/null
+++ b/src/ii-192/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 192
+#define ROUNDS 36
+
+#define TWEAK_LENGTH_BITS 128
+
+#endif /* _PARAMETERS_H */
diff --git a/src/ii-256/_parameters.h b/src/ii-256/_parameters.h
new file mode 100644
index 0000000..8bd0430
--- /dev/null
+++ b/src/ii-256/_parameters.h
@@ -0,0 +1,9 @@
+#ifndef _PARAMETERS_H
+#define _PARAMETERS_H
+
+#define KEY_LENGTH_BITS 256
+#define ROUNDS 42
+
+#define TWEAK_LENGTH_BITS 128
+
+#endif /* _PARAMETERS_H */