Function esp_idf_svc::hal::sys::mbedtls_mpi_grow
source ยท pub unsafe extern "C" fn mbedtls_mpi_grow(
X: *mut mbedtls_mpi,
nblimbs: usize,
) -> i32
Expand description
\brief Enlarge an MPI to the specified number of limbs.
\note This function does nothing if the MPI is already large enough.
\param X The MPI to grow. It must be initialized. \param nblimbs The target number of limbs.
\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.