diff options
| author | tb <> | 2022-01-14 07:49:49 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-14 07:49:49 +0000 |
| commit | 82ec18edf4e632f36b6f79c239fdb6961d421a82 (patch) | |
| tree | 86eaa4f6c31663bf615ddba9616c66030e99b5c9 /src/lib/libcrypto/dh | |
| parent | 163a624a23b933641073fc0e8e52a5541d86335b (diff) | |
| download | openbsd-82ec18edf4e632f36b6f79c239fdb6961d421a82.tar.gz openbsd-82ec18edf4e632f36b6f79c239fdb6961d421a82.tar.bz2 openbsd-82ec18edf4e632f36b6f79c239fdb6961d421a82.zip | |
Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API
This marks the start of major surgery in libcrypto. Do not attempt to
build the tree for a while (~50 commits).
Diffstat (limited to 'src/lib/libcrypto/dh')
| -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 */ |
