Set the modular-exponentiation callback on a DSA_METHOD (deprecated).
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_meth_set_mod_exp(
DSA_METHOD* dsam,
int(* mod_exp)(DSA*, BIGNUM*, BIGNUM const*, BIGNUM const*, BIGNUM const*, BIGNUM const*, BIGNUM const*, BN_CTX*, BN_MONT_CTX*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| dsam | Method table to update. |
| mod_exp | Callback performing the DSA modular exponentiation, or NULL to clear. |