summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-10-06 09:12:39 +0000
committerAndy Polyakov <appro@openssl.org>2005-10-06 09:12:39 +0000
commitca04d7a20842b2de39264b6c1605c3443fc09d16 (patch)
tree855379855c1710b7d5026f14bbe92439af145705 /crypto/bn/bn.h
parent40a3c1230543c39d03a06e7b00e726313f9dd262 (diff)
Leave the decision to call/implement bn_sqr_mont to assembler developer.
Diffstat (limited to 'crypto/bn/bn.h')
-rw-r--r--crypto/bn/bn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h
index 61aecae6d5..b0c8f09808 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -729,8 +729,7 @@ int RAND_pseudo_bytes(unsigned char *buf,int num);
bn_pollute(a); \
}
-void bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,BN_ULONG n0, int num);
-void bn_sqr_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *np,BN_ULONG n0, int num);
+int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,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);