Commit 9ce9c53e authored by Niels Möller's avatar Niels Möller
Browse files

Don't use WITH_PUBLIC_KEY / WITH_HOGWEED, then Makefile sorts out

which files should be compiled.

Rev: nettle/der2rsa.c:1.2
Rev: nettle/dsa-keygen.c:1.2
Rev: nettle/dsa-sign.c:1.2
Rev: nettle/dsa-verify.c:1.2
Rev: nettle/dsa.c:1.2
Rev: nettle/pkcs1-rsa-md5.c:1.2
Rev: nettle/pkcs1-rsa-sha1.c:1.2
Rev: nettle/pkcs1-rsa-sha256.c:1.2
Rev: nettle/pkcs1.c:1.2
Rev: nettle/rsa-compat.c:1.2
Rev: nettle/rsa-decrypt.c:1.2
Rev: nettle/rsa-encrypt.c:1.2
Rev: nettle/rsa-keygen.c:1.2
Rev: nettle/rsa-md5-sign.c:1.2
Rev: nettle/rsa-md5-verify.c:1.2
Rev: nettle/rsa-sha1-sign.c:1.2
Rev: nettle/rsa-sha1-verify.c:1.2
Rev: nettle/rsa-sha256-sign.c:1.2
Rev: nettle/rsa-sha256-verify.c:1.2
Rev: nettle/rsa-sign.c:1.2
Rev: nettle/rsa-verify.c:1.2
Rev: nettle/rsa.c:1.2
Rev: nettle/rsa2openpgp.c:1.2
Rev: nettle/rsa2sexp.c:1.2
Rev: nettle/sexp2dsa.c:1.2
Rev: nettle/sexp2rsa.c:1.2
parent 274df193
......@@ -27,8 +27,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include "rsa.h"
#include "bignum.h"
......@@ -57,5 +55,3 @@ _rsa_verify(const struct rsa_public_key *key,
return res;
}
#endif /* WITH_PUBLIC_KEY */
......@@ -27,8 +27,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include "rsa.h"
#include "bignum.h"
......@@ -80,5 +78,3 @@ rsa_public_key_prepare(struct rsa_public_key *key)
return (key->size > 0);
}
#endif /* WITH_PUBLIC_KEY */
......@@ -27,8 +27,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include <string.h>
#include <time.h>
......@@ -102,4 +100,3 @@ rsa_keypair_to_openpgp(struct nettle_buffer *buffer,
PGP_SIGN_CERTIFICATION,
&signature_hash);
}
#endif /* WITH_PUBLIC_KEY */
......@@ -26,8 +26,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include "rsa.h"
#include "sexp.h"
......@@ -52,5 +50,3 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer,
return sexp_format(buffer, "(public-key(%0s(n%b)(e%b)))",
algorithm_name, pub->n, pub->e);
}
#endif /* WITH_PUBLIC_KEY */
......@@ -26,8 +26,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include <string.h>
#include "dsa.h"
......@@ -102,5 +100,3 @@ dsa_signature_from_sexp(struct dsa_signature *rs,
return 1;
}
#endif /* WITH_PUBLIC_KEY */
......@@ -26,8 +26,6 @@
# include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include <string.h>
#include "rsa.h"
......@@ -108,5 +106,3 @@ rsa_keypair_from_sexp(struct rsa_public_key *pub,
return rsa_keypair_from_sexp_alist(pub, priv, limit, &i);
}
#endif /* WITH_PUBLIC_KEY */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment