summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-11-01 05:10:40 +0000
committertb <>2024-11-01 05:10:40 +0000
commit4094cfb081d56f52cfc4c476889db294fab4e641 (patch)
tree8f721f282e217ef1aeec424d60c13acee846118d /src/lib
parent8cf4dc93a852c20f8d6dd3fa07a4e26f72762926 (diff)
downloadopenbsd-4094cfb081d56f52cfc4c476889db294fab4e641.tar.gz
openbsd-4094cfb081d56f52cfc4c476889db294fab4e641.tar.bz2
openbsd-4094cfb081d56f52cfc4c476889db294fab4e641.zip
Garbage collect field_div() member.
It was only used by EC2M.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 547705e9a6..56402a2b04 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.35 2024/10/31 15:37:53 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.36 2024/11/01 05:10:40 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 */
@@ -152,8 +152,6 @@ struct ec_method_st {
152 const BIGNUM *b, BN_CTX *); 152 const BIGNUM *b, BN_CTX *);
153 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, 153 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
154 BN_CTX *); 154 BN_CTX *);
155 int (*field_div)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
156 const BIGNUM *b, BN_CTX *);
157 155
158 /* Encode to and decode from other forms (e.g. Montgomery). */ 156 /* Encode to and decode from other forms (e.g. Montgomery). */
159 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, 157 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,