From: Andy Polyakov Date: Sun, 6 Nov 2005 22:10:38 +0000 (+0000) Subject: Move declaration for optional bn_mul_mont to bn_lcl.h in order to hide X-Git-Tag: OpenSSL_0_9_8k^2~1710 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd2abcae37dc693ca1aa1c5a53f512ac7044d0e6;p=oweals%2Fopenssl.git Move declaration for optional bn_mul_mont to bn_lcl.h in order to hide it from mkdef.pl. --- 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: