Function esp_idf_sys::mbedtls_sha1_starts
source ยท pub unsafe extern "C" fn mbedtls_sha1_starts(
ctx: *mut mbedtls_sha1_context,
) -> c_int
Expand description
\brief 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.
\param ctx The SHA-1 context to initialize. This must be initialized.
\return \c 0 on success. \return A negative error code on failure.