summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_lcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lcl.h')
-rw-r--r--src/lib/libcrypto/ec/ec_lcl.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_lcl.h
index a0343aa1d2..ced04c7e31 100644
--- a/src/lib/libcrypto/ec/ec_lcl.h
+++ b/src/lib/libcrypto/ec/ec_lcl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lcl.h,v 1.17 2021/04/20 17:32:57 tb Exp $ */ 1/* $OpenBSD: ec_lcl.h,v 1.18 2021/09/08 17:29:21 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 */
@@ -111,7 +111,8 @@ struct ec_method_st {
111 111
112 /* used by EC_GROUP_get_degree: */ 112 /* used by EC_GROUP_get_degree: */
113 int (*group_get_degree)(const EC_GROUP *); 113 int (*group_get_degree)(const EC_GROUP *);
114 114 /* used by EC_GROUP_order_bits: */
115 int (*group_order_bits)(const EC_GROUP *);
115 /* used by EC_GROUP_check: */ 116 /* used by EC_GROUP_check: */
116 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); 117 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *);
117 118
@@ -282,7 +283,7 @@ void EC_EX_DATA_clear_free_data(EC_EXTRA_DATA **,
282void EC_EX_DATA_free_all_data(EC_EXTRA_DATA **); 283void EC_EX_DATA_free_all_data(EC_EXTRA_DATA **);
283void EC_EX_DATA_clear_free_all_data(EC_EXTRA_DATA **); 284void EC_EX_DATA_clear_free_all_data(EC_EXTRA_DATA **);
284 285
285 286int ec_group_simple_order_bits(const EC_GROUP *group);
286 287
287struct ec_point_st { 288struct ec_point_st {
288 const EC_METHOD *meth; 289 const EC_METHOD *meth;
@@ -297,8 +298,6 @@ struct ec_point_st {
297 int Z_is_one; /* enable optimized point arithmetics for special case */ 298 int Z_is_one; /* enable optimized point arithmetics for special case */
298} /* EC_POINT */; 299} /* EC_POINT */;
299 300
300
301
302/* method functions in ec_mult.c 301/* method functions in ec_mult.c
303 * (ec_lib.c uses these as defaults if group->method->mul is 0) */ 302 * (ec_lib.c uses these as defaults if group->method->mul is 0) */
304int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 303int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,