Commit 227385b7 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure BN_DIV2W is not defining when defining it, and remove the

declarations of bn_add_part_words() and bn_sub_part_words() since they
do not exist.
parent f7a05931
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
@@ -90,6 +90,7 @@ extern "C" {
 * be on.  Again this in only really a problem on machines
 * using "long long's", are 32bit, and are not using my assembler code. */
#if defined(MSDOS) || defined(WINDOWS) || defined(WIN32) || defined(linux)
#undef BN_DIV2W
#define BN_DIV2W
#endif

@@ -462,8 +463,6 @@ void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
BN_ULONG bn_add_part_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num, int delta);
BN_ULONG bn_sub_part_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num, int delta);

#ifdef BN_DEBUG
void bn_dump1(FILE *o, const char *a, const BN_ULONG *b,int n);