[#DSA_meth_set_bn_mod_exp] = DSA_meth_set_bn_mod_exp :mrdocs: Set the modular‐exponentiation callback on a custom DSA_METHOD (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_meth_set_bn_mod_exp( xref:DSA_METHOD-07a.adoc[DSA_METHOD]* dsam, int(* bn_mod_exp)(xref:DSA.adoc[DSA]*, 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 1 on success. == Parameters [cols="1,4"] |=== | Name| Description | *dsam* | Method object to update. | *bn_mod_exp* | Callback computing r = aˆp mod m (with optional Montgomery ctx), or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#