diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-27 08:58:46 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-27 08:58:46 +0100 |
| commit | d14739644394986cb584acb45ed9b214dff1c501 (patch) | |
| tree | 3bd49b3feeafcd3aeb23a779d161f67664a1eaec /crypto_aead/lilliputaei128v1/ref/lilliput-ae.h | |
| parent | 89ff89643cf6682742730c3f65b572debe2c2ab1 (diff) | |
| download | lilliput-ae-implem-d14739644394986cb584acb45ed9b214dff1c501.tar.xz | |
Mise en commun du code TBC et ΘCB3
Il ne devrait pas varier selon les paramètres AFAICT.
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/lilliput-ae.h')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/lilliput-ae.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/lilliput-ae.h b/crypto_aead/lilliputaei128v1/ref/lilliput-ae.h deleted file mode 100644 index 062c71c..0000000 --- a/crypto_aead/lilliputaei128v1/ref/lilliput-ae.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef LILLIPUT_AE_H -#define LILLIPUT_AE_H - -#include <stddef.h> -#include <stdbool.h> -#include <stdint.h> - -#include "parameters.h" - - -/* TODO: replace c_len with m_len */ -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 */ |
