Searched refs:BITS_TO_LIMBS (Results 1 – 6 of 6) sorted by relevance
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 …]
87 #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()
543 n = BITS_TO_LIMBS(slen << 2); in mbedtls_mpi_read_string()868 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(X, BITS_TO_LIMBS(i))); in mbedtls_mpi_shift_l()2182 n = BITS_TO_LIMBS(nbits); in mbedtls_mpi_gen_prime()
1583 limbs = BITS_TO_LIMBS(192) * 2;1590 limbs = BITS_TO_LIMBS(224) * 2;1597 limbs = BITS_TO_LIMBS(256) * 2;1604 limbs = BITS_TO_LIMBS(384) * 2;1611 limbs = BITS_TO_LIMBS(521) * 2;1618 limbs = BITS_TO_LIMBS(192) * 2;1625 limbs = BITS_TO_LIMBS(224) * 2;1632 limbs = BITS_TO_LIMBS(256) * 2;1639 limbs = BITS_TO_LIMBS(255) * 2;1646 limbs = BITS_TO_LIMBS(448) * 2;
1014 size_t limbs = BITS_TO_LIMBS(bitlen);