summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64
diff options
context:
space:
mode:
authorjsing <>2023-01-14 15:45:44 +0000
committerjsing <>2023-01-14 15:45:44 +0000
commita545377353a479e357ae5fb9be8294f7137820d5 (patch)
tree2beaa725f80865b4e4c7d3384563e3ed4940579e /src/lib/libcrypto/arch/amd64
parent084bc92f915a6224b074c53efb55f3f8b277d2e2 (diff)
downloadopenbsd-a545377353a479e357ae5fb9be8294f7137820d5.tar.gz
openbsd-a545377353a479e357ae5fb9be8294f7137820d5.tar.bz2
openbsd-a545377353a479e357ae5fb9be8294f7137820d5.zip
Remove unused Elliptic Curve code.
For various reasons, the ecp_nistp* and ecp_nistz* code is unused. While ecp_nistp* was being compiled, it is disabled due to OPENSSL_NO_EC_NISTP_64_GCC_128 being defined. On the other hand, ecp_nistz* was not even being built. We will bring in new versions or alternative versions of such code, if we end up enabling it in the future. For now it is just causing complexity (and grep noise) while trying to improve the EC code. Discussed with tb@
Diffstat (limited to 'src/lib/libcrypto/arch/amd64')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
index 8b87562500..dc615ece1c 100644
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/src/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.8 2017/08/20 17:53:13 espie Exp $ 1# $OpenBSD: Makefile.inc,v 1.9 2023/01/14 15:45:43 jsing Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -31,10 +31,6 @@ SRCS+= cmll_misc.c
31SSLASM+= camellia cmll-x86_64 31SSLASM+= camellia cmll-x86_64
32# des 32# des
33SRCS+= des_enc.c fcrypt_b.c 33SRCS+= des_enc.c fcrypt_b.c
34# ec
35#CFLAGS+= -DECP_NISTZ256_ASM
36#SRCS+= ecp_nistz256.c
37#SSLASM+= ec ecp_nistz256-x86_64
38# md5 34# md5
39CFLAGS+= -DMD5_ASM 35CFLAGS+= -DMD5_ASM
40SSLASM+= md5 md5-x86_64 36SSLASM+= md5 md5-x86_64