summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-11-06 22:10:38 +0000
committerAndy Polyakov <appro@openssl.org>2005-11-06 22:10:38 +0000
commitbd2abcae37dc693ca1aa1c5a53f512ac7044d0e6 (patch)
tree1154e8e42a04fcf7e4ffc1a80c193f5270bf1a01 /crypto
parentf1fbd4c7d12d4fcc5fe14b58db8889adf3a589cc (diff)
Move declaration for optional bn_mul_mont to bn_lcl.h in order to hide
it from mkdef.pl.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/bn/bn.h1
-rw-r--r--crypto/bn/bn_lcl.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h
index 0b616a6142..ca5861703e 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -729,7 +729,6 @@ int RAND_pseudo_bytes(unsigned char *buf,int num);
bn_pollute(a); \
}
-int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num);
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
index ad4ca7ff30..27ac4397a1 100644
--- a/crypto/bn/bn_lcl.h
+++ b/crypto/bn/bn_lcl.h
@@ -481,6 +481,7 @@ BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
int cl, int dl);
BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
int cl, int dl);
+int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num);
#ifdef __cplusplus
}