mbedtls_mpi_core_bitlen() function
Return the minimum number of bits required to represent the value held in the MPI.
Arguments
A_limbs
The number of limbs of \p A.
Return value
The number of bits in \p A.
Notes
This function returns 0 if all the limbs of \p A are 0.
mbedtls_mpi_core_bitlen() is called by 3 functions and calls 1 function:
![]()
mbedtls_mpi_core_bitlen()
mbedtls_mpi_core_bitlen():
![]()
mbedtls_mpi_core_bitlen()