Home
last modified time | relevance | path

Searched refs:CHARS_TO_LIMBS (Results 1 – 7 of 7) sorted by relevance

/mbedtls-3.7.0/library/
Decp_curves_new.c5837 p_limbs = CHARS_TO_LIMBS(sizeof(secp192r1_p)); in mbedtls_ecp_modulus_setup()
5840 p_limbs = CHARS_TO_LIMBS(sizeof(secp192r1_n)); in mbedtls_ecp_modulus_setup()
5852 p_limbs = CHARS_TO_LIMBS(sizeof(secp224r1_p)); in mbedtls_ecp_modulus_setup()
5855 p_limbs = CHARS_TO_LIMBS(sizeof(secp224r1_n)); in mbedtls_ecp_modulus_setup()
5867 p_limbs = CHARS_TO_LIMBS(sizeof(secp256r1_p)); in mbedtls_ecp_modulus_setup()
5870 p_limbs = CHARS_TO_LIMBS(sizeof(secp256r1_n)); in mbedtls_ecp_modulus_setup()
5882 p_limbs = CHARS_TO_LIMBS(sizeof(secp384r1_p)); in mbedtls_ecp_modulus_setup()
5885 p_limbs = CHARS_TO_LIMBS(sizeof(secp384r1_n)); in mbedtls_ecp_modulus_setup()
5897 p_limbs = CHARS_TO_LIMBS(sizeof(secp521r1_p)); in mbedtls_ecp_modulus_setup()
5900 p_limbs = CHARS_TO_LIMBS(sizeof(secp521r1_n)); in mbedtls_ecp_modulus_setup()
[all …]
Dbignum_core.c208 const size_t limbs = CHARS_TO_LIMBS(input_length); in mbedtls_mpi_core_read_le()
231 const size_t limbs = CHARS_TO_LIMBS(input_length); in mbedtls_mpi_core_read_be()
621 const size_t limbs = CHARS_TO_LIMBS(n_bytes); in mbedtls_mpi_core_fill_random()
Dbignum_core.h88 #define CHARS_TO_LIMBS(i) ((i) / ciL + ((i) % ciL != 0)) macro
Dbignum.c796 const size_t limbs = CHARS_TO_LIMBS(buflen); in mbedtls_mpi_read_binary_le()
822 const size_t limbs = CHARS_TO_LIMBS(buflen); in mbedtls_mpi_read_binary()
1840 const size_t limbs = CHARS_TO_LIMBS(size); in mbedtls_mpi_fill_random()
/mbedtls-3.7.0/tests/src/
Dbignum_helpers.c39 *plimbs = CHARS_TO_LIMBS(byte_len); in mbedtls_test_read_mpi_core()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_bignum_mod_raw.function129 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
199 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
Dtest_suite_bignum_core.function428 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
489 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
1066 size_t X_limbs = CHARS_TO_LIMBS(wanted_bytes) + extra_limbs;