Lines Matching refs:I

45 A DH object contains the parameters I<p>, I<q> and I<g>. Note that the I<q>
46 parameter is optional. It also contains a public key (I<pub_key>) and
47 (optionally) a private key (I<priv_key>).
49 The I<p>, I<q> and I<g> parameters can be obtained by calling DH_get0_pqg().
50 If the parameters have not yet been set then I<*p>, I<*q> and I<*g> will be set
54 Any of the out parameters I<p>, I<q>, and I<g> can be NULL, in which case no
57 The I<p>, I<q> and I<g> values can be set by calling DH_set0_pqg() and passing
58 the new values for I<p>, I<q> and I<g> as parameters to the function. Calling
61 after this function has been called. The I<q> parameter may be NULL.
62 DH_set0_pqg() also checks if the parameters associated with I<p> and I<g> and
63 optionally I<q> are associated with known safe prime groups. If it is a safe
64 prime group then the value of I<q> will be set to q = (p - 1) / 2 if I<q> is
65 NULL. The optional length parameter will be set to BN_num_bits(I<q>) if I<q>
69 pointer to the public key will be stored in I<*pub_key>, and a pointer to the
70 private key will be stored in I<*priv_key>. Either may be NULL if they have not
74 Any of the out parameters I<pub_key> and I<priv_key> can be NULL, in which case
83 Any of the values I<p>, I<q>, I<g>, I<priv_key>, and I<pub_key> can also be
87 DH_set_flags() sets the flags in the I<flags> parameter on the DH object.
90 passed in the I<flags> parameter are currently set in the DH object. Multiple
101 it is used, otherwise it is ignored. The I<length> parameter indicates the
102 …xponent (private key) in bits. For safe prime groups the optional length parameter I<length> can be
103 set to a value greater or equal to 2 * maximum_target_security_strength(BN_num_bits(I<p>))
112 in the call and may therefore I<not> be passed to DH_set0_key(). If