summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-11 14:38:57 +0000
committertb <>2025-01-11 14:38:57 +0000
commit77fd8bf0bd07c5d79462d47b742d1d2ee69dc735 (patch)
tree554a2f9a8ae3d9cfc7503cb1eefea7b16c1bf8e1
parent9c5cffbcbf9cbe48fd4c1ced980da5a0201c9550 (diff)
downloadopenbsd-77fd8bf0bd07c5d79462d47b742d1d2ee69dc735.tar.gz
openbsd-77fd8bf0bd07c5d79462d47b742d1d2ee69dc735.tar.bz2
openbsd-77fd8bf0bd07c5d79462d47b742d1d2ee69dc735.zip
Move the EC_POINTs API into the garbage bin
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c40
1 files 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 @@
1/* $OpenBSD: ec_lib.c,v 1.108 2025/01/11 13:58:31 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.109 2025/01/11 14:38:57 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 */
@@ -1262,25 +1262,6 @@ EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx_in)
1262LCRYPTO_ALIAS(EC_POINT_make_affine); 1262LCRYPTO_ALIAS(EC_POINT_make_affine);
1263 1263
1264int 1264int
1265EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[],
1266 BN_CTX *ctx_in)
1267{
1268 ECerror(ERR_R_DISABLED);
1269 return 0;
1270}
1271LCRYPTO_ALIAS(EC_POINTs_make_affine);
1272
1273int
1274EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
1275 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
1276 BN_CTX *ctx_in)
1277{
1278 ECerror(ERR_R_DISABLED);
1279 return 0;
1280}
1281LCRYPTO_ALIAS(EC_POINTs_mul);
1282
1283int
1284EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, 1265EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
1285 const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx_in) 1266 const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx_in)
1286{ 1267{
@@ -1377,3 +1358,22 @@ EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group,
1377 return 0; 1358 return 0;
1378} 1359}
1379LCRYPTO_ALIAS(EC_POINT_get_Jprojective_coordinates_GFp); 1360LCRYPTO_ALIAS(EC_POINT_get_Jprojective_coordinates_GFp);
1361
1362int
1363EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[],
1364 BN_CTX *ctx_in)
1365{
1366 ECerror(ERR_R_DISABLED);
1367 return 0;
1368}
1369LCRYPTO_ALIAS(EC_POINTs_make_affine);
1370
1371int
1372EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
1373 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
1374 BN_CTX *ctx_in)
1375{
1376 ECerror(ERR_R_DISABLED);
1377 return 0;
1378}
1379LCRYPTO_ALIAS(EC_POINTs_mul);