Set the CRT modular‐exponentiation callback on an RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_bn_mod_exp(
    RSA_METHOD* rsa,
    int(* bn_mod_exp)(BIGNUM*, BIGNUM const*, BIGNUM const*, BIGNUM const*, BN_CTX*, BN_MONT_CTX*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

rsa

Method whose bn_mod_exp hook is replaced.

bn_mod_exp

Callback computing r = aˆp mod m (with optional Montgomery context).

Created with MrDocs