Remove unused Elliptic Curve code.
authorjsing <jsing@openbsd.org>
Sat, 14 Jan 2023 15:45:43 +0000 (15:45 +0000)
committerjsing <jsing@openbsd.org>
Sat, 14 Jan 2023 15:45:43 +0000 (15:45 +0000)
commit52939471f32b86311a9bcd4836ba2456e46ef01c
treebd3b93e081c75a9b18807d1296f52fcc2e4370f4
parent24d7b3e00fcd91132cd096d40bdcecf14d82d992
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@
15 files changed:
lib/libcrypto/Makefile
lib/libcrypto/arch/amd64/Makefile.inc
lib/libcrypto/arch/arm/Makefile.inc
lib/libcrypto/arch/i386/Makefile.inc
lib/libcrypto/arch/sparc64/Makefile.inc
lib/libcrypto/ec/asm/ecp_nistz256-armv4.pl [deleted file]
lib/libcrypto/ec/asm/ecp_nistz256-sparcv9.pl [deleted file]
lib/libcrypto/ec/asm/ecp_nistz256-x86.pl [deleted file]
lib/libcrypto/ec/asm/ecp_nistz256-x86_64.pl [deleted file]
lib/libcrypto/ec/ecp_nistp224.c [deleted file]
lib/libcrypto/ec/ecp_nistp256.c [deleted file]
lib/libcrypto/ec/ecp_nistp521.c [deleted file]
lib/libcrypto/ec/ecp_nistputil.c [deleted file]
lib/libcrypto/ec/ecp_nistz256.c [deleted file]
lib/libcrypto/ec/ecp_nistz256_table.h [deleted file]