Home
last modified time | relevance | path

Searched refs:limbs (Results 1 – 4 of 4) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_mpi.data364 Multi-limb mbedtls_mpi_lt_mpi_ct (X>Y, equal MS limbs)
373 Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #1
376 Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #2
379 Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #3
382 Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #4
676 Shrink 0 limbs in a buffer of size 0 to 0
679 Shrink 2 limbs in a buffer of size 2 to 4
682 Shrink 2 limbs in a buffer of size 4 to 4
685 Shrink 2 limbs in a buffer of size 8 to 4
688 Shrink 4 limbs in a buffer of size 8 to 4
[all …]
Dtest_suite_ecp.data501 ECP mod p192 small (more than 192 bits, less limbs than 2 * 192 bits)
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dbignum.c187 static int mbedtls_mpi_resize_clear( mbedtls_mpi *X, size_t limbs ) in mbedtls_mpi_resize_clear() argument
189 if( limbs == 0 ) in mbedtls_mpi_resize_clear()
194 else if( X->n == limbs ) in mbedtls_mpi_resize_clear()
196 memset( X->p, 0, limbs * ciL ); in mbedtls_mpi_resize_clear()
203 return( mbedtls_mpi_grow( X, limbs ) ); in mbedtls_mpi_resize_clear()
757 static void mpi_bigendian_to_host( mbedtls_mpi_uint * const p, size_t limbs ) in mpi_bigendian_to_host() argument
761 if( limbs == 0 ) in mpi_bigendian_to_host()
773 for( cur_limb_left = p, cur_limb_right = p + ( limbs - 1 ); in mpi_bigendian_to_host()
794 size_t const limbs = CHARS_TO_LIMBS( buflen ); in mbedtls_mpi_read_binary_le() local
797 MBEDTLS_MPI_CHK( mbedtls_mpi_resize_clear( X, limbs ) ); in mbedtls_mpi_read_binary_le()
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/
DChangeLog250 * Fix a crash in mbedtls_mpi_debug_mpi on a bignum having 0 limbs. This
261 A=0 represented with 0 limbs. Up to and including Mbed TLS 2.26, this bug
312 mbedtls_mpi_read_string() now construct an mbedtls_mpi object with 0 limbs
384 |A| - |B| where |B| is larger than |A| and has more limbs (so the
3261 big-endian platform when size was not an integer number of limbs
3691 big-endian platform when size was not an integer number of limbs