* testsuite/testutils.c: Likewise.
Rev: nettle/testsuite/testutils.c:1.2
Rev: nettle/testsuite/testutils.h:1.2
}
#endif /* HAVE_LIBGMP */
-#if WITH_PUBLIC_KEY
+#if WITH_HOGWEED
#define SIGN(key, hash, msg, signature) do { \
hash##_update(&hash, LDATA(msg)); \
rsa_##hash##_sign(key, &hash, signature); \
ASSERT(0 == mpz_cmp(t, pub->y));
};
-#endif /* WITH_PUBLIC_KEY */
+#endif /* WITH_HOGWEED */
# include "bignum.h"
#endif
-#if WITH_PUBLIC_KEY
+#if WITH_HOGWEED
# include "rsa.h"
# include "dsa.h"
#endif
const uint8_t *data,
const uint8_t *ascii);
-#if WITH_PUBLIC_KEY
+#if WITH_HOGWEED
void
test_rsa_set_key_1(struct rsa_public_key *pub,
struct rsa_private_key *key);
test_dsa_key(struct dsa_public_key *pub,
struct dsa_private_key *key);
-#endif /* WITH_PUBLIC_KEY */
+#endif /* WITH_HOGWEED */
#ifdef __cplusplus
}