From 77fd8bf0bd07c5d79462d47b742d1d2ee69dc735 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 11 Jan 2025 14:38:57 +0000 Subject: Move the EC_POINTs API into the garbage bin --- src/lib/libcrypto/ec/ec_lib.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index f1ff11a087..ed51582146 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.108 2025/01/11 13:58:31 tb Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.109 2025/01/11 14:38:57 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -1261,25 +1261,6 @@ EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx_in) } LCRYPTO_ALIAS(EC_POINT_make_affine); -int -EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], - BN_CTX *ctx_in) -{ - ECerror(ERR_R_DISABLED); - return 0; -} -LCRYPTO_ALIAS(EC_POINTs_make_affine); - -int -EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, - size_t num, const EC_POINT *points[], const BIGNUM *scalars[], - BN_CTX *ctx_in) -{ - ECerror(ERR_R_DISABLED); - return 0; -} -LCRYPTO_ALIAS(EC_POINTs_mul); - int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx_in) @@ -1377,3 +1358,22 @@ EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, return 0; } LCRYPTO_ALIAS(EC_POINT_get_Jprojective_coordinates_GFp); + +int +EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], + BN_CTX *ctx_in) +{ + ECerror(ERR_R_DISABLED); + return 0; +} +LCRYPTO_ALIAS(EC_POINTs_make_affine); + +int +EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, + size_t num, const EC_POINT *points[], const BIGNUM *scalars[], + BN_CTX *ctx_in) +{ + ECerror(ERR_R_DISABLED); + return 0; +} +LCRYPTO_ALIAS(EC_POINTs_mul); -- cgit v1.2.3-55-g6feb