[#DSA_meth_set_mod_exp] = DSA_meth_set_mod_exp :mrdocs: Set the modular‐exponentiation callback on a DSA_METHOD (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_meth_set_mod_exp( xref:DSA_METHOD-07a.adoc[DSA_METHOD]* dsam, int(* 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: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, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *dsam* | Method table to update. | *mod_exp* | Callback performing the DSA modular exponentiation, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#