summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/cipher.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-27 08:07:38 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-27 08:10:01 +0100
commit0ba0dda345c2280ebebe67ecaaa6179330b5cb01 (patch)
tree6a2854a496b80c4c66307f6f168a1dd07f297052 /crypto_aead/lilliputaei128v1/ref/cipher.h
parent4a5daafd4292d907e15291204aaffd29e6f6bbc2 (diff)
downloadlilliput-ae-implem-0ba0dda345c2280ebebe67ecaaa6179330b5cb01.tar.xz
Suppression du code de debug
Avec debug.h, il devrait être facile d'ajouter des traces en cas de besoin.
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/cipher.h')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/cipher.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/cipher.h b/crypto_aead/lilliputaei128v1/ref/cipher.h
index 02a94ac..06dfde5 100644
--- a/crypto_aead/lilliputaei128v1/ref/cipher.h
+++ b/crypto_aead/lilliputaei128v1/ref/cipher.h
@@ -1,7 +1,6 @@
#ifndef CIPHER_H
#define CIPHER_H
-#include <stdio.h> /* debug */
#include <stdint.h>
#include "parameters.h"
@@ -11,16 +10,14 @@ void lilliput_tbc_encrypt(
const uint8_t key[KEY_BYTES],
const uint8_t tweak[TWEAK_BYTES],
const uint8_t message[BLOCK_BYTES],
- uint8_t ciphertext[BLOCK_BYTES],
- FILE *debug
+ uint8_t ciphertext[BLOCK_BYTES]
);
void lilliput_tbc_decrypt(
const uint8_t key[KEY_BYTES],
const uint8_t tweak[TWEAK_BYTES],
const uint8_t ciphertext[BLOCK_BYTES],
- uint8_t message[BLOCK_BYTES],
- FILE *debug
+ uint8_t message[BLOCK_BYTES]
);
#endif /* CIPHER_H */