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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp256.c b/src/lib/libcrypto/ec/ecp_nistp256.c
index fc68b6cd8d..38e87ecd03 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.22 2018/11/05 20:18:21 tb Exp $ */ 1/* $OpenBSD: ecp_nistp256.c,v 1.23 2021/04/20 17:16:37 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 */
@@ -2131,7 +2131,7 @@ ec_GFp_nistp256_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
2131 goto err; 2131 goto err;
2132 BN_bin2bn(nistp256_curve_params[3], sizeof(felem_bytearray), x); 2132 BN_bin2bn(nistp256_curve_params[3], sizeof(felem_bytearray), x);
2133 BN_bin2bn(nistp256_curve_params[4], sizeof(felem_bytearray), y); 2133 BN_bin2bn(nistp256_curve_params[4], sizeof(felem_bytearray), y);
2134 if (!EC_POINT_set_affine_coordinates_GFp(group, generator, x, y, ctx)) 2134 if (!EC_POINT_set_affine_coordinates(group, generator, x, y, ctx))
2135 goto err; 2135 goto err;
2136 if ((pre = nistp256_pre_comp_new()) == NULL) 2136 if ((pre = nistp256_pre_comp_new()) == NULL)
2137 goto err; 2137 goto err;