diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh_local.h')
| -rw-r--r-- | src/lib/libcrypto/dh/dh_local.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/libcrypto/dh/dh_local.h b/src/lib/libcrypto/dh/dh_local.h index efbc08b356..2c89f10127 100644 --- a/src/lib/libcrypto/dh/dh_local.h +++ b/src/lib/libcrypto/dh/dh_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dh_local.h,v 1.6 2024/11/29 07:42:35 tb Exp $ */ | 1 | /* $OpenBSD: dh_local.h,v 1.7 2024/11/29 15:59:57 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -80,6 +80,7 @@ struct dh_method { | |||
| 80 | struct dh_st { | 80 | struct dh_st { |
| 81 | int version; | 81 | int version; |
| 82 | BIGNUM *p; | 82 | BIGNUM *p; |
| 83 | BIGNUM *q; | ||
| 83 | BIGNUM *g; | 84 | BIGNUM *g; |
| 84 | long length; /* optional */ | 85 | long length; /* optional */ |
| 85 | BIGNUM *pub_key; /* g^x */ | 86 | BIGNUM *pub_key; /* g^x */ |
| @@ -87,12 +88,6 @@ struct dh_st { | |||
| 87 | 88 | ||
| 88 | int flags; | 89 | int flags; |
| 89 | BN_MONT_CTX *method_mont_p; | 90 | BN_MONT_CTX *method_mont_p; |
| 90 | /* Place holders if we want to do X9.42 DH */ | ||
| 91 | BIGNUM *q; | ||
| 92 | BIGNUM *j; | ||
| 93 | unsigned char *seed; | ||
| 94 | int seedlen; | ||
| 95 | BIGNUM *counter; | ||
| 96 | 91 | ||
| 97 | int references; | 92 | int references; |
| 98 | CRYPTO_EX_DATA ex_data; | 93 | CRYPTO_EX_DATA ex_data; |
