diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
-rw-r--r-- | src/lib/libcrypto/dh/dh.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index 21e840efc4..4545035afb 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.30 2022/01/10 12:00:52 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.31 2022/01/14 07:49:49 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 | * |
@@ -199,19 +199,15 @@ void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, | |||
199 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | 199 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); |
200 | void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); | 200 | void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); |
201 | int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | 201 | int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); |
202 | #if defined(LIBRESSL_OPAQUE_DH) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
203 | const BIGNUM *DH_get0_p(const DH *dh); | 202 | const BIGNUM *DH_get0_p(const DH *dh); |
204 | const BIGNUM *DH_get0_q(const DH *dh); | 203 | const BIGNUM *DH_get0_q(const DH *dh); |
205 | const BIGNUM *DH_get0_g(const DH *dh); | 204 | const BIGNUM *DH_get0_g(const DH *dh); |
206 | const BIGNUM *DH_get0_priv_key(const DH *dh); | 205 | const BIGNUM *DH_get0_priv_key(const DH *dh); |
207 | const BIGNUM *DH_get0_pub_key(const DH *dh); | 206 | const BIGNUM *DH_get0_pub_key(const DH *dh); |
208 | #endif | ||
209 | void DH_clear_flags(DH *dh, int flags); | 207 | void DH_clear_flags(DH *dh, int flags); |
210 | int DH_test_flags(const DH *dh, int flags); | 208 | int DH_test_flags(const DH *dh, int flags); |
211 | void DH_set_flags(DH *dh, int flags); | 209 | void DH_set_flags(DH *dh, int flags); |
212 | #if defined(LIBRESSL_OPAQUE_DH) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
213 | long DH_get_length(const DH *dh); | 210 | long DH_get_length(const DH *dh); |
214 | #endif | ||
215 | int DH_set_length(DH *dh, long length); | 211 | int DH_set_length(DH *dh, long length); |
216 | 212 | ||
217 | /* Deprecated version */ | 213 | /* Deprecated version */ |