BN_nnmod function
BN_nnmod is a non-negative modulo function. It acts like |BN_mod|, but 0 <= |rem| < |divisor| is always true. It returns one on success and zero on error.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<BIGNUM>,
ffi.Pointer<BIGNUM>,
ffi.Pointer<BIGNUM>,
ffi.Pointer<BN_CTX>,
)
>(symbol: 'bssl_dart_BN_nnmod')
external int BN_nnmod(
ffi.Pointer<BIGNUM> rem,
ffi.Pointer<BIGNUM> numerator,
ffi.Pointer<BIGNUM> divisor,
ffi.Pointer<BN_CTX> ctx,
);