summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-06-25 19:05:50 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-06-25 19:05:50 +0200
commit51fb8e8f87d85448baa2eb7bbd6a46188fedc0f9 (patch)
tree8bbfc5839525da70d62433a9a9351c97375501fa
parentb2780333ca18e3205b8e1bfb18f0cd01812c655a (diff)
downloadnettle-51fb8e8f87d85448baa2eb7bbd6a46188fedc0f9.tar.gz
Include bignum.h instead of gmp.h.
-rw-r--r--ChangeLog7
-rw-r--r--dsa.h3
-rw-r--r--ecc-internal.h3
-rw-r--r--ecc.h3
-rw-r--r--gmp-glue.h4
-rw-r--r--pkcs1.h2
-rw-r--r--rsa.h2
7 files changed, 13 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b5c4033..820f1bd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/dsa.h b/dsa.h
index aa0a9bb8..7aa982ab 100644
--- a/dsa.h
+++ b/dsa.h
@@ -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"
diff --git a/ecc.h b/ecc.h
index 0097c5f1..7293186b 100644
--- a/ecc.h
+++ b/ecc.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" {
diff --git a/gmp-glue.h b/gmp-glue.h
index f4144a92..69663de6 100644
--- a/gmp-glue.h
+++ b/gmp-glue.h
@@ -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
diff --git a/pkcs1.h b/pkcs1.h
index b766eb70..70aa21f1 100644
--- a/pkcs1.h
+++ b/pkcs1.h
@@ -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" {
diff --git a/rsa.h b/rsa.h
index c0398627..44d4af94 100644
--- a/rsa.h
+++ b/rsa.h
@@ -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"