From fa5e487d30fe2750c9bb68e57a61191e5a6b7d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 8 Feb 2011 21:11:35 +0100
Subject: [PATCH] * 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
---
 gcm.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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;
-- 
GitLab