diff options
| author | jsing <> | 2023-06-24 17:18:15 +0000 |
|---|---|---|
| committer | jsing <> | 2023-06-24 17:18:15 +0000 |
| commit | 9c9d2ba5315c279ef02f7abb4f0f04e77d490f3a (patch) | |
| tree | 72c3dd666b16a24fef5077fea096c7780dce06ff /src/lib/libcrypto/ec/ec_local.h | |
| parent | cdc3daac6d11e320c5fd96848485dfc9be6ede91 (diff) | |
| download | openbsd-9c9d2ba5315c279ef02f7abb4f0f04e77d490f3a.tar.gz openbsd-9c9d2ba5315c279ef02f7abb4f0f04e77d490f3a.tar.bz2 openbsd-9c9d2ba5315c279ef02f7abb4f0f04e77d490f3a.zip | |
Mop up ec_wNAF_{,have_}precompute_mult().
These were previously called by GF2m code and are no longer used.
Also remove ec_pre_comp_new(), since it is only called by
ec_wNAF_precompute_mult() and is now unused.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index c827a8f708..d178665c1f 100644 --- a/src/lib/libcrypto/ec/ec_local.h +++ b/src/lib/libcrypto/ec/ec_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_local.h,v 1.14 2023/06/12 18:17:18 jsing Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.15 2023/06/24 17:18:15 jsing 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 | */ |
| @@ -308,9 +308,6 @@ struct ec_point_st { | |||
| 308 | * (ec_lib.c uses these as defaults if group->method->mul is 0) */ | 308 | * (ec_lib.c uses these as defaults if group->method->mul is 0) */ |
| 309 | int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, | 309 | int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, |
| 310 | size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); | 310 | size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); |
| 311 | int ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *); | ||
| 312 | int ec_wNAF_have_precompute_mult(const EC_GROUP *group); | ||
| 313 | |||
| 314 | 311 | ||
| 315 | /* method functions in ecp_smpl.c */ | 312 | /* method functions in ecp_smpl.c */ |
| 316 | int ec_GFp_simple_group_init(EC_GROUP *); | 313 | int ec_GFp_simple_group_init(EC_GROUP *); |
