mbedtls_mpi_lsb() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_mpi_lsb() function

Return the number of bits of value \c 0 before the least significant bit of value \c 1.

Syntax

size_t mbedtls_mpi_lsb( const mbedtls_mpi *X );
Implemented in bignum.c:380

Arguments

X

The MPI to query.

Return value

The number of bits of value \c 0 before the least significant bit of value \c 1 in \p X.

Notes

This is the same as the zero-based index of the least significant bit of value \c 1.

References

LocationReferrerText
bignum.c:380
size_t mbedtls_mpi_lsb( const mbedtls_mpi *X )
bignum.h:371
size_t mbedtls_mpi_lsb( const mbedtls_mpi *X );
bignum.c:2076mbedtls_mpi_gcd()
lz = mbedtls_mpi_lsb( &TA );
bignum.c:2077mbedtls_mpi_gcd()
lzt = mbedtls_mpi_lsb( &TB );
bignum.c:2089mbedtls_mpi_gcd()
MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &TA, mbedtls_mpi_lsb( &TA ) ) );
bignum.c:2090mbedtls_mpi_gcd()
MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &TB, mbedtls_mpi_lsb( &TB ) ) );

Call Tree

Functions calling mbedtls_mpi_lsb()
all items filtered out
mbedtls_mpi_lsb()
Data read by mbedtls_mpi_lsb()
Data written by mbedtls_mpi_lsb()
mbedtls_mpi_lsb()::i
mbedtls_mpi_lsb()::j
mbedtls_mpi_lsb()::count
all items filtered out
mbedtls_mpi_lsb()
mbedtls_mpi_lsb()::i
mbedtls_mpi_lsb()::j
mbedtls_mpi_lsb()::count
all items filtered out
Type of mbedtls_mpi_lsb()
mbedtls_mpi_lsb()
size_t
all items filtered out