From bd2abcae37dc693ca1aa1c5a53f512ac7044d0e6 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 6 Nov 2005 22:10:38 +0000 Subject: [PATCH] Move declaration for optional bn_mul_mont to bn_lcl.h in order to hide it from mkdef.pl. --- crypto/bn/bn.h | 1 - crypto/bn/bn_lcl.h | 1 + util/libeay.num | 2 +- 3 files changed, 2 insertions(+), 2 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 } diff --git a/util/libeay.num b/util/libeay.num index 2903d735aa..af34e1dc7c 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -3405,7 +3405,7 @@ ISSUING_DIST_POINT_free 3804 EXIST::FUNCTION: i2d_NETSCAPE_X509 3805 EXIST::FUNCTION: ISSUING_DIST_POINT_it 3806 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: ISSUING_DIST_POINT_it 3806 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: -bn_mul_mont 3807 EXIST::FUNCTION: +bn_mul_mont 3807 NOEXIST::FUNCTION: ASN1_PCTX_set_oid_flags 3808 EXIST::FUNCTION: ASN1_PCTX_new 3809 EXIST::FUNCTION: NETSCAPE_X509_new 3810 EXIST::FUNCTION: -- 2.25.1