summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/DH_get_ex_new_index.3
blob: c93efa73d6da7543c7ee65058c17e413aafd9181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.Dd $Mdocdate: November 2 2016 $
.Dt DH_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
.Nm DH_get_ex_new_index ,
.Nm DH_set_ex_data ,
.Nm DH_get_ex_data
.Nd add application specific data to DH structures
.Sh SYNOPSIS
.In openssl/dh.h
.Ft int
.Fo DH_get_ex_new_index
.Fa "long argl"
.Fa "void *argp"
.Fa "CRYPTO_EX_new *new_func"
.Fa "CRYPTO_EX_dup *dup_func"
.Fa "CRYPTO_EX_free *free_func"
.Fc
.Ft int
.Fo DH_set_ex_data
.Fa "DH *d"
.Fa "int idx"
.Fa "void *arg"
.Fc
.Ft char *
.Fo DH_get_ex_data
.Fa "DH *d"
.Fa "int idx"
.Fc
.Sh DESCRIPTION
These functions handle application specific data in
.Vt DH
structures.
Their usage is identical to that of
.Xr RSA_get_ex_new_index 3 ,
.Xr RSA_set_ex_data 3 ,
and
.Xr RSA_get_ex_data 3 .
.Sh SEE ALSO
.Xr dh 3 ,
.Xr RSA_get_ex_new_index 3
.Sh HISTORY
.Fn DH_get_ex_new_index ,
.Fn DH_set_ex_data ,
and
.Fn DH_get_ex_data
are available since OpenSSL 0.9.5.