From 2caf68e3ec46ff4ba172978eb728e2aa23948684 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 14 Jan 2023 15:45:44 +0000 Subject: 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@ --- src/lib/libcrypto/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 302ddd62c5..220cfaa410 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.90 2022/12/17 22:01:29 tb Exp $ +# $OpenBSD: Makefile,v 1.91 2023/01/14 15:45:43 jsing Exp $ LIB= crypto LIBREBUILD=y @@ -361,10 +361,6 @@ SRCS+= ec_print.c SRCS+= eck_prn.c SRCS+= ecp_mont.c SRCS+= ecp_nist.c -SRCS+= ecp_nistp224.c -SRCS+= ecp_nistp256.c -SRCS+= ecp_nistp521.c -SRCS+= ecp_nistputil.c SRCS+= ecp_oct.c SRCS+= ecp_smpl.c SRCS+= ecx_methods.c -- cgit v1.2.3-55-g6feb