From 65fc25f0127c246c6ca0b80faa55bd49fa2ef13f Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 31 Oct 2024 15:37:53 +0000 Subject: 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 --- src/lib/libcrypto/ec/ecp_smpl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/ec/ecp_smpl.c') diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c index 018aedfd4e..ab79680742 100644 --- a/src/lib/libcrypto/ec/ecp_smpl.c +++ b/src/lib/libcrypto/ec/ecp_smpl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecp_smpl.c,v 1.56 2023/08/03 18:53:56 tb Exp $ */ +/* $OpenBSD: ecp_smpl.c,v 1.57 2024/10/31 15:37:53 tb Exp $ */ /* Includes code written by Lenka Fibikova * for the OpenSSL project. * Includes code written by Bodo Moeller for the OpenSSL project. @@ -1534,8 +1534,6 @@ static const EC_METHOD ec_GFp_simple_method = { ec_GFp_simple_point_get_affine_coordinates, .point_set_compressed_coordinates = ec_GFp_simple_set_compressed_coordinates, - .point2oct = ec_GFp_simple_point2oct, - .oct2point = ec_GFp_simple_oct2point, .add = ec_GFp_simple_add, .dbl = ec_GFp_simple_dbl, .invert = ec_GFp_simple_invert, -- cgit v1.2.3-55-g6feb