summaryrefslogtreecommitdiff
path: root/pkcs1-rsa-sha256.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2007-05-14 16:43:30 +0200
committerNiels Möller <nisse@lysator.liu.se>2007-05-14 16:43:30 +0200
commit9ce9c53e9be2a815192a54a17ce191c5f3539883 (patch)
treed8978b6a75204c60463306760795f82bf02c5066 /pkcs1-rsa-sha256.c
parent274df193f8927bf6a264e15452030a02e0d2f868 (diff)
downloadnettle-9ce9c53e9be2a815192a54a17ce191c5f3539883.tar.gz
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
Diffstat (limited to 'pkcs1-rsa-sha256.c')
-rw-r--r--pkcs1-rsa-sha256.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkcs1-rsa-sha256.c b/pkcs1-rsa-sha256.c
index 77f9d048..82c169a5 100644
--- a/pkcs1-rsa-sha256.c
+++ b/pkcs1-rsa-sha256.c
@@ -27,8 +27,6 @@
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
@@ -90,5 +88,3 @@ pkcs1_rsa_sha256_encode_digest(mpz_t m, unsigned length, const uint8_t *digest)
memcpy(em + length - SHA256_DIGEST_SIZE, digest, SHA256_DIGEST_SIZE);
nettle_mpz_set_str_256_u(m, length, em);
}
-
-#endif /* WITH_PUBLIC_KEY */