mbedtls_sha1_update_ret() function
This function feeds an input buffer into an ongoing 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. This must be initialized and have a hash operation started.
input
The buffer holding the input data. This must be a readable buffer of length \p ilen Bytes.
ilen
The length of the input data \p input in Bytes.
Return value
\c 0 on success. A negative error code on failure.