Function esp_idf_svc::sys::mbedtls_mpi_lset

source ยท
pub unsafe extern "C" fn mbedtls_mpi_lset(
    X: *mut mbedtls_mpi,
    z: i32,
) -> i32
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.