mbedtls_sha256_update_ret() function
This function feeds an input buffer into an ongoing SHA-256 checksum calculation.
Arguments
ctx
The SHA-256 context. This must be initialized and have a hash operation started.
input
The buffer holding the data. This must be a readable buffer of length \p ilen Bytes.
ilen
The length of the input data in Bytes.
Return value
\c 0 on success. A negative error code on failure.
![]()
if( ( ret = mbedtls_sha256_update_ret( &ctx, input, ilen ) ) != 0 )
mbedtls_sha256_update_ret() is called by 5 functions and calls 1 function:
![]()
mbedtls_sha256_update_ret()
mbedtls_sha256_update_ret() reads 2 variables:
![]()
mbedtls_sha256_update_ret()