Function esp_idf_hal::sys::mbedtls_mpi_size
source ยท pub unsafe extern "C" fn mbedtls_mpi_size(
X: *const mbedtls_mpi,
) -> usize
Expand description
\brief Return the total size of an MPI value in bytes.
\param X The MPI to use. This must point to an initialized MPI.
\note The value returned by this function may be less than the number of bytes used to store \p X internally. This happens if and only if there are trailing bytes of value zero.
\return The least number of bytes capable of storing the absolute value of \p X.