Function esp_idf_sys::mbedtls_internal_sha1_process
source ยท pub unsafe extern "C" fn mbedtls_internal_sha1_process(
ctx: *mut mbedtls_sha1_context,
data: *const c_uchar,
) -> c_int
Expand description
\brief SHA-1 process data block (internal use only).
\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 use. This must be initialized. \param data The data block being processed. This must be a readable buffer of length \c 64 Bytes.
\return \c 0 on success. \return A negative error code on failure.