From: Niels Möller Date: Wed, 12 Feb 2014 15:35:51 +0000 (+0100) Subject: New constants, EAX_DIGEST_SIZE and GCM_DIGEST_SIZE. X-Git-Tag: nettle_3.0_release_20140607~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81df13f494ea8492469a918e3e1836e97ad538a3;p=thirdparty%2Fnettle.git New constants, EAX_DIGEST_SIZE and GCM_DIGEST_SIZE. --- diff --git a/ChangeLog b/ChangeLog index 25c161b5..82f49a2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-12 Niels Möller + + * eax.h (EAX_DIGEST_SIZE): New constant. + * gcm.h (GCM_DIGEST_SIZE): Likewise. + 2014-02-10 Niels Möller * chacha-set-nonce.c (chacha_set_nonce): Renamed file and diff --git a/eax.h b/eax.h index 988071dd..23f62bee 100644 --- a/eax.h +++ b/eax.h @@ -51,6 +51,7 @@ extern "C" { this in naming? */ #define EAX_BLOCK_SIZE 16 +#define EAX_DIGEST_SIZE 16 /* Values independent of message and nonce */ struct eax_key diff --git a/gcm.h b/gcm.h index bee45318..9c956ced 100644 --- a/gcm.h +++ b/gcm.h @@ -75,7 +75,7 @@ extern "C" { #define GCM_BLOCK_SIZE 16 #define GCM_IV_SIZE (GCM_BLOCK_SIZE - 4) - +#define GCM_DIGEST_SIZE 16 #define GCM_TABLE_BITS 8 /* Hashing subkey */