BN_set_bit function
BN_set_bit sets the |n|th, least-significant bit in |a|. For example, if |a| is 2 then setting bit zero will make it 3. It returns one on success or zero on allocation failure.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<BIGNUM>, ffi.Int)>(
symbol: 'bssl_dart_BN_set_bit',
)
external int BN_set_bit(
ffi.Pointer<BIGNUM> a,
int n,
);