summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2025-08-03 15:07:57 +0000
committerjsing <>2025-08-03 15:07:57 +0000
commitd64ea18a1f013a2d4c37e788a10343f22c208d93 (patch)
treea0aa74d5d501999182415d1b2774a456a3a19817
parent0347e27fd9cf92b7115735c6b96945b6fb5658b6 (diff)
downloadopenbsd-d64ea18a1f013a2d4c37e788a10343f22c208d93.tar.gz
openbsd-d64ea18a1f013a2d4c37e788a10343f22c208d93.tar.bz2
openbsd-d64ea18a1f013a2d4c37e788a10343f22c208d93.zip
Add prototype for EC_GFp_homogeneous_projective_method().
-rw-r--r--src/lib/libcrypto/ec/ec_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 75a3e25247..eac9e6d26c 100644
--- a/src/lib/libcrypto/ec/ec_local.h
+++ b/src/lib/libcrypto/ec/ec_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_local.h,v 1.69 2025/05/25 05:19:26 jsing Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.70 2025/08/03 15:07:57 jsing Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -184,6 +184,7 @@ struct ec_point_st {
184 184
185const EC_METHOD *EC_GFp_simple_method(void); 185const EC_METHOD *EC_GFp_simple_method(void);
186const EC_METHOD *EC_GFp_mont_method(void); 186const EC_METHOD *EC_GFp_mont_method(void);
187const EC_METHOD *EC_GFp_homogeneous_projective_method(void);
187 188
188/* Compute r = scalar1 * point1 + scalar2 * point2 in non-constant time. */ 189/* Compute r = scalar1 * point1 + scalar2 * point2 in non-constant time. */
189int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1, 190int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1,