HMAC_CTX_copy function
HMAC_CTX_copy calls |HMAC_CTX_init| on |dest| and then sets it equal to |src|. On entry, |dest| must /not/ be initialised for an operation with |HMAC_Init_ex|. It returns one on success and zero on error.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<HMAC_CTX>, ffi.Pointer<HMAC_CTX>)>(
symbol: 'bssl_dart_HMAC_CTX_copy',
)
external int HMAC_CTX_copy(
ffi.Pointer<HMAC_CTX> dest,
ffi.Pointer<HMAC_CTX> src,
);