Merge "fix(mbedtls): fix error return code for calc_hash" into integration