Function esp_idf_sys::mbedtls_mpi_lset

source ยท
pub unsafe extern "C" fn mbedtls_mpi_lset(
    X: *mut mbedtls_mpi,
    z: mbedtls_mpi_sint,
) -> c_int
Expand description

\brief Store integer value in MPI.

\param X The MPI to set. This must be initialized. \param z The value to use.

\return \c 0 if successful. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed. \return Another negative error code on other kinds of failure.