diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-06-25 19:05:50 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-06-25 19:05:50 +0200 |
commit | 51fb8e8f87d85448baa2eb7bbd6a46188fedc0f9 (patch) | |
tree | 8bbfc5839525da70d62433a9a9351c97375501fa | |
parent | b2780333ca18e3205b8e1bfb18f0cd01812c655a (diff) | |
download | nettle-51fb8e8f87d85448baa2eb7bbd6a46188fedc0f9.tar.gz |
Include bignum.h instead of gmp.h.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | dsa.h | 3 | ||||
-rw-r--r-- | ecc-internal.h | 3 | ||||
-rw-r--r-- | ecc.h | 3 | ||||
-rw-r--r-- | gmp-glue.h | 4 | ||||
-rw-r--r-- | pkcs1.h | 2 | ||||
-rw-r--r-- | rsa.h | 2 |
7 files changed, 13 insertions, 11 deletions
@@ -1,5 +1,12 @@ 2014-06-25 Niels Möller <nisse@lysator.liu.se> + * dsa.h: Include bignum.h instead of gmp.h. + * ecc-internal.h: Likewise. + * ecc.h: Likewise. + * gmp-glue.h: Likewise. + * pkcs1.h: Likewise. + * rsa.h: Likewise. + * testsuite/testutils.c (die): Use plain vfprintf, not gmp_vfprintf. (write_mpn): New function. @@ -34,9 +34,8 @@ #ifndef NETTLE_DSA_H_INCLUDED #define NETTLE_DSA_H_INCLUDED -#include <gmp.h> - #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { diff --git a/ecc-internal.h b/ecc-internal.h index a294e6cc..3d284bd6 100644 --- a/ecc-internal.h +++ b/ecc-internal.h @@ -34,9 +34,8 @@ #ifndef NETTLE_ECC_INTERNAL_H_INCLUDED #define NETTLE_ECC_INTERNAL_H_INCLUDED -#include <gmp.h> - #include "nettle-types.h" +#include "bignum.h" #include "ecc-curve.h" #include "gmp-glue.h" @@ -34,9 +34,8 @@ #ifndef NETTLE_ECC_H_INCLUDED #define NETTLE_ECC_H_INCLUDED -#include <gmp.h> - #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { @@ -33,9 +33,7 @@ #ifndef NETTLE_GMP_GLUE_H_INCLUDED #define NETTLE_GMP_GLUE_H_INCLUDED -#include <gmp.h> - -#include "nettle-stdint.h" +#include "bignum.h" #ifdef mpz_limbs_read #define GMP_HAVE_mpz_limbs_read 1 @@ -34,8 +34,8 @@ #ifndef NETTLE_PKCS1_H_INCLUDED #define NETTLE_PKCS1_H_INCLUDED -#include <gmp.h> #include "nettle-types.h" +#include "bignum.h" #ifdef __cplusplus extern "C" { @@ -34,8 +34,8 @@ #ifndef NETTLE_RSA_H_INCLUDED #define NETTLE_RSA_H_INCLUDED -#include <gmp.h> #include "nettle-types.h" +#include "bignum.h" #include "md5.h" #include "sha1.h" |