summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
authortb <>2025-01-11 13:38:42 +0000
committertb <>2025-01-11 13:38:42 +0000
commit28b0d0a86ff16d35928ff812a03e9ae9abb97ac1 (patch)
tree7212ae9e38ac6f0ff09f3a7a9e0f3da09046e304 /src/lib/libcrypto/ec/ec_local.h
parent8b8ce4611c101986c51d6e37d3113e60d5e1dd58 (diff)
downloadopenbsd-28b0d0a86ff16d35928ff812a03e9ae9abb97ac1.tar.gz
openbsd-28b0d0a86ff16d35928ff812a03e9ae9abb97ac1.tar.bz2
openbsd-28b0d0a86ff16d35928ff812a03e9ae9abb97ac1.zip
Inline ec_point_make_affine() in the public API
Whatever the EC_METHOD, this will always be equivalent to getting and setting the affine coordinates, so this needs no dedicated method. Also, this is a function that makes no real sense since a caller should never need to care about this... As always, our favorite language bindings thought they might have users who care. This time it's Ruby and Perl. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 5949908991..7cb5c55f6d 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.54 2025/01/07 08:52:17 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.55 2025/01/11 13:38:42 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 */
@@ -109,7 +109,6 @@ struct ec_method_st {
109 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, 109 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
110 BN_CTX *); 110 BN_CTX *);
111 111
112 int (*make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *);
113 int (*points_make_affine)(const EC_GROUP *, size_t num, EC_POINT *[], 112 int (*points_make_affine)(const EC_GROUP *, size_t num, EC_POINT *[],
114 BN_CTX *); 113 BN_CTX *);
115 114