summaryrefslogtreecommitdiff
path: root/src/ref/parameters.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-02-05 08:44:52 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-02-05 08:44:52 +0100
commitff54e8b4a758d35f4a1d4e0b0303092e7d96da0e (patch)
tree689ac21607d8760fb53f6a97903c1c5976c52896 /src/ref/parameters.h
parent833b24eb5dffcfb675aabbefd2435ed6f6b72bfe (diff)
downloadlilliput-ae-implem-ff54e8b4a758d35f4a1d4e0b0303092e7d96da0e.tar.xz
Renommage des entêtes de constantes
Aucune idée de pourquoi j'avais insisté pour nommer les deux "parameters" plutôt que de distinguer les constantes des paramètres. Peut-être par souci de compatibilité avec FELICS, qui utilise constants.h. 🤷
Diffstat (limited to 'src/ref/parameters.h')
-rw-r--r--src/ref/parameters.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ref/parameters.h b/src/ref/parameters.h
deleted file mode 100644
index 681a152..0000000
--- a/src/ref/parameters.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef PARAMETERS_H
-#define PARAMETERS_H
-
-#include "_parameters.h"
-
-#define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS)
-#define ROUND_TWEAKEY_LENGTH_BITS 64
-#define BLOCK_LENGTH_BITS 128
-#define NONCE_LENGTH_BITS 120
-#define TAG_LENGTH_BITS 128
-
-#define TWEAK_BYTES (TWEAK_LENGTH_BITS/8)
-#define KEY_BYTES (KEY_LENGTH_BITS/8)
-#define TWEAKEY_BYTES (TWEAKEY_LENGTH_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)
-#define TAG_BYTES (TAG_LENGTH_BITS/8)
-
-#endif /* PARAMETERS_H */