summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 0d734351de..2bddaddd8a 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.46 2025/01/05 16:07:08 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.47 2025/01/06 10:56:46 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 */
@@ -99,10 +99,6 @@ struct ec_method_st {
99 int (*group_order_bits)(const EC_GROUP *); 99 int (*group_order_bits)(const EC_GROUP *);
100 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); 100 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *);
101 101
102 int (*point_set_Jprojective_coordinates)(const EC_GROUP *, EC_POINT *,
103 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *);
104 int (*point_get_Jprojective_coordinates)(const EC_GROUP *,
105 const EC_POINT *, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *);
106 int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *, 102 int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *,
107 const BIGNUM *x, const BIGNUM *y, BN_CTX *); 103 const BIGNUM *x, const BIGNUM *y, BN_CTX *);
108 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *, 104 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
@@ -277,11 +273,6 @@ int ecdsa_verify_sig(const unsigned char *dgst, int dgst_len,
277int ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z, 273int ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z,
278 size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md); 274 size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md);
279 275
280int EC_POINT_set_Jprojective_coordinates(const EC_GROUP *group, EC_POINT *p,
281 const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx);
282int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group,
283 const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
284
285int ec_group_is_builtin_curve(const EC_GROUP *group, int *out_nid); 276int ec_group_is_builtin_curve(const EC_GROUP *group, int *out_nid);
286int ec_group_get_field_type(const EC_GROUP *group); 277int ec_group_get_field_type(const EC_GROUP *group);
287 278