projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change spelling back to "behaviour" and "flavour" instead of the
[openssl.git]
/
doc
/
crypto
/
DH_set_method.pod
diff --git
a/doc/crypto/DH_set_method.pod
b/doc/crypto/DH_set_method.pod
index dca41d8dbc8adcf2528f27d1b7a6a4d4e9e91553..b9a61d542bd3acc6281fe0adad438ca783796318 100644
(file)
--- a/
doc/crypto/DH_set_method.pod
+++ b/
doc/crypto/DH_set_method.pod
@@
-36,9
+36,6
@@
method.
DH_set_method() selects B<meth> for all operations using the structure B<dh>.
DH_set_method() selects B<meth> for all operations using the structure B<dh>.
-DH_get_method() returns a pointer to the method currently selected
-for B<dh>.
-
DH_new_method() allocates and initializes a B<DH> structure so that
B<method> will be used for the DH operations. If B<method> is B<NULL>,
the default method is used.
DH_new_method() allocates and initializes a B<DH> structure so that
B<method> will be used for the DH operations. If B<method> is B<NULL>,
the default method is used.
@@
-56,7
+53,7
@@
the default method is used.
/* compute shared secret */
int (*compute_key)(unsigned char *key, BIGNUM *pub_key, DH *dh);
/* compute shared secret */
int (*compute_key)(unsigned char *key, BIGNUM *pub_key, DH *dh);
- /* compute r = a ^ p mod m
. May be NULL
*/
+ /* compute r = a ^ p mod m
(May be NULL for some implementations)
*/
int (*bn_mod_exp)(DH *dh, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
const BIGNUM *m, BN_CTX *ctx,
BN_MONT_CTX *m_ctx);
int (*bn_mod_exp)(DH *dh, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
const BIGNUM *m, BN_CTX *ctx,
BN_MONT_CTX *m_ctx);
@@
-75,8
+72,8
@@
the default method is used.
=head1 RETURN VALUES
=head1 RETURN VALUES
-DH_OpenSSL()
, DH_get_default_method() and DH_get_method() return
-
pointers to the respective
B<DH_METHOD>s.
+DH_OpenSSL()
and DH_get_default_method() return pointers to the respective
+B<DH_METHOD>s.
DH_set_default_method() returns no value.
DH_set_default_method() returns no value.