summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_mont.c
diff options
context:
space:
mode:
authortb <>2024-10-31 15:37:53 +0000
committertb <>2024-10-31 15:37:53 +0000
commit65fc25f0127c246c6ca0b80faa55bd49fa2ef13f (patch)
tree213f15ca307e60a6806d6afab897c0a81c295102 /src/lib/libcrypto/ec/ecp_mont.c
parent2f2f748fde73822038414204b26d3d5f3b07d5ba (diff)
downloadopenbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.tar.gz
openbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.tar.bz2
openbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.zip
Retire the oct2point and point2oct EC_METHOD members
Both our remaining EC_METHODs use the methods that used to be called ec_GFp_simple_{oct2point,point2oct}() so there's no need for the function pointer indirection. Make the public API call them directly. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_mont.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_mont.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecp_mont.c b/src/lib/libcrypto/ec/ecp_mont.c
index 76d1f578ee..8fd7ebc7b9 100644
--- a/src/lib/libcrypto/ec/ecp_mont.c
+++ b/src/lib/libcrypto/ec/ecp_mont.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_mont.c,v 1.30 2023/07/07 13:54:45 beck Exp $ */ 1/* $OpenBSD: ecp_mont.c,v 1.31 2024/10/31 15:37:53 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -243,8 +243,6 @@ static const EC_METHOD ec_GFp_mont_method = {
243 ec_GFp_simple_point_get_affine_coordinates, 243 ec_GFp_simple_point_get_affine_coordinates,
244 .point_set_compressed_coordinates = 244 .point_set_compressed_coordinates =
245 ec_GFp_simple_set_compressed_coordinates, 245 ec_GFp_simple_set_compressed_coordinates,
246 .point2oct = ec_GFp_simple_point2oct,
247 .oct2point = ec_GFp_simple_oct2point,
248 .add = ec_GFp_simple_add, 246 .add = ec_GFp_simple_add,
249 .dbl = ec_GFp_simple_dbl, 247 .dbl = ec_GFp_simple_dbl,
250 .invert = ec_GFp_simple_invert, 248 .invert = ec_GFp_simple_invert,