summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
authorjsing <>2023-06-24 17:49:44 +0000
committerjsing <>2023-06-24 17:49:44 +0000
commit85449832b5cd61fcf004eccee57d8cd3fb05d84c (patch)
tree668a9ce3c8e1082d03e94389c51d3f971147b538 /src/lib/libcrypto/ec/ec_local.h
parent9c9d2ba5315c279ef02f7abb4f0f04e77d490f3a (diff)
downloadopenbsd-85449832b5cd61fcf004eccee57d8cd3fb05d84c.tar.gz
openbsd-85449832b5cd61fcf004eccee57d8cd3fb05d84c.tar.bz2
openbsd-85449832b5cd61fcf004eccee57d8cd3fb05d84c.zip
Mop up EC_GROUP precomp machinery.
Since there are now no EC implementations that perform pre-computation at the EC_GROUP level, remove all of the precomp machinery, including the extra_data EC_GROUP member. The ec_wNAF_mul() code is horrific - simply cut out the precomp code, rather than trying to rewrite it (that's a project for another day). ok tb@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-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 d178665c1f..c0689a3c3e 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.15 2023/06/24 17:18:15 jsing Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.16 2023/06/24 17:49:44 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 */
@@ -209,8 +209,6 @@ struct ec_group_st {
209 * if they appear to be generic. 209 * if they appear to be generic.
210 */ 210 */
211 211
212 EC_EXTRA_DATA *extra_data;
213
214 /* 212 /*
215 * Field specification. For GF(p) this is the modulus; for GF(2^m), 213 * Field specification. For GF(p) this is the modulus; for GF(2^m),
216 * this is the irreducible polynomial defining the field. 214 * this is the irreducible polynomial defining the field.