summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/i386
diff options
context:
space:
mode:
authorjsing <>2023-02-22 05:57:19 +0000
committerjsing <>2023-02-22 05:57:19 +0000
commit222cd28577f92b26b743a1efd78a4b1f22feda41 (patch)
tree2ddf08e4ceb2ba9c4c822705913bc4f02d4c0760 /src/lib/libcrypto/arch/i386
parent3384e5f7c99b52e4ecc61042ce7ba810b8e40f2c (diff)
downloadopenbsd-222cd28577f92b26b743a1efd78a4b1f22feda41.tar.gz
openbsd-222cd28577f92b26b743a1efd78a4b1f22feda41.tar.bz2
openbsd-222cd28577f92b26b743a1efd78a4b1f22feda41.zip
Replace bn_sub_part_words() with bn_sub().
Now that bn_sub() handles word arrays with potentially different lengths, we no longer need bn_sub_part_words() - call bn_sub() instead. This allows us to entirely remove the unnecessarily complex bn_sub_part_words() code. ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch/i386')
-rw-r--r--src/lib/libcrypto/arch/i386/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arch/i386/Makefile.inc b/src/lib/libcrypto/arch/i386/Makefile.inc
index 67c22262e6..6134dfdc15 100644
--- a/src/lib/libcrypto/arch/i386/Makefile.inc
+++ b/src/lib/libcrypto/arch/i386/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.7 2023/01/14 15:45:43 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.8 2023/02/22 05:57:19 jsing Exp $
2 2
3# i386-specific libcrypto build rules 3# i386-specific libcrypto build rules
4 4
@@ -16,7 +16,6 @@ SRCS+= bf_cbc.c
16SSLASM+= bf bf-586 16SSLASM+= bf bf-586
17# bn 17# bn
18CFLAGS+= -DOPENSSL_IA32_SSE2 18CFLAGS+= -DOPENSSL_IA32_SSE2
19CFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS
20SSLASM+= bn bn-586 19SSLASM+= bn bn-586
21SSLASM+= bn co-586 20SSLASM+= bn co-586
22CFLAGS+= -DOPENSSL_BN_ASM_MONT 21CFLAGS+= -DOPENSSL_BN_ASM_MONT