summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec.h
diff options
context:
space:
mode:
authortb <>2023-04-27 07:10:05 +0000
committertb <>2023-04-27 07:10:05 +0000
commit0646900621b7eebe185a365387b01ad2705af1d5 (patch)
tree88a9856457ec849f2c3a3a563867da0b0d5772c9 /src/lib/libcrypto/ec/ec.h
parentadbe201ecbd761e38994ee2089dd4b89a8087289 (diff)
downloadopenbsd-0646900621b7eebe185a365387b01ad2705af1d5.tar.gz
openbsd-0646900621b7eebe185a365387b01ad2705af1d5.tar.bz2
openbsd-0646900621b7eebe185a365387b01ad2705af1d5.zip
Move EC_POINT_{get,set}_Jprojective_coordinates to ec_local.h
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r--src/lib/libcrypto/ec/ec.h9
1 files changed, 2 insertions, 7 deletions
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 @@
1/* $OpenBSD: ec.h,v 1.40 2023/04/27 07:04:23 tb Exp $ */ 1/* $OpenBSD: ec.h,v 1.41 2023/04/27 07:10:05 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 */
@@ -193,12 +193,7 @@ int EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *p,
193int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p, 193int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p,
194 const BIGNUM *x, int y_bit, BN_CTX *ctx); 194 const BIGNUM *x, int y_bit, BN_CTX *ctx);
195 195
196#if defined(LIBRESSL_INTERNAL) 196#ifndef LIBRESSL_INTERNAL
197int EC_POINT_set_Jprojective_coordinates(const EC_GROUP *group, EC_POINT *p,
198 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx);
199int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group,
200 const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
201#else
202int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, 197int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *p,
203 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx); 198 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx);
204int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, 199int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group,