diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp521.c')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nistp521.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c index e5ccbb1b21..3d38c72396 100644 --- a/src/lib/libcrypto/ec/ecp_nistp521.c +++ b/src/lib/libcrypto/ec/ecp_nistp521.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp521.c,v 1.24 2021/04/20 17:16:38 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp521.c,v 1.25 2021/04/20 17:28:18 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Adam Langley (Google) for the OpenSSL project | 3 | * Written by Adam Langley (Google) for the OpenSSL project |
4 | */ | 4 | */ |
@@ -1594,10 +1594,10 @@ EC_GFp_nistp521_method(void) | |||
1594 | .point_clear_finish = ec_GFp_simple_point_clear_finish, | 1594 | .point_clear_finish = ec_GFp_simple_point_clear_finish, |
1595 | .point_copy = ec_GFp_simple_point_copy, | 1595 | .point_copy = ec_GFp_simple_point_copy, |
1596 | .point_set_to_infinity = ec_GFp_simple_point_set_to_infinity, | 1596 | .point_set_to_infinity = ec_GFp_simple_point_set_to_infinity, |
1597 | .point_set_Jprojective_coordinates_GFp = | 1597 | .point_set_Jprojective_coordinates = |
1598 | ec_GFp_simple_set_Jprojective_coordinates_GFp, | 1598 | ec_GFp_simple_set_Jprojective_coordinates, |
1599 | .point_get_Jprojective_coordinates_GFp = | 1599 | .point_get_Jprojective_coordinates = |
1600 | ec_GFp_simple_get_Jprojective_coordinates_GFp, | 1600 | ec_GFp_simple_get_Jprojective_coordinates, |
1601 | .point_set_affine_coordinates = | 1601 | .point_set_affine_coordinates = |
1602 | ec_GFp_simple_point_set_affine_coordinates, | 1602 | ec_GFp_simple_point_set_affine_coordinates, |
1603 | .point_get_affine_coordinates = | 1603 | .point_get_affine_coordinates = |
@@ -1848,8 +1848,8 @@ ec_GFp_nistp521_points_mul(const EC_GROUP * group, EC_POINT * r, | |||
1848 | ECerror(ERR_R_BN_LIB); | 1848 | ECerror(ERR_R_BN_LIB); |
1849 | goto err; | 1849 | goto err; |
1850 | } | 1850 | } |
1851 | if (!EC_POINT_set_Jprojective_coordinates_GFp(group, | 1851 | if (!EC_POINT_set_Jprojective_coordinates(group, generator, |
1852 | generator, x, y, z, ctx)) | 1852 | x, y, z, ctx)) |
1853 | goto err; | 1853 | goto err; |
1854 | if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) | 1854 | if (0 == EC_POINT_cmp(group, generator, group->generator, ctx)) |
1855 | /* precomputation matches generator */ | 1855 | /* precomputation matches generator */ |
@@ -1978,7 +1978,7 @@ ec_GFp_nistp521_points_mul(const EC_GROUP * group, EC_POINT * r, | |||
1978 | ECerror(ERR_R_BN_LIB); | 1978 | ECerror(ERR_R_BN_LIB); |
1979 | goto err; | 1979 | goto err; |
1980 | } | 1980 | } |
1981 | ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx); | 1981 | ret = EC_POINT_set_Jprojective_coordinates(group, r, x, y, z, ctx); |
1982 | 1982 | ||
1983 | err: | 1983 | err: |
1984 | BN_CTX_end(ctx); | 1984 | BN_CTX_end(ctx); |