Lines Matching full:dh

68 DH_get_length, DH_set_length \- Routines for getting and setting data in a DH object
72 \& #include <openssl/dh.h>
80 \& void DH_get0_pqg(const DH *dh,
82 \& int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
83 \& void DH_get0_key(const DH *dh,
85 \& int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
86 \& const BIGNUM *DH_get0_p(const DH *dh);
87 \& const BIGNUM *DH_get0_q(const DH *dh);
88 \& const BIGNUM *DH_get0_g(const DH *dh);
89 \& const BIGNUM *DH_get0_priv_key(const DH *dh);
90 \& const BIGNUM *DH_get0_pub_key(const DH *dh);
91 \& void DH_clear_flags(DH *dh, int flags);
92 \& int DH_test_flags(const DH *dh, int flags);
93 \& void DH_set_flags(DH *dh, int flags);
95 \& long DH_get_length(const DH *dh);
96 \& int DH_set_length(DH *dh, long length);
98 \& ENGINE *DH_get0_engine(DH *d);
104 return a \fBBIGNUM\fR. Refer to \fBEVP_PKEY\-DH\fR\|(7) for more information.
106 A DH object contains the parameters \fIp\fR, \fIq\fR and \fIg\fR. Note that the \fIq\fR
120 this function transfers the memory management of the values to the DH object,
139 parameter may be NULL, which means the corresponding DH field is left
141 of the key values to the DH object, and therefore they should not be freed
148 \&\fBDH_set_flags()\fR sets the flags in the \fIflags\fR parameter on the DH object.
151 passed in the \fIflags\fR parameter are currently set in the DH object. Multiple
154 within the DH object.
156 \&\fBDH_get0_engine()\fR returns a handle to the ENGINE that has been set for this DH
161 length parameter associated with this DH object. If the length is nonzero then
168 \&\fBOSSL_PKEY_PARAM_DH_PRIV_LEN\fR as described in \fBEVP_PKEY\-DH\fR\|(7).
171 Values retrieved with \fBDH_get0_key()\fR are owned by the DH object used
182 \&\fBDH_test_flags()\fR returns the current state of the flags in the DH object.
184 \&\fBDH_get0_engine()\fR returns the ENGINE set for the DH object or NULL if no ENGINE