]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(GCM_TABLE_BITS): Increase table size to 8 bits,
authorNiels Möller <nisse@lysator.liu.se>
Sun, 13 Feb 2011 14:17:22 +0000 (15:17 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 13 Feb 2011 14:17:22 +0000 (15:17 +0100)
corresponding to 4 KByte of key-dependent tables.

Rev: nettle/gcm.h:1.10

gcm.h

diff --git a/gcm.h b/gcm.h
index 2c1d7a60465e0d058a40aec453821929887b657b..01dbd9525d927881f25de58b726044dc4002e098 100644 (file)
--- a/gcm.h
+++ b/gcm.h
@@ -58,7 +58,7 @@ extern "C" {
 #define GCM_BLOCK_SIZE 16
 #define GCM_IV_SIZE (GCM_BLOCK_SIZE - 4)
 
-#define GCM_TABLE_BITS 4
+#define GCM_TABLE_BITS 8
 
 /* To make sure that we have proper alignment. */
 union gcm_block