From 0646900621b7eebe185a365387b01ad2705af1d5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 27 Apr 2023 07:10:05 +0000 Subject: Move EC_POINT_{get,set}_Jprojective_coordinates to ec_local.h --- src/lib/libcrypto/ec/ec.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/lib/libcrypto/ec/ec.h') diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index 519e192bda..6b5d7b4af7 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ec.h,v 1.40 2023/04/27 07:04:23 tb Exp $ */ +/* $OpenBSD: ec.h,v 1.41 2023/04/27 07:10:05 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -193,12 +193,7 @@ int EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *p, int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx); -#if defined(LIBRESSL_INTERNAL) -int EC_POINT_set_Jprojective_coordinates(const EC_GROUP *group, EC_POINT *p, - const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx); -int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group, - const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx); -#else +#ifndef LIBRESSL_INTERNAL int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx); int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, -- cgit v1.2.3-55-g6feb