From: Niels Möller Date: Tue, 8 Feb 2011 20:11:35 +0000 (+0100) Subject: * gcm.h (struct gcm_ctx): The hash key is now always an array, X-Git-Tag: nettle_2.2_release_20110711~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa5e487d30fe2750c9bb68e57a61191e5a6b7d78;p=thirdparty%2Fnettle.git * gcm.h (struct gcm_ctx): The hash key is now always an array, named h, with array size depending on GCM_TABLE_BITS. Rev: nettle/gcm.h:1.6 --- diff --git a/gcm.h b/gcm.h index aa17c34e..7f3c8ae1 100644 --- a/gcm.h +++ b/gcm.h @@ -63,10 +63,7 @@ union gcm_block struct gcm_ctx { /* Key-dependent state. */ /* Hashing subkey */ - union gcm_block h; -#if GCM_TABLE_BITS - union gcm_block h_table[1 << GCM_TABLE_BITS]; -#endif + union gcm_block h[1 << GCM_TABLE_BITS]; /* Per-message state, depending on the iv */ /* Original counter block */ union gcm_block iv;