summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index e5189361e0..db8d4ab28f 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.37 2024/11/12 10:53:22 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.38 2024/11/16 15:32:08 tb 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 */
@@ -247,10 +247,9 @@ struct ec_point_st {
247 int Z_is_one; /* enable optimized point arithmetics for special case */ 247 int Z_is_one; /* enable optimized point arithmetics for special case */
248} /* EC_POINT */; 248} /* EC_POINT */;
249 249
250/* method functions in ec_mult.c 250/* Compute r = generator * m + point * n in non-constant time. */
251 * (ec_lib.c uses these as defaults if group->method->mul is 0) */ 251int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m,
252int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 252 const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx);
253 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
254 253
255int ec_group_simple_order_bits(const EC_GROUP *group); 254int ec_group_simple_order_bits(const EC_GROUP *group);
256int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx); 255int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx);