summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_lib.c
diff options
context:
space:
mode:
authortb <>2025-01-11 15:26:07 +0000
committertb <>2025-01-11 15:26:07 +0000
commit02bbf3657f5074177fdaebad55dd44d1e85bfb33 (patch)
treed2a94bc40907a4d97a7da9c1f63b88d3ac7761c6 /src/lib/libcrypto/ec/ec_lib.c
parentd0ff9d15d4c443024f55be164e9b20c7837f1786 (diff)
downloadopenbsd-02bbf3657f5074177fdaebad55dd44d1e85bfb33.tar.gz
openbsd-02bbf3657f5074177fdaebad55dd44d1e85bfb33.tar.bz2
openbsd-02bbf3657f5074177fdaebad55dd44d1e85bfb33.zip
Rename the is_on_curve() method to point_is_on_curve()
Rename ec_is_on_curve() to ec_point_is_on_curve() and ec_cmp() to ec_point_cmp().
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lib.c')
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c
index a8b74ce89d..5bfa16df3c 100644
--- a/src/lib/libcrypto/ec/ec_lib.c
+++ b/src/lib/libcrypto/ec/ec_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lib.c,v 1.110 2025/01/11 15:02:42 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.111 2025/01/11 15:26:07 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 */
@@ -1250,7 +1250,7 @@ EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
1250 if (ctx == NULL) 1250 if (ctx == NULL)
1251 goto err; 1251 goto err;
1252 1252
1253 if (group->meth->is_on_curve == NULL) { 1253 if (group->meth->point_is_on_curve == NULL) {
1254 ECerror(ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); 1254 ECerror(ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
1255 goto err; 1255 goto err;
1256 } 1256 }
@@ -1258,7 +1258,7 @@ EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
1258 ECerror(EC_R_INCOMPATIBLE_OBJECTS); 1258 ECerror(EC_R_INCOMPATIBLE_OBJECTS);
1259 goto err; 1259 goto err;
1260 } 1260 }
1261 ret = group->meth->is_on_curve(group, point, ctx); 1261 ret = group->meth->point_is_on_curve(group, point, ctx);
1262 1262
1263 err: 1263 err:
1264 if (ctx != ctx_in) 1264 if (ctx != ctx_in)