diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nistp224.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp224.c b/src/lib/libcrypto/ec/ecp_nistp224.c index c5fc738a02..10ade9dbb5 100644 --- a/src/lib/libcrypto/ec/ecp_nistp224.c +++ b/src/lib/libcrypto/ec/ecp_nistp224.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp224.c,v 1.24 2021/04/20 17:16:37 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp224.c,v 1.25 2021/04/20 17:28:18 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Emilia Kasper (Google) for the OpenSSL project. | 3 | * Written by Emilia Kasper (Google) for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -250,10 +250,10 @@ EC_GFp_nistp224_method(void) | |||
250 | .point_clear_finish = ec_GFp_simple_point_clear_finish, | 250 | .point_clear_finish = ec_GFp_simple_point_clear_finish, |
251 | .point_copy = ec_GFp_simple_point_copy, | 251 | .point_copy = ec_GFp_simple_point_copy, |
252 | .point_set_to_infinity = ec_GFp_simple_point_set_to_infinity, | 252 | .point_set_to_infinity = ec_GFp_simple_point_set_to_infinity, |
253 | .point_set_Jprojective_coordinates_GFp = | 253 | .point_set_Jprojective_coordinates = |
254 | ec_GFp_simple_set_Jprojective_coordinates_GFp, | 254 | ec_GFp_simple_set_Jprojective_coordinates, |
255 | .point_get_Jprojective_coordinates_GFp = | 255 | .point_get_Jprojective_coordinates = |
256 | ec_GFp_simple_get_Jprojective_coordinates_GFp, | 256 | ec_GFp_simple_get_Jprojective_coordinates, |
257 | .point_set_affine_coordinates = | 257 | .point_set_affine_coordinates = |
258 | ec_GFp_simple_point_set_affine_coordinates, | 258 | ec_GFp_simple_point_set_affine_coordinates, |
259 | .point_get_affine_coordinates = | 259 | .point_get_affine_coordinates = |
@@ -1409,8 +1409,8 @@ ec_GFp_nistp224_points_mul(const EC_GROUP * group, EC_POINT * r, | |||
1409 | ECerror(ERR_R_BN_LIB); | 1409 | ECerror(ERR_R_BN_LIB); |
1410 | goto err; | 1410 | goto err; |
1411 | } | 1411 | } |
1412 | if (!EC_POINT_set_Jprojective_coordinates_GFp(group, | 1412 | if (!EC_POINT_set_Jprojective_coordinates(group, generator, |
1413 | generator, x, y, z, ctx)) | 1413 | x, y, z, ctx)) |
1414 | goto err; | 1414 | goto err; |
1415 | if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) | 1415 | if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) |
1416 | /* precomputation matches generator */ | 1416 | /* precomputation matches generator */ |
@@ -1536,7 +1536,7 @@ ec_GFp_nistp224_points_mul(const EC_GROUP * group, EC_POINT * r, | |||
1536 | ECerror(ERR_R_BN_LIB); | 1536 | ECerror(ERR_R_BN_LIB); |
1537 | goto err; | 1537 | goto err; |
1538 | } | 1538 | } |
1539 | ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx); | 1539 | ret = EC_POINT_set_Jprojective_coordinates(group, r, x, y, z, ctx); |
1540 | 1540 | ||
1541 | err: | 1541 | err: |
1542 | BN_CTX_end(ctx); | 1542 | BN_CTX_end(ctx); |