summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_nistp224.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp224.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_nistp224.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp224.c b/src/lib/libcrypto/ec/ecp_nistp224.c
index 3921508094..1ba8cb09a0 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.20 2018/07/10 22:06:14 tb Exp $ */ 1/* $OpenBSD: ecp_nistp224.c,v 1.21 2018/07/15 05:38:48 jsg 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 */
@@ -1281,7 +1281,7 @@ ec_GFp_nistp224_group_set_curve(EC_GROUP * group, const BIGNUM * p,
1281 } 1281 }
1282 group->field_mod_func = BN_nist_mod_224; 1282 group->field_mod_func = BN_nist_mod_224;
1283 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); 1283 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx);
1284 err: 1284err:
1285 BN_CTX_end(ctx); 1285 BN_CTX_end(ctx);
1286 BN_CTX_free(new_ctx); 1286 BN_CTX_free(new_ctx);
1287 return ret; 1287 return ret;
@@ -1537,7 +1537,7 @@ ec_GFp_nistp224_points_mul(const EC_GROUP * group, EC_POINT * r,
1537 } 1537 }
1538 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx); 1538 ret = EC_POINT_set_Jprojective_coordinates_GFp(group, r, x, y, z, ctx);
1539 1539
1540 err: 1540err:
1541 BN_CTX_end(ctx); 1541 BN_CTX_end(ctx);
1542 EC_POINT_free(generator); 1542 EC_POINT_free(generator);
1543 BN_CTX_free(new_ctx); 1543 BN_CTX_free(new_ctx);
@@ -1666,7 +1666,7 @@ ec_GFp_nistp224_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
1666 goto err; 1666 goto err;
1667 ret = 1; 1667 ret = 1;
1668 pre = NULL; 1668 pre = NULL;
1669 err: 1669err:
1670 BN_CTX_end(ctx); 1670 BN_CTX_end(ctx);
1671 EC_POINT_free(generator); 1671 EC_POINT_free(generator);
1672 BN_CTX_free(new_ctx); 1672 BN_CTX_free(new_ctx);