summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
authorjsing <>2025-01-06 12:35:14 +0000
committerjsing <>2025-01-06 12:35:14 +0000
commit040f047180525bbee39de311cf3ae17a898c86dc (patch)
tree56bceda3598e917f19ee015bb6e277b5c45d2f85 /src/lib/libcrypto/ec/ec_local.h
parent52f13317baa428db8efa6305c98bcca1c8d6b93e (diff)
downloadopenbsd-040f047180525bbee39de311cf3ae17a898c86dc.tar.gz
openbsd-040f047180525bbee39de311cf3ae17a898c86dc.tar.bz2
openbsd-040f047180525bbee39de311cf3ae17a898c86dc.zip
Remove indirection for coordinate blinding.
This is usually method specific, so remove the indirection and call the appropriate blinding function directly. ok tb@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 1b7ca5b645..c74bb05d9a 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.48 2025/01/06 11:59:02 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.49 2025/01/06 12:35:14 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 */
@@ -142,9 +142,6 @@ struct ec_method_st {
142 BN_CTX *); 142 BN_CTX *);
143 int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, 143 int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
144 BN_CTX *); 144 BN_CTX *);
145
146 int (*blind_coordinates)(const EC_GROUP *group, EC_POINT *p,
147 BN_CTX *ctx);
148} /* EC_METHOD */; 145} /* EC_METHOD */;
149 146
150struct ec_group_st { 147struct ec_group_st {
@@ -224,7 +221,6 @@ int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m,
224 const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx); 221 const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx);
225 222
226int ec_group_simple_order_bits(const EC_GROUP *group); 223int ec_group_simple_order_bits(const EC_GROUP *group);
227int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx);
228 224
229/* EC_METHOD definitions */ 225/* EC_METHOD definitions */
230 226