summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-07 15:24:23 +0100
committerMatt Caswell <matt@openssl.org>2016-04-09 10:10:55 +0100
commit0263b992881a03bd98bfd6b76ca54626205e9229 (patch)
treee78e12e3338f828a20d919f417257c307db84da0 /crypto/dh
parent998f2cb8c4d354ef0a5ebf22f1b2ee48cda97664 (diff)
Add documentation for following DH and DH_METHOD opacity
A number of new functions have been added following the DH and DH_METHOD opacity commits. This commit provides documentation for those functions. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_locl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dh/dh_locl.h b/crypto/dh/dh_locl.h
index 80d09d04e3..46e4bc79d9 100644
--- a/crypto/dh/dh_locl.h
+++ b/crypto/dh/dh_locl.h
@@ -42,6 +42,7 @@ struct dh_method {
/* Methods here */
int (*generate_key) (DH *dh);
int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh);
+
/* Can be null */
int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a,
const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,