summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_nistp521.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp521.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_nistp521.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c
index 7c20daae28..823e7a0d51 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.20 2018/07/10 22:06:14 tb Exp $ */ 1/* $OpenBSD: ecp_nistp521.c,v 1.21 2018/07/15 05:38:48 jsg 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 */
@@ -1721,7 +1721,7 @@ ec_GFp_nistp521_group_set_curve(EC_GROUP * group, const BIGNUM * p,
1721 } 1721 }
1722 group->field_mod_func = BN_nist_mod_521; 1722 group->field_mod_func = BN_nist_mod_521;
1723 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); 1723 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx);
1724 err: 1724err:
1725 BN_CTX_end(ctx); 1725 BN_CTX_end(ctx);
1726 BN_CTX_free(new_ctx); 1726 BN_CTX_free(new_ctx);
1727 return ret; 1727 return ret;
@@ -1979,7 +1979,7 @@ ec_GFp_nistp521_points_mul(const EC_GROUP * group, EC_POINT * r,
1979 } 1979 }
1980 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx); 1980 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx);
1981 1981
1982 err: 1982err:
1983 BN_CTX_end(ctx); 1983 BN_CTX_end(ctx);
1984 EC_POINT_free(generator); 1984 EC_POINT_free(generator);
1985 BN_CTX_free(new_ctx); 1985 BN_CTX_free(new_ctx);
@@ -2088,7 +2088,7 @@ ec_GFp_nistp521_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
2088 goto err; 2088 goto err;
2089 ret = 1; 2089 ret = 1;
2090 pre = NULL; 2090 pre = NULL;
2091 err: 2091err:
2092 BN_CTX_end(ctx); 2092 BN_CTX_end(ctx);
2093 EC_POINT_free(generator); 2093 EC_POINT_free(generator);
2094 BN_CTX_free(new_ctx); 2094 BN_CTX_free(new_ctx);