summaryrefslogtreecommitdiff
path: root/src/add_tweakeysequences/lilliput-ae.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/lilliput-ae.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/lilliput-ae.h')
l---------[-rw-r--r--]src/add_tweakeysequences/lilliput-ae.h35
1 files changed, 1 insertions, 34 deletions
diff --git a/src/add_tweakeysequences/lilliput-ae.h b/src/add_tweakeysequences/lilliput-ae.h
index e2d5051..66c8314 100644..120000
--- a/src/add_tweakeysequences/lilliput-ae.h
+++ b/src/add_tweakeysequences/lilliput-ae.h
@@ -1,34 +1 @@
-#ifndef LILLIPUT_AE_H
-#define LILLIPUT_AE_H
-
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
-
-#include "parameters.h"
-
-
-void lilliput_ae_encrypt(
- size_t message_len,
- const uint8_t message[message_len],
- size_t auth_data_len,
- const uint8_t auth_data[auth_data_len],
- const uint8_t key[KEY_BYTES],
- const uint8_t nonce[NONCE_BYTES],
- uint8_t ciphertext[message_len],
- uint8_t tag[TAG_BYTES]
-);
-
-bool lilliput_ae_decrypt(
- size_t ciphertext_len,
- const uint8_t ciphertext[ciphertext_len],
- size_t auth_data_len,
- const uint8_t auth_data[auth_data_len],
- const uint8_t key[KEY_BYTES],
- const uint8_t nonce[NONCE_BYTES],
- const uint8_t tag[TAG_BYTES],
- uint8_t message[ciphertext_len]
-);
-
-
-#endif /* LILLIPUT_AE_H */
+../ref/lilliput-ae.h \ No newline at end of file