summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_lib.c
diff options
context:
space:
mode:
authortb <>2025-03-09 15:37:31 +0000
committertb <>2025-03-09 15:37:31 +0000
commit2d8c8253cb0e94323b811f37132240ab824ca624 (patch)
tree5930f125df0151d4717d5aeb5b68d51f92ec06a5 /src/lib/libcrypto/ec/ec_lib.c
parentd0e75df669e616f4e020ff1b663080bf874ecf0b (diff)
downloadopenbsd-2d8c8253cb0e94323b811f37132240ab824ca624.tar.gz
openbsd-2d8c8253cb0e94323b811f37132240ab824ca624.tar.bz2
openbsd-2d8c8253cb0e94323b811f37132240ab824ca624.zip
Unexport EC_GROUP_*precompute_mult()
These have been noops for a while and as usual some Perl module was the only thing "using" it. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lib.c')
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c
index 9c7f684385..43774d4267 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.118 2025/03/09 15:35:40 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.119 2025/03/09 15:37:31 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 */
@@ -1403,19 +1403,3 @@ EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
1403 return 0; 1403 return 0;
1404} 1404}
1405LCRYPTO_ALIAS(EC_POINTs_mul); 1405LCRYPTO_ALIAS(EC_POINTs_mul);
1406
1407int
1408EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx_in)
1409{
1410 ECerror(ERR_R_DISABLED);
1411 return 0;
1412}
1413LCRYPTO_ALIAS(EC_GROUP_precompute_mult);
1414
1415int
1416EC_GROUP_have_precompute_mult(const EC_GROUP *group)
1417{
1418 ECerror(ERR_R_DISABLED);
1419 return 0;
1420}
1421LCRYPTO_ALIAS(EC_GROUP_have_precompute_mult);