diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec2_oct.c')
-rw-r--r-- | src/lib/libcrypto/ec/ec2_oct.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec2_oct.c b/src/lib/libcrypto/ec/ec2_oct.c index 9cd1dddfa1..28eb7a01b6 100644 --- a/src/lib/libcrypto/ec/ec2_oct.c +++ b/src/lib/libcrypto/ec/ec2_oct.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec2_oct.c,v 1.13 2021/04/19 17:06:37 tb Exp $ */ | 1 | /* $OpenBSD: ec2_oct.c,v 1.14 2021/04/20 17:16:37 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -152,7 +152,7 @@ ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point | |||
152 | } | 152 | } |
153 | } | 153 | } |
154 | 154 | ||
155 | if (!EC_POINT_set_affine_coordinates_GF2m(group, point, x, y, ctx)) | 155 | if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx)) |
156 | goto err; | 156 | goto err; |
157 | 157 | ||
158 | ret = 1; | 158 | ret = 1; |
@@ -221,7 +221,7 @@ ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, | |||
221 | if ((yxi = BN_CTX_get(ctx)) == NULL) | 221 | if ((yxi = BN_CTX_get(ctx)) == NULL) |
222 | goto err; | 222 | goto err; |
223 | 223 | ||
224 | if (!EC_POINT_get_affine_coordinates_GF2m(group, point, x, y, ctx)) | 224 | if (!EC_POINT_get_affine_coordinates(group, point, x, y, ctx)) |
225 | goto err; | 225 | goto err; |
226 | 226 | ||
227 | buf[0] = form; | 227 | buf[0] = form; |
@@ -400,10 +400,10 @@ ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, | |||
400 | } | 400 | } |
401 | } | 401 | } |
402 | /* | 402 | /* |
403 | * EC_POINT_set_affine_coordinates_GF2m checks that the | 403 | * EC_POINT_set_affine_coordinates checks that the |
404 | * point is on the curve as required by X9.62. | 404 | * point is on the curve as required by X9.62. |
405 | */ | 405 | */ |
406 | if (!EC_POINT_set_affine_coordinates_GF2m(group, point, x, y, ctx)) | 406 | if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx)) |
407 | goto err; | 407 | goto err; |
408 | } | 408 | } |
409 | 409 | ||