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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 674023050c..66ff15a4f8 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.57 2025/01/11 15:02:42 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.58 2025/01/11 15:20:23 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 */
@@ -87,6 +87,10 @@ struct ec_method_st {
87 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, 87 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
88 BIGNUM *b, BN_CTX *); 88 BIGNUM *b, BN_CTX *);
89 89
90 int (*is_on_curve)(const EC_GROUP *, const EC_POINT *, BN_CTX *);
91 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
92 BN_CTX *);
93
90 int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *, 94 int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *,
91 const BIGNUM *x, const BIGNUM *y, BN_CTX *); 95 const BIGNUM *x, const BIGNUM *y, BN_CTX *);
92 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *, 96 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
@@ -101,10 +105,6 @@ struct ec_method_st {
101 int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); 105 int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);
102 int (*invert)(const EC_GROUP *, EC_POINT *, BN_CTX *); 106 int (*invert)(const EC_GROUP *, EC_POINT *, BN_CTX *);
103 107
104 int (*is_on_curve)(const EC_GROUP *, const EC_POINT *, BN_CTX *);
105 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
106 BN_CTX *);
107
108 int (*mul_generator_ct)(const EC_GROUP *, EC_POINT *r, 108 int (*mul_generator_ct)(const EC_GROUP *, EC_POINT *r,
109 const BIGNUM *scalar, BN_CTX *); 109 const BIGNUM *scalar, BN_CTX *);
110 int (*mul_single_ct)(const EC_GROUP *group, EC_POINT *r, 110 int (*mul_single_ct)(const EC_GROUP *group, EC_POINT *r,