summaryrefslogtreecommitdiff
path: root/src/add_tweakeysequences/tweakey.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-02-05 08:21:47 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-02-05 08:21:47 +0100
commit833b24eb5dffcfb675aabbefd2435ed6f6b72bfe (patch)
tree8d95fcfccabe9c1edc322ab8cc2d62a86e72cbac /src/add_tweakeysequences/tweakey.h
parentc82158ac5bab34ec6b88560b65c23094384b8cdf (diff)
downloadlilliput-ae-implem-833b24eb5dffcfb675aabbefd2435ed6f6b72bfe.tar.xz
Mise en commun des sources à l'aide de liens symboliques
Diffstat (limited to 'src/add_tweakeysequences/tweakey.h')
l---------[-rw-r--r--]src/add_tweakeysequences/tweakey.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/add_tweakeysequences/tweakey.h b/src/add_tweakeysequences/tweakey.h
index 5470bc8..7f2415f 100644..120000
--- a/src/add_tweakeysequences/tweakey.h
+++ b/src/add_tweakeysequences/tweakey.h
@@ -1,23 +1 @@
-#ifndef TWEAKEY_H
-#define TWEAKEY_H
-
-#include <stdint.h>
-
-#include "parameters.h"
-
-
-void tweakey_state_init(
- uint8_t TK[TWEAKEY_BYTES],
- const uint8_t key[KEY_BYTES],
- const uint8_t tweak[TWEAK_BYTES]
-);
-
-void tweakey_state_extract(
- const uint8_t TK[TWEAKEY_BYTES],
- uint8_t round_constant,
- uint8_t round_tweakey[ROUND_TWEAKEY_BYTES] /* output */
-);
-
-void tweakey_state_update(uint8_t TK[TWEAKEY_BYTES]);
-
-#endif /* TWEAKEY_H */
+../ref/tweakey.h \ No newline at end of file