From 2f7bf75477a5741ad76c3c793c7ed887b41fcceb Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 25 May 2025 05:12:05 +0000 Subject: Implement EC field element operations. Provide EC_FIELD_ELEMENT and EC_FIELD_MODULUS, which allow for operations on fixed width fields in constant time. These can in turn be used to implement Elliptic Curve cryptography for prime fields, without needing to use BN. This will improve the code, reduces timing leaks and enable further optimisation. ok beck@ tb@ --- src/lib/libcrypto/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index dd64f07f48..7564001961 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.233 2025/05/25 04:58:32 jsing Exp $ +# $OpenBSD: Makefile,v 1.234 2025/05/25 05:12:05 jsing Exp $ LIB= crypto LIBREBUILD=y @@ -283,6 +283,7 @@ SRCS+= ec_asn1.c SRCS+= ec_convert.c SRCS+= ec_curve.c SRCS+= ec_err.c +SRCS+= ec_field.c SRCS+= ec_key.c SRCS+= ec_lib.c SRCS+= ec_mult.c -- cgit v1.2.3-55-g6feb