diff options
author | tb <> | 2025-01-11 15:26:07 +0000 |
---|---|---|
committer | tb <> | 2025-01-11 15:26:07 +0000 |
commit | dcb5b6ad7bdcf3cba425ba834efe54dd8220a758 (patch) | |
tree | d2a94bc40907a4d97a7da9c1f63b88d3ac7761c6 /src/lib/libcrypto/ec/ec_lib.c | |
parent | 278e0b465548a0a6ec9f52855fc196e28cb7513b (diff) | |
download | openbsd-dcb5b6ad7bdcf3cba425ba834efe54dd8220a758.tar.gz openbsd-dcb5b6ad7bdcf3cba425ba834efe54dd8220a758.tar.bz2 openbsd-dcb5b6ad7bdcf3cba425ba834efe54dd8220a758.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.c | 6 |
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) |