Configure a reciprocal context for repeated division by modulus rdiv.
Declared in <openssl/bn.h>
int
BN_RECP_CTX_set(
BN_RECP_CTX* recp,
BIGNUM const* rdiv,
BN_CTX* ctx);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| recp | Context to initialize. |
| rdiv | Modulus / divisor used for subsequent reciprocal operations. |
| ctx | BN_CTX scratch space. |