summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 5fc9bfebbb..e1240bf6a8 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.1 2022/11/26 16:08:52 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.2 2023/03/04 14:38:00 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 */
@@ -251,8 +251,10 @@ struct ec_group_st {
251 /* Enables optimized point arithmetics for special case. */ 251 /* Enables optimized point arithmetics for special case. */
252 int a_is_minus3; 252 int a_is_minus3;
253 253
254 void *field_data1; 254 /* Montgomery context and values used by EC_GFp_mont_method. */
255 void *field_data2; 255 BN_MONT_CTX *mont_ctx;
256 BIGNUM *mont_one;
257
256 int (*field_mod_func)(BIGNUM *, const BIGNUM *, const BIGNUM *, 258 int (*field_mod_func)(BIGNUM *, const BIGNUM *, const BIGNUM *,
257 BN_CTX *); 259 BN_CTX *);
258} /* EC_GROUP */; 260} /* EC_GROUP */;