summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/sparc64
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/sparc64
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/sparc64')
-rw-r--r--src/lib/libcrypto/arch/sparc64/Makefile.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/arch/sparc64/Makefile.inc b/src/lib/libcrypto/arch/sparc64/Makefile.inc
index 223c941f77..6ea1409c44 100644
--- a/src/lib/libcrypto/arch/sparc64/Makefile.inc
+++ b/src/lib/libcrypto/arch/sparc64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.6 2023/01/13 17:27:26 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.7 2023/01/14 15:45:43 jsing Exp $
2 2
3# sparc64-specific libcrypto build rules 3# sparc64-specific libcrypto build rules
4 4
@@ -18,10 +18,6 @@ SRCS+= des_enc-sparc.S
18GENERATED+= des_enc-sparc.S 18GENERATED+= des_enc-sparc.S
19des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4 19des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4
20 m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET} 20 m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET}
21# # ec
22# CFLAGS+= -DECP_NISTZ256_ASM
23# SRCS+= ecp_nistz256.c
24# SSLASM+= ec ecp_nistz256-sparcv9
25# modes 21# modes
26CFLAGS+= -DGHASH_ASM 22CFLAGS+= -DGHASH_ASM
27SSLASM+= modes ghash-sparcv9 ghash-sparcv9 23SSLASM+= modes ghash-sparcv9 ghash-sparcv9