summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch
diff options
context:
space:
mode:
authorjsing <>2023-02-22 05:57:19 +0000
committerjsing <>2023-02-22 05:57:19 +0000
commit7236757e326b2c939f79a4239220a0cc2bf30ef5 (patch)
tree2ddf08e4ceb2ba9c4c822705913bc4f02d4c0760 /src/lib/libcrypto/arch
parentb78cccc526d31cefe3af77cef6ddab0981e8a45b (diff)
downloadopenbsd-7236757e326b2c939f79a4239220a0cc2bf30ef5.tar.gz
openbsd-7236757e326b2c939f79a4239220a0cc2bf30ef5.tar.bz2
openbsd-7236757e326b2c939f79a4239220a0cc2bf30ef5.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')
-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