summaryrefslogtreecommitdiff
path: root/src/lilliput-ae.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-17 15:26:12 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-17 15:51:39 +0100
commit4dcf6e9afb6e30a94f1f88102975627cf7edbc84 (patch)
treed1c83c2df181a7ce03d1ea003169a4e4674ac1df /src/lilliput-ae.h
parent265340a0542c1f9d46621258989a8c18249a028f (diff)
downloadlilliput-ae-implem-4dcf6e9afb6e30a94f1f88102975627cf7edbc84.tar.xz
Organisation des différentes implémentations
Au passage, officialisation de la version "i applications successives de M pour calculer Mⁱ" du key schedule.
Diffstat (limited to 'src/lilliput-ae.h')
-rw-r--r--src/lilliput-ae.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/lilliput-ae.h b/src/lilliput-ae.h
deleted file mode 100644
index e2d5051..0000000
--- a/src/lilliput-ae.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#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 */