EVP_MD_CTX_cleanup function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<EVP_MD_CTX>)>(ffi.Pointer<EVP_MD_CTX>)>(symbol: 'bssl_dart_EVP_MD_CTX_cleanup')
int EVP_MD_CTX_cleanup(
  1. Pointer<EVP_MD_CTX> ctx
)

EVP_MD_CTX_cleanup frees any resources owned by |ctx| and resets it to a freshly initialised state. It does not free |ctx| itself. It returns one.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<EVP_MD_CTX>)>(
  symbol: 'bssl_dart_EVP_MD_CTX_cleanup',
)
external int EVP_MD_CTX_cleanup(
  ffi.Pointer<EVP_MD_CTX> ctx,
);