EC_GROUP_get_order function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<EC_GROUP>, Pointer<BIGNUM>, Pointer<BN_CTX>)>(ffi.Pointer<EC_GROUP>, ffi.Pointer<BIGNUM>, ffi.Pointer<BN_CTX>)>(symbol: 'bssl_dart_EC_GROUP_get_order')
int EC_GROUP_get_order(
  1. Pointer<EC_GROUP> group,
  2. Pointer<BIGNUM> order,
  3. Pointer<BN_CTX> ctx
)

EC_GROUP_get_order sets |*order| to the order of |group|, if it's not NULL. It returns one on success and zero otherwise. |ctx| is ignored and may be NULL. Use |EC_GROUP_get0_order| instead.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<EC_GROUP>,
    ffi.Pointer<BIGNUM>,
    ffi.Pointer<BN_CTX>,
  )
>(symbol: 'bssl_dart_EC_GROUP_get_order')
external int EC_GROUP_get_order(
  ffi.Pointer<EC_GROUP> group,
  ffi.Pointer<BIGNUM> order,
  ffi.Pointer<BN_CTX> ctx,
);