summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/parameters.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 14:47:07 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 14:51:13 +0100
commit3a18c0891d890892a23eec2d4f438d2758dee1fe (patch)
tree307b02230c33f97f05b00233a070ea9f209d3d2c /crypto_aead/lilliputaei128v1/ref/parameters.h
parentbd03e27a8be67357b441bbdae00ce10447bd55e7 (diff)
downloadlilliput-ae-implem-3a18c0891d890892a23eec2d4f438d2758dee1fe.tar.xz
Ajout de tests et de l'API pour le mode authentifié
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/parameters.h')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/parameters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/parameters.h b/crypto_aead/lilliputaei128v1/ref/parameters.h
index 988a0c6..492a884 100644
--- a/crypto_aead/lilliputaei128v1/ref/parameters.h
+++ b/crypto_aead/lilliputaei128v1/ref/parameters.h
@@ -10,6 +10,7 @@
#define ROUND_TWEAKEY_LENGTH_BITS 64
#define BLOCK_LENGTH_BITS 128
#define NONCE_LENGTH_BITS 120
+#define TAG_LENGTH_BITS 128
#define TWEAK_BYTES (TWEAK_LENGTH_BITS/8)
#define KEY_BYTES (KEY_LENGTH_BITS/8)
@@ -17,6 +18,7 @@
#define ROUND_TWEAKEY_BYTES (ROUND_TWEAKEY_LENGTH_BITS/8)
#define BLOCK_BYTES (BLOCK_LENGTH_BITS/8)
#define NONCE_BYTES (NONCE_LENGTH_BITS/8)
+#define TAG_BYTES (TAG_LENGTH_BITS/8)
#define ROUNDS 32