]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Deleted NETTLE_MAX_BIGNUM_BITS and NETTLE_MAX_BIGNUM_SIZE.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 15 Dec 2013 18:15:22 +0000 (19:15 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 15 Dec 2013 18:15:22 +0000 (19:15 +0100)
ChangeLog
nettle-internal.h

index 26037fc43e9df8a837cb50afd378d768fcaa9450..6425460db94274770f59230647ee14509f0722b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-15  Niels Möller  <nisse@lysator.liu.se>
+
+       * nettle-internal.h (NETTLE_MAX_BIGNUM_BITS)
+       (NETTLE_MAX_BIGNUM_SIZE): Deleted arbitrary limits.
+
 2013-12-15  Nikos Mavrogiannopoulos <nmav@redhat.com>
 
        Introduced TMP_GMP_ALLOC macro for temporary allocations of
index 10689d45f3a1603db35aa335fb4e122e64250dcb..19e242c98a0fa80b8ee6e1300b7ccb266e8ddf3f 100644 (file)
@@ -46,8 +46,6 @@
 #endif 
 
 /* Arbitrary limits which apply to systems that don't have alloca */
-#define NETTLE_MAX_BIGNUM_BITS 10000
-#define NETTLE_MAX_BIGNUM_SIZE ((NETTLE_MAX_BIGNUM_BITS + 7)/8)
 #define NETTLE_MAX_HASH_BLOCK_SIZE 128
 #define NETTLE_MAX_HASH_DIGEST_SIZE 64
 #define NETTLE_MAX_SEXP_ASSOC 17