summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/DH_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/DH_new.3')
-rw-r--r--src/lib/libcrypto/man/DH_new.314
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/DH_new.3 b/src/lib/libcrypto/man/DH_new.3
index a9335fcb21..28f1888c01 100644
--- a/src/lib/libcrypto/man/DH_new.3
+++ b/src/lib/libcrypto/man/DH_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: DH_new.3,v 1.3 2016/11/21 11:44:35 schwarze Exp $ 1.\" $OpenBSD: DH_new.3,v 1.4 2016/12/10 22:30:54 schwarze Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org>. 4.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 21 2016 $ 51.Dd $Mdocdate: December 10 2016 $
52.Dt DH_NEW 3 52.Dt DH_NEW 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -64,6 +64,8 @@
64.Fa "DH *dh" 64.Fa "DH *dh"
65.Fc 65.Fc
66.Sh DESCRIPTION 66.Sh DESCRIPTION
67The DH functions implement the Diffie-Hellman key agreement protocol.
68.Pp
67.Fn DH_new 69.Fn DH_new
68allocates and initializes a 70allocates and initializes a
69.Vt DH 71.Vt DH
@@ -88,9 +90,15 @@ and sets an error code that can be obtained by
88.Xr ERR_get_error 3 . 90.Xr ERR_get_error 3 .
89Otherwise it returns a pointer to the newly allocated structure. 91Otherwise it returns a pointer to the newly allocated structure.
90.Sh SEE ALSO 92.Sh SEE ALSO
91.Xr dh 3 , 93.Xr BN_new 3 ,
94.Xr d2i_DHparams 3 ,
92.Xr DH_generate_key 3 , 95.Xr DH_generate_key 3 ,
93.Xr DH_generate_parameters 3 , 96.Xr DH_generate_parameters 3 ,
97.Xr DH_get_ex_new_index 3 ,
98.Xr DH_set_method 3 ,
99.Xr DH_size 3 ,
100.Xr DHparams_print 3 ,
101.Xr DSA_dup_DH 3 ,
94.Xr ERR_get_error 3 102.Xr ERR_get_error 3
95.Sh HISTORY 103.Sh HISTORY
96.Fn DH_new 104.Fn DH_new