summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 */