summaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2016-07-13 22:15:29 +0200
committerNiels Möller <nisse@lysator.liu.se>2016-07-13 22:15:29 +0200
commitb188d67a4db8fe8e8ec9580fdceba227d7d289bf (patch)
tree9c7b6d04a581b456b6f50eba27da06ceddf755e7 /bignum.h
parent4c9842b700833501bd23100637712137ad74f15a (diff)
downloadnettle-b188d67a4db8fe8e8ec9580fdceba227d7d289bf.tar.gz
Delete code for supporting GMP older than 5.0.
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/bignum.h b/bignum.h
index 0d305342..9afcd299 100644
--- a/bignum.h
+++ b/bignum.h
@@ -46,13 +46,8 @@
# define GMP_NUMB_MASK (~(mp_limb_t) 0)
-/* Functions missing in older gmp versions, and checked for with ifdef */
+/* Function missing in older gmp versions, and checked for with ifdef */
# define mpz_limbs_read mpz_limbs_read
-# define mpn_copyd mpn_copyd
-# define mpn_sqr mpn_sqr
-# define mpz_combit mpz_combit
-# define mpz_import mpz_import
-# define mpz_export mpz_export
/* Side-channel silent powm not available in mini-gmp. */
# define mpz_powm_sec mpz_powm
#else