diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-02-05 08:00:53 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-02-05 08:00:53 +0100 |
| commit | a5cd17702c6a8178c228f10372637fa376d018c8 (patch) | |
| tree | 938cdd49f5cb483df48927366a1ecd3049b59567 /src/add_developedtweakey/lilliput-ae.h | |
| parent | af531ef71e68e98d1eee4fdefb30b3f2e8cd83c4 (diff) | |
| download | lilliput-ae-implem-a5cd17702c6a8178c228f10372637fa376d018c8.tar.xz | |
Changement de l'implémentation de référence
Diffstat (limited to 'src/add_developedtweakey/lilliput-ae.h')
| -rw-r--r-- | src/add_developedtweakey/lilliput-ae.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/add_developedtweakey/lilliput-ae.h b/src/add_developedtweakey/lilliput-ae.h deleted file mode 100644 index e2d5051..0000000 --- a/src/add_developedtweakey/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 */ |
