summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/cipher.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 11:23:47 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 14:51:13 +0100
commit4f7591ab99af01a47e501275c25957fe9c4b750c (patch)
tree4c3d54105ca76a9944b5c709781182e65f17cd50 /crypto_aead/lilliputaei128v1/ref/cipher.h
parente3fe01ca337c144b118d93b6930b6e9ac90864c3 (diff)
downloadlilliput-ae-implem-4f7591ab99af01a47e501275c25957fe9c4b750c.tar.xz
Déplacement de la taille de bloc vers parameters.h
Pas vraiment de raison, si ce n'est que ça simplifie la construction de l'api.h attendu par le NIST. Aussi, ajout de la taille du nonce.
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/cipher.h')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/cipher.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/cipher.h b/crypto_aead/lilliputaei128v1/ref/cipher.h
index 46f01df..02a94ac 100644
--- a/crypto_aead/lilliputaei128v1/ref/cipher.h
+++ b/crypto_aead/lilliputaei128v1/ref/cipher.h
@@ -7,10 +7,6 @@
#include "parameters.h"
-#define BLOCK_LENGTH_BITS 128
-#define BLOCK_BYTES (BLOCK_LENGTH_BITS/8)
-
-
void lilliput_tbc_encrypt(
const uint8_t key[KEY_BYTES],
const uint8_t tweak[TWEAK_BYTES],