diff options
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 9fa5456544..01d7d10394 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -115,9 +115,11 @@ 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, - BN_MONT_CTX *m_ctx); /* Can be null */ + BN_MONT_CTX *m_ctx); int (*init)(DH *dh); int (*finish)(DH *dh); |