Searched refs:nblimbs (Results 1 – 2 of 2) sorted by relevance
117 int mbedtls_mpi_grow( mbedtls_mpi *X, size_t nblimbs ) in mbedtls_mpi_grow() argument122 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() argument154 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 …]
232 int mbedtls_mpi_grow( mbedtls_mpi *X, size_t nblimbs );249 int mbedtls_mpi_shrink( mbedtls_mpi *X, size_t nblimbs );