BN_lshift function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<BIGNUM>, Pointer<BIGNUM>, Int)>(ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Int)>(symbol: 'bssl_dart_BN_lshift')
int BN_lshift(
  1. Pointer<BIGNUM> r,
  2. Pointer<BIGNUM> a,
  3. int n
)

BN_lshift sets |r| equal to |a| << n. The |a| and |r| arguments may be the same |BIGNUM|. It returns one on success and zero on allocation failure.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(ffi.Pointer<BIGNUM>, ffi.Pointer<BIGNUM>, ffi.Int)
>(symbol: 'bssl_dart_BN_lshift')
external int BN_lshift(
  ffi.Pointer<BIGNUM> r,
  ffi.Pointer<BIGNUM> a,
  int n,
);