summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_nistp256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp256.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_nistp256.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp256.c b/src/lib/libcrypto/ec/ecp_nistp256.c
index 7046dcebc0..3b0784f153 100644
--- a/src/lib/libcrypto/ec/ecp_nistp256.c
+++ b/src/lib/libcrypto/ec/ecp_nistp256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_nistp256.c,v 1.19 2018/07/10 22:06:14 tb Exp $ */ 1/* $OpenBSD: ecp_nistp256.c,v 1.20 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 */
@@ -1830,7 +1830,7 @@ ec_GFp_nistp256_group_set_curve(EC_GROUP * group, const BIGNUM * p,
1830 } 1830 }
1831 group->field_mod_func = BN_nist_mod_256; 1831 group->field_mod_func = BN_nist_mod_256;
1832 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); 1832 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx);
1833 err: 1833err:
1834 BN_CTX_end(ctx); 1834 BN_CTX_end(ctx);
1835 BN_CTX_free(new_ctx); 1835 BN_CTX_free(new_ctx);
1836 return ret; 1836 return ret;
@@ -2090,7 +2090,7 @@ ec_GFp_nistp256_points_mul(const EC_GROUP * group, EC_POINT * r,
2090 } 2090 }
2091 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx); 2091 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx);
2092 2092
2093 err: 2093err:
2094 BN_CTX_end(ctx); 2094 BN_CTX_end(ctx);
2095 EC_POINT_free(generator); 2095 EC_POINT_free(generator);
2096 BN_CTX_free(new_ctx); 2096 BN_CTX_free(new_ctx);
@@ -2213,7 +2213,7 @@ ec_GFp_nistp256_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
2213 goto err; 2213 goto err;
2214 ret = 1; 2214 ret = 1;
2215 pre = NULL; 2215 pre = NULL;
2216 err: 2216err:
2217 BN_CTX_end(ctx); 2217 BN_CTX_end(ctx);
2218 EC_POINT_free(generator); 2218 EC_POINT_free(generator);
2219 BN_CTX_free(new_ctx); 2219 BN_CTX_free(new_ctx);