Compute a reciprocal r = 2ˆ`len` / m for BN_div‐style quotient estimation.
Synopsis
Declared in <openssl/bn.h>
int
BN_reciprocal(
BIGNUM* r,
BIGNUM const* m,
int len,
BN_CTX* ctx);
Return Value
len on success, or ‐1 on error.
Parameters
Name |
Description |
r |
Destination reciprocal. |
m |
Divisor. |
len |
Bit precision of the reciprocal. |
ctx |
BN_CTX scratch space. |
Created with MrDocs