BN_div_word function

  1. @RecordUse.new()
  2. @Native<BN_ULONG Function(Pointer<BIGNUM>, BN_ULONG)>(ffi.Pointer<BIGNUM>, BN_ULONG)>(symbol: 'bssl_dart_BN_div_word')
int BN_div_word(
  1. Pointer<BIGNUM> numerator,
  2. int divisor
)

BN_div_word sets |numerator| = |numerator|/|divisor| and returns the remainder or (BN_ULONG)-1 on error.

Implementation

@meta.RecordUse()
@ffi.Native<BN_ULONG Function(ffi.Pointer<BIGNUM>, BN_ULONG)>(
  symbol: 'bssl_dart_BN_div_word',
)
external int BN_div_word(
  ffi.Pointer<BIGNUM> numerator,
  int divisor,
);