Function esp_idf_svc::sys::mbedtls_md_starts

source ยท
pub unsafe extern "C" fn mbedtls_md_starts(
    ctx: *mut mbedtls_md_context_t,
) -> i32
Expand description

\brief This function starts a message-digest computation.

             You must call this function after setting up the context
             with mbedtls_md_setup(), and before passing data with
             mbedtls_md_update().

\param ctx The generic message-digest context.

\return \c 0 on success. \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA on parameter-verification failure.