summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mul.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-12-06 04:16:38 +0000
committerUlf Möller <ulf@openssl.org>2000-12-06 04:16:38 +0000
commit240f5169397272eb9ab4145b4a54ce6c65fc9b35 (patch)
tree3d4ebf1c46d2e82779dfdac90a6af8a0239e6e85 /crypto/bn/bn_mul.c
parentef8f14a88212dff6d251575dafb01cd1b40f9d37 (diff)
Intel assembler version for bn_sub_part_words(). I haven't got
reliable timings yet, please try it out!
Diffstat (limited to 'crypto/bn/bn_mul.c')
-rw-r--r--crypto/bn/bn_mul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c
index eb5d525613..2810115c2b 100644
--- a/crypto/bn/bn_mul.c
+++ b/crypto/bn/bn_mul.c
@@ -66,6 +66,7 @@
#include "cryptlib.h"
#include "bn_lcl.h"
+#if defined(NO_ASM) || !defined(i386)
/* Here follows specialised variants of bn_add_words() and
bn_sub_words(). They have the property performing operations on
arrays of different sizes. The sizes of those arrays is expressed through
@@ -201,6 +202,7 @@ BN_ULONG bn_sub_part_words(BN_ULONG *r,
}
return c;
}
+#endif
BN_ULONG bn_add_part_words(BN_ULONG *r,
const BN_ULONG *a, const BN_ULONG *b,