[#DH_meth_get_bn_mod_exp] = DH_meth_get_bn_mod_exp :mrdocs: Return the modular‐exponentiation callback from a DH_METHOD (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int(* DH_meth_get_bn_mod_exp(xref:DH_METHOD-0a.adoc[DH_METHOD] const* dhm))(xref:DH.adoc[DH] const*, xref:BIGNUM.adoc[BIGNUM]*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BN_CTX.adoc[BN_CTX]*, xref:BN_MONT_CTX.adoc[BN_MONT_CTX]*); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Pointer to the bn_mod_exp callback used during DH operations, or NULL if unset. == Parameters [cols="1,4"] |=== | Name| Description | *dhm* | Method table to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#