summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
-rw-r--r--src/lib/libcrypto/dh/dh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h
index 920af3b92d..61c7d6c873 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.18 2016/11/04 18:35:30 jsing Exp $ */ 1/* $OpenBSD: dh.h,v 1.19 2018/02/17 13:47:36 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 *
@@ -188,6 +188,10 @@ int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
188int DH_set_ex_data(DH *d, int idx, void *arg); 188int DH_set_ex_data(DH *d, int idx, void *arg);
189void *DH_get_ex_data(DH *d, int idx); 189void *DH_get_ex_data(DH *d, int idx);
190 190
191void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
192 const BIGNUM **g);
193void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
194
191/* Deprecated version */ 195/* Deprecated version */
192#ifndef OPENSSL_NO_DEPRECATED 196#ifndef OPENSSL_NO_DEPRECATED
193DH * DH_generate_parameters(int prime_len,int generator, 197DH * DH_generate_parameters(int prime_len,int generator,