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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c
index e085610cbc..e5ccbb1b21 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.23 2018/11/05 20:18:21 tb Exp $ */ 1/* $OpenBSD: ecp_nistp521.c,v 1.24 2021/04/20 17:16:38 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 */
@@ -2019,7 +2019,7 @@ ec_GFp_nistp521_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
2019 goto err; 2019 goto err;
2020 BN_bin2bn(nistp521_curve_params[3], sizeof(felem_bytearray), x); 2020 BN_bin2bn(nistp521_curve_params[3], sizeof(felem_bytearray), x);
2021 BN_bin2bn(nistp521_curve_params[4], sizeof(felem_bytearray), y); 2021 BN_bin2bn(nistp521_curve_params[4], sizeof(felem_bytearray), y);
2022 if (!EC_POINT_set_affine_coordinates_GFp(group, generator, x, y, ctx)) 2022 if (!EC_POINT_set_affine_coordinates(group, generator, x, y, ctx))
2023 goto err; 2023 goto err;
2024 if ((pre = nistp521_pre_comp_new()) == NULL) 2024 if ((pre = nistp521_pre_comp_new()) == NULL)
2025 goto err; 2025 goto err;