Function esp_idf_svc::sys::mbedtls_sha1_free

source ยท
pub unsafe extern "C" fn mbedtls_sha1_free(
    ctx: *mut mbedtls_sha1_context,
)
Expand description

\brief This function clears a SHA-1 context.

\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 clear. This may be \c NULL, in which case this function does nothing. If it is not \c NULL, it must point to an initialized SHA-1 context.