Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
BN_mod_inverse — compute inverse modulo mSYNOPSIS
#include <openssl/bn.h>BN_mod_inverse(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
DESCRIPTION
BN_mod_inverse() computes the inverse of a modulo m and places the result in r, so that r satisfiesa * r == 1 (mod m)
. If r is NULL, a new BIGNUM is allocated.