EC_GROUP_get_order function

  1. @Native<Int Function(Pointer<ec_group_st>, Pointer<bignum_st>, Pointer<bignum_ctx>)>(ffi.Pointer<ec_group_st>, ffi.Pointer<bignum_st>, ffi.Pointer<bignum_ctx>)>()
int EC_GROUP_get_order(
  1. Pointer<ec_group_st> group,
  2. Pointer<bignum_st> order,
  3. Pointer<bignum_ctx> ctx
)

Gets the order of a EC_GROUP \param group EC_GROUP object \param order BIGNUM to which the order is copied \param ctx unused \return 1 on success and 0 if an error occurred

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<ec_group_st>,
    ffi.Pointer<bignum_st>,
    ffi.Pointer<bignum_ctx>,
  )
>()
external int EC_GROUP_get_order(
  ffi.Pointer<ec_group_st> group,
  ffi.Pointer<bignum_st> order,
  ffi.Pointer<bignum_ctx> ctx,
);