Function esp_idf_svc::sys::mbedtls_sha1_clone
source ยท pub unsafe extern "C" fn mbedtls_sha1_clone(
dst: *mut mbedtls_sha1_context,
src: *const mbedtls_sha1_context,
)
Expand description
\brief This function clones the state of 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 dst The SHA-1 context to clone to. This must be initialized. \param src The SHA-1 context to clone from. This must be initialized.