Home
last modified time | relevance | path

Searched refs:BITS_TO_LIMBS (Results 1 – 6 of 6) sorted by relevance

/mbedtls-3.7.0/library/
Decp_curves_new.c4909 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 …]
Dbignum_core.h87 #define BITS_TO_LIMBS(i) ((i) / biL + ((i) % biL != 0)) macro
Dbignum_mod_raw.c126 const size_t T_limbs = BITS_TO_LIMBS(N->bits) * 2; in mbedtls_mpi_mod_raw_mul()
Dbignum.c543 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()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_ecp.function1583 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;
Dtest_suite_bignum_core.function1014 size_t limbs = BITS_TO_LIMBS(bitlen);