Function esp_idf_svc::hal::sys::mbedtls_mpi_bitlen
source ยท pub unsafe extern "C" fn mbedtls_mpi_bitlen(
X: *const mbedtls_mpi,
) -> usize
Expand description
\brief Return the number of bits up to and including the most significant bit of value \c 1.
- \note This is same as the one-based index of the most significant bit of value \c 1.
\param X The MPI to query. This must point to an initialized MPI.
\return The number of bits up to and including the most significant bit of value \c 1.