Function esp_idf_sys::mbedtls_md_hmac_update

source ยท
pub unsafe extern "C" fn mbedtls_md_hmac_update(
    ctx: *mut mbedtls_md_context_t,
    input: *const c_uchar,
    ilen: usize,
) -> c_int
Expand description

\brief This function feeds an input buffer into an ongoing HMAC computation.

             Call mbedtls_md_hmac_starts() or mbedtls_md_hmac_reset()
             before calling this function.
             You may call this function multiple times to pass the
             input piecewise.
             Afterwards, call mbedtls_md_hmac_finish().

\param ctx The message digest context containing an embedded HMAC context. \param input The buffer holding the input data. \param ilen The length of the input data.

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