Searched refs:nblimbs (Results 1 – 2 of 2) sorted by relevance
99 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs) in mbedtls_mpi_grow() argument104 if (nblimbs > MBEDTLS_MPI_MAX_LIMBS) { in mbedtls_mpi_grow()108 if (X->n < nblimbs) { in mbedtls_mpi_grow()109 if ((p = (mbedtls_mpi_uint *) mbedtls_calloc(nblimbs, ciL)) == NULL) { in mbedtls_mpi_grow()119 X->n = nblimbs; in mbedtls_mpi_grow()130 int mbedtls_mpi_shrink(mbedtls_mpi *X, size_t nblimbs) in mbedtls_mpi_shrink() argument136 if (nblimbs > MBEDTLS_MPI_MAX_LIMBS) { in mbedtls_mpi_shrink()141 if (X->n <= nblimbs) { in mbedtls_mpi_shrink()142 return mbedtls_mpi_grow(X, nblimbs); in mbedtls_mpi_shrink()153 if (i < nblimbs) { in mbedtls_mpi_shrink()[all …]
262 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs);279 int mbedtls_mpi_shrink(mbedtls_mpi *X, size_t nblimbs);