diff options
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r-- | src/lib/libcrypto/ec/ec.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/ec/ec_lib.c | 18 |
2 files changed, 2 insertions, 20 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index 4f5d33226e..6d8d9dfb07 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.51 2025/03/09 15:35:40 tb Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.52 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 | */ |
@@ -214,8 +214,6 @@ int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, | |||
214 | size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx); | 214 | size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx); |
215 | int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, | 215 | int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, |
216 | const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); | 216 | const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); |
217 | int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | ||
218 | int EC_GROUP_have_precompute_mult(const EC_GROUP *group); | ||
219 | 217 | ||
220 | int EC_GROUP_get_basis_type(const EC_GROUP *); | 218 | int EC_GROUP_get_basis_type(const EC_GROUP *); |
221 | 219 | ||
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 | } |
1405 | LCRYPTO_ALIAS(EC_POINTs_mul); | 1405 | LCRYPTO_ALIAS(EC_POINTs_mul); |
1406 | |||
1407 | int | ||
1408 | EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx_in) | ||
1409 | { | ||
1410 | ECerror(ERR_R_DISABLED); | ||
1411 | return 0; | ||
1412 | } | ||
1413 | LCRYPTO_ALIAS(EC_GROUP_precompute_mult); | ||
1414 | |||
1415 | int | ||
1416 | EC_GROUP_have_precompute_mult(const EC_GROUP *group) | ||
1417 | { | ||
1418 | ECerror(ERR_R_DISABLED); | ||
1419 | return 0; | ||
1420 | } | ||
1421 | LCRYPTO_ALIAS(EC_GROUP_have_precompute_mult); | ||