From 4f7591ab99af01a47e501275c25957fe9c4b750c Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 22 Nov 2018 11:23:47 +0100 Subject: Déplacement de la taille de bloc vers parameters.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- crypto_aead/lilliputaei128v1/ref/cipher.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crypto_aead/lilliputaei128v1/ref/cipher.h') 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], -- cgit v1.2.3