SHA256_Final function
SHA256_Final adds the final padding to sha and writes the resulting digest
to out, which must have at least SHA256_DIGEST_LENGTH bytes of space. It
returns one on success and zero on programmer error.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Uint8>, ffi.Pointer<SHA256_CTX>)>(
symbol: 'bssl_dart_SHA256_Final',
)
external int SHA256_Final(
ffi.Pointer<ffi.Uint8> out,
ffi.Pointer<SHA256_CTX> sha,
);