Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Decp_curves.c5748 p_limbs = CHARS_TO_LIMBS(sizeof(secp192r1_p)); in mbedtls_ecp_modulus_setup()
5751 p_limbs = CHARS_TO_LIMBS(sizeof(secp192r1_n)); in mbedtls_ecp_modulus_setup()
5760 p_limbs = CHARS_TO_LIMBS(sizeof(secp224r1_p)); in mbedtls_ecp_modulus_setup()
5763 p_limbs = CHARS_TO_LIMBS(sizeof(secp224r1_n)); in mbedtls_ecp_modulus_setup()
5772 p_limbs = CHARS_TO_LIMBS(sizeof(secp256r1_p)); in mbedtls_ecp_modulus_setup()
5775 p_limbs = CHARS_TO_LIMBS(sizeof(secp256r1_n)); in mbedtls_ecp_modulus_setup()
5784 p_limbs = CHARS_TO_LIMBS(sizeof(secp384r1_p)); in mbedtls_ecp_modulus_setup()
5787 p_limbs = CHARS_TO_LIMBS(sizeof(secp384r1_n)); in mbedtls_ecp_modulus_setup()
5796 p_limbs = CHARS_TO_LIMBS(sizeof(secp521r1_p)); in mbedtls_ecp_modulus_setup()
5799 p_limbs = CHARS_TO_LIMBS(sizeof(secp521r1_n)); in mbedtls_ecp_modulus_setup()
[all …]
Dbignum_core.c194 const size_t limbs = CHARS_TO_LIMBS(input_length); in mbedtls_mpi_core_read_le()
217 const size_t limbs = CHARS_TO_LIMBS(input_length); in mbedtls_mpi_core_read_be()
558 const size_t limbs = CHARS_TO_LIMBS(n_bytes); in mbedtls_mpi_core_fill_random()
Dbignum_core.h98 #define CHARS_TO_LIMBS(i) ((i) / ciL + ((i) % ciL != 0)) macro
Dbignum.c683 const size_t limbs = CHARS_TO_LIMBS(buflen); in mbedtls_mpi_read_binary_le()
709 const size_t limbs = CHARS_TO_LIMBS(buflen); in mbedtls_mpi_read_binary()
2071 const size_t limbs = CHARS_TO_LIMBS(size); in mbedtls_mpi_fill_random()
/third_party/mbedtls/tests/src/
Dbignum_helpers.c51 *plimbs = CHARS_TO_LIMBS(byte_len); in mbedtls_test_read_mpi_core()
/third_party/mbedtls/tests/suites/
Dtest_suite_bignum_mod_raw.function130 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
201 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
Dtest_suite_bignum_core.function398 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
459 size_t copy_limbs = CHARS_TO_LIMBS(input_bytes);
1016 size_t X_limbs = CHARS_TO_LIMBS(wanted_bytes) + extra_limbs;