Home
last modified time | relevance | path

Searched refs:nblimbs (Results 1 – 2 of 2) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dbignum.c117 int mbedtls_mpi_grow( mbedtls_mpi *X, size_t nblimbs ) in mbedtls_mpi_grow() argument
122 if( nblimbs > MBEDTLS_MPI_MAX_LIMBS ) in mbedtls_mpi_grow()
125 if( X->n < nblimbs ) in mbedtls_mpi_grow()
127 if( ( p = (mbedtls_mpi_uint*)mbedtls_calloc( nblimbs, ciL ) ) == NULL ) in mbedtls_mpi_grow()
137 X->n = nblimbs; in mbedtls_mpi_grow()
148 int mbedtls_mpi_shrink( mbedtls_mpi *X, size_t nblimbs ) in mbedtls_mpi_shrink() argument
154 if( nblimbs > MBEDTLS_MPI_MAX_LIMBS ) in mbedtls_mpi_shrink()
158 if( X->n <= nblimbs ) in mbedtls_mpi_shrink()
159 return( mbedtls_mpi_grow( X, nblimbs ) ); in mbedtls_mpi_shrink()
167 if( i < nblimbs ) in mbedtls_mpi_shrink()
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h232 int mbedtls_mpi_grow( mbedtls_mpi *X, size_t nblimbs );
249 int mbedtls_mpi_shrink( mbedtls_mpi *X, size_t nblimbs );