diff options
author | tb <> | 2025-01-06 14:29:33 +0000 |
---|---|---|
committer | tb <> | 2025-01-06 14:29:33 +0000 |
commit | 90c4ea11168e40751810b5d56e83de147872a6ed (patch) | |
tree | cdb4b90b5a3dcb2fc4df6ecb16adad31b105882a /src/lib/libcrypto/ec/ec_local.h | |
parent | bccd8f34fd0625e0ba24fcec5cdec580ca31aaea (diff) | |
download | openbsd-90c4ea11168e40751810b5d56e83de147872a6ed.tar.gz openbsd-90c4ea11168e40751810b5d56e83de147872a6ed.tar.bz2 openbsd-90c4ea11168e40751810b5d56e83de147872a6ed.zip |
Remove get_order_bits() and get_degree() methods
The degree made some sense when EC2M was a thing in libcrypto. Fortunately
that's not the case anymore. The order handler never made sense.
ok jsing
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 fad66eb4ec..1201f6ef39 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.50 2025/01/06 14:10:32 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.51 2025/01/06 14:29:33 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 | */ |
@@ -95,8 +95,6 @@ struct ec_method_st { | |||
95 | int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, | 95 | int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, |
96 | BIGNUM *b, BN_CTX *); | 96 | BIGNUM *b, BN_CTX *); |
97 | 97 | ||
98 | int (*group_get_degree)(const EC_GROUP *); | ||
99 | int (*group_order_bits)(const EC_GROUP *); | ||
100 | int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); | 98 | int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); |
101 | 99 | ||
102 | int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *, | 100 | int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *, |
@@ -201,7 +199,6 @@ struct ec_point_st { | |||
201 | int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m, | 199 | int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m, |
202 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx); | 200 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx); |
203 | 201 | ||
204 | int ec_group_simple_order_bits(const EC_GROUP *group); | ||
205 | int ec_group_is_builtin_curve(const EC_GROUP *group, int *out_nid); | 202 | int ec_group_is_builtin_curve(const EC_GROUP *group, int *out_nid); |
206 | int ec_group_get_field_type(const EC_GROUP *group); | 203 | int ec_group_get_field_type(const EC_GROUP *group); |
207 | 204 | ||