mbedtls_sha1_starts_ret() function
This function starts a SHA-1 checksum calculation. \warning SHA-1 is considered a weak message digest and its use constitutes a security risk. We recommend considering stronger message digests instead.
Arguments
ctx
The SHA-1 context to initialize. This must be initialized.
Return value
\c 0 on success. A negative error code on failure.