From a0a5407901ae93fadcfead6d44b923b8ef1ad579 Mon Sep 17 00:00:00 2001 From: "Mark J. Cox" Date: Thu, 28 Jan 1999 10:40:38 +0000 Subject: 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: --- crypto/bn/bn_lcl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'crypto/bn/bn_lcl.h') diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 8899943646..306dd679c1 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -73,13 +73,18 @@ extern "C" { #define BN_MUL_LOW_RECURSIVE_SIZE_NORMAL (32) /* 32 */ #define BN_MONT_CTX_SET_SIZE_WORD (64) /* 32 */ +#if 0 #ifndef BN_MUL_COMBA -#define bn_mul_comba8(r,a,b) bn_mul_normal(r,a,8,b,8) -#define bn_mul_comba4(r,a,b) bn_mul_normal(r,a,4,b,4) +/* #define bn_mul_comba8(r,a,b) bn_mul_normal(r,a,8,b,8) */ +/* #define bn_mul_comba4(r,a,b) bn_mul_normal(r,a,4,b,4) */ +#endif + +#ifndef BN_SQR_COMBA /* This is probably faster than using the C code - I need to check */ #define bn_sqr_comba8(r,a) bn_mul_normal(r,a,8,a,8) #define bn_sqr_comba4(r,a) bn_mul_normal(r,a,4,a,4) #endif +#endif /************************************************************* * Using the long long type -- cgit v1.2.3