From dded798f1a038c8482fcc5d41824a9161d0a60c2 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 4 Dec 2018 08:15:59 +0100 Subject: [WIP] screw with folders organization --- src/i-128/_parameters.h | 9 +++++++++ src/i-192/_parameters.h | 9 +++++++++ src/i-256/_parameters.h | 9 +++++++++ src/ii-128/_parameters.h | 9 +++++++++ src/ii-192/_parameters.h | 9 +++++++++ src/ii-256/_parameters.h | 9 +++++++++ 6 files changed, 54 insertions(+) create mode 100644 src/i-128/_parameters.h create mode 100644 src/i-192/_parameters.h create mode 100644 src/i-256/_parameters.h create mode 100644 src/ii-128/_parameters.h create mode 100644 src/ii-192/_parameters.h create mode 100644 src/ii-256/_parameters.h (limited to 'src') 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 */ -- cgit v1.2.3