RSA_meth_set_mod_exp

Set the CRT modular-exponentiation callback on a custom RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_mod_exp(
    RSA_METHOD* rsa,
    int(* mod_exp)(BIGNUM*, BIGNUM const*, RSA*, BN_CTX*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success.

Parameters

NameDescription
rsaMethod object to update.
mod_expCallback used for CRT computations, or NULL.