Searched refs:BITS_TO_LIMBS (Results 1 – 6 of 6) sorted by relevance
17 #define BITS_TO_LIMBS(i) ((i) / biL + ((i) % biL != 0)) macro82 if (mbedtls_mpi_grow(bn, BITS_TO_LIMBS(size_bits)) != 0) { in crypto_bignum_allocate()
4909 size_t expected_width = BITS_TO_LIMBS(192) * 2; in ecp_mod_p192()4923 if (Nn != BITS_TO_LIMBS(192) * 2) { in mbedtls_ecp_mod_p192_raw()5069 size_t expected_width = BITS_TO_LIMBS(224) * 2; in ecp_mod_p224()5079 if (X_limbs != BITS_TO_LIMBS(224) * 2) { in mbedtls_ecp_mod_p224_raw()5122 size_t expected_width = BITS_TO_LIMBS(256) * 2; in ecp_mod_p256()5132 if (X_limbs != BITS_TO_LIMBS(256) * 2) { in mbedtls_ecp_mod_p256_raw()5202 size_t expected_width = BITS_TO_LIMBS(384) * 2; in ecp_mod_p384()5212 if (X_limbs != BITS_TO_LIMBS(384) * 2) { in mbedtls_ecp_mod_p384_raw()5324 size_t expected_width = BITS_TO_LIMBS(521) * 2; in ecp_mod_p521()5336 if (X_limbs != BITS_TO_LIMBS(521) * 2) { in mbedtls_ecp_mod_p521_raw()[all …]
85 #define BITS_TO_LIMBS(i) ((i) / biL + ((i) % biL != 0)) macro
126 const size_t T_limbs = BITS_TO_LIMBS(N->bits) * 2; in mbedtls_mpi_mod_raw_mul()
595 n = BITS_TO_LIMBS(slen << 2); in mbedtls_mpi_read_string()920 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, BITS_TO_LIMBS(i))); in mbedtls_mpi_shift_l()2328 n = BITS_TO_LIMBS(nbits); in mbedtls_mpi_gen_prime()
27 #define BITS_TO_LIMBS(i) ((i) / biL + ((i) % biL != 0)) macro757 if (mbedtls_mpi_grow(bn, BITS_TO_LIMBS(size_bits))) { in crypto_bignum_allocate()