diff options
author | Niels Möller <nisse@lysator.liu.se> | 2016-07-13 22:15:29 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2016-07-13 22:15:29 +0200 |
commit | b188d67a4db8fe8e8ec9580fdceba227d7d289bf (patch) | |
tree | 9c7b6d04a581b456b6f50eba27da06ceddf755e7 /bignum.h | |
parent | 4c9842b700833501bd23100637712137ad74f15a (diff) | |
download | nettle-b188d67a4db8fe8e8ec9580fdceba227d7d289bf.tar.gz |
Delete code for supporting GMP older than 5.0.
Diffstat (limited to 'bignum.h')
-rw-r--r-- | bignum.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |