diff options
author | Mark J. Cox <mark@openssl.org> | 1999-01-28 10:40:38 +0000 |
---|---|---|
committer | Mark J. Cox <mark@openssl.org> | 1999-01-28 10:40:38 +0000 |
commit | a0a5407901ae93fadcfead6d44b923b8ef1ad579 (patch) | |
tree | f491c5aedf07971f7a960e0976e7eef3d508e090 /crypto/bn/bn_asm.c | |
parent | 8938272b322353aa564c21597ff43c010a0dd487 (diff) | |
download | openssl-a0a5407901ae93fadcfead6d44b923b8ef1ad579.tar.gz |
Fixes to BN code. Previously the default was to define BN_RECURSION
but the BN code had some problems that would cause failures when
doing certificate verification and some other functions.
Submitted by: Eric A Young from a C2Net version of SSLeay
Reviewed by: Mark J Cox
PR:
Diffstat (limited to 'crypto/bn/bn_asm.c')
-rw-r--r-- | crypto/bn/bn_asm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/bn_asm.c b/crypto/bn/bn_asm.c index c9eb0e9d05..cdf20efa4f 100644 --- a/crypto/bn/bn_asm.c +++ b/crypto/bn/bn_asm.c @@ -447,7 +447,7 @@ int n; return(c); } -#ifdef BN_COMBA +#ifdef BN_MUL_COMBA #undef bn_mul_comba8 #undef bn_mul_comba4 @@ -790,6 +790,7 @@ BN_ULONG *r,*a; #else /* hmm... is it faster just to do a multiply? */ +#undef bn_sqr_comba4 void bn_sqr_comba4(r,a) BN_ULONG *r,*a; { @@ -797,6 +798,7 @@ BN_ULONG *r,*a; bn_sqr_normal(r,a,4,t); } +#undef bn_sqr_comba8 void bn_sqr_comba8(r,a) BN_ULONG *r,*a; { |