mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
@ -345,7 +345,9 @@ size_t mbedtls_mpi_lsb(const mbedtls_mpi *X)
|
|||||||
|
|
||||||
#if defined(mbedtls_mpi_uint_ctz)
|
#if defined(mbedtls_mpi_uint_ctz)
|
||||||
for (i = 0; i < X->n; i++) {
|
for (i = 0; i < X->n; i++) {
|
||||||
if (X->p[i] != 0) return i * biL + mbedtls_mpi_uint_ctz(X->p[i]);
|
if (X->p[i] != 0) {
|
||||||
|
return i * biL + mbedtls_mpi_uint_ctz(X->p[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
|
Reference in New Issue
Block a user