Function esp_idf_sys::mbedtls_mpi_shift_l
source ยท pub unsafe extern "C" fn mbedtls_mpi_shift_l(
X: *mut mbedtls_mpi,
count: usize,
) -> c_int
Expand description
\brief Perform a left-shift on an MPI: X <<= count
\param X The MPI to shift. This must point to an initialized MPI. The MPI pointed by \p X may be resized to fit the resulting number. \param count The number of bits to shift by.
\return \c 0 if successful. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed. \return Another negative error code on different kinds of failure.