BN_gcd function
BN_gcd sets r = gcd(a, b). It returns one on success and zero
otherwise.
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_gcd')
external int BN_gcd(
ffi.Pointer<BIGNUM> r,
ffi.Pointer<BIGNUM> a,
ffi.Pointer<BIGNUM> b,
ffi.Pointer<BN_CTX> ctx,
);