Searched refs:X_limbs (Results 1 – 8 of 8) sorted by relevance
/mbedtls-3.7.0/library/ |
D | ecp_invasive.h | 112 int mbedtls_ecp_mod_p224_raw(mbedtls_mpi_uint *X, size_t X_limbs); 134 int mbedtls_ecp_mod_p256_raw(mbedtls_mpi_uint *X, size_t X_limbs); 156 int mbedtls_ecp_mod_p521_raw(mbedtls_mpi_uint *X, size_t X_limbs); 178 int mbedtls_ecp_mod_p384_raw(mbedtls_mpi_uint *X, size_t X_limbs); 202 int mbedtls_ecp_mod_p192k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 226 int mbedtls_ecp_mod_p224k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 250 int mbedtls_ecp_mod_p256k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 271 int mbedtls_ecp_mod_p255_raw(mbedtls_mpi_uint *X, size_t X_limbs); 297 int mbedtls_ecp_mod_p448_raw(mbedtls_mpi_uint *X, size_t X_limbs);
|
D | bignum_core.c | 204 size_t X_limbs, in mbedtls_mpi_core_read_le() argument 210 if (X_limbs < limbs) { in mbedtls_mpi_core_read_le() 215 memset(X, 0, X_limbs * ciL); in mbedtls_mpi_core_read_le() 227 size_t X_limbs, in mbedtls_mpi_core_read_be() argument 233 if (X_limbs < limbs) { in mbedtls_mpi_core_read_be() 239 if (X_limbs == 0) { in mbedtls_mpi_core_read_be() 243 memset(X, 0, X_limbs * ciL); in mbedtls_mpi_core_read_be() 247 size_t overhead = (X_limbs * ciL) - input_length; in mbedtls_mpi_core_read_be() 252 mbedtls_mpi_core_bigendian_to_host(X, X_limbs); in mbedtls_mpi_core_read_be() 292 size_t X_limbs, in mbedtls_mpi_core_write_be() argument [all …]
|
D | bignum_core.h | 216 size_t X_limbs, 238 size_t X_limbs, 413 mbedtls_mpi_uint mbedtls_mpi_core_mla(mbedtls_mpi_uint *X, size_t X_limbs, 546 int mbedtls_mpi_core_fill_random(mbedtls_mpi_uint *X, size_t X_limbs,
|
D | ecp_curves_new.c | 4569 int mbedtls_ecp_mod_p224_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4574 int mbedtls_ecp_mod_p256_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4579 int mbedtls_ecp_mod_p384_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4596 int mbedtls_ecp_mod_p255_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4606 int mbedtls_ecp_mod_p192k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4611 int mbedtls_ecp_mod_p224k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4616 int mbedtls_ecp_mod_p256k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 4990 #define MAX32 X_limbs 4997 #define MAX32 X_limbs * 2 5077 int mbedtls_ecp_mod_p224_raw(mbedtls_mpi_uint *X, size_t X_limbs) in mbedtls_ecp_mod_p224_raw() argument [all …]
|
D | bignum_mod.h | 115 typedef int (*mbedtls_mpi_modp_fn)(mbedtls_mpi_uint *X, size_t X_limbs);
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_bignum_core.function | 346 size_t X_limbs; 351 TEST_EQUAL(0, mbedtls_test_read_mpi_core(&X, &X_limbs, input_X)); 355 TEST_EQUAL(X_limbs, Y_limbs); 357 TEST_CF_SECRET(X, X_limbs * sizeof(mbedtls_mpi_uint)); 358 TEST_CF_SECRET(Y, X_limbs * sizeof(mbedtls_mpi_uint)); 360 ret = mbedtls_mpi_core_lt_ct(X, Y, X_limbs); 1066 size_t X_limbs = CHARS_TO_LIMBS(wanted_bytes) + extra_limbs; 1080 TEST_LE_U(1, X_limbs); 1081 TEST_CALLOC(X, X_limbs); 1082 memset(X, before, X_limbs * sizeof(*X)); [all …]
|
D | test_suite_bignum_mod_raw.function | 479 size_t A_limbs, N_limbs, X_limbs; 491 TEST_EQUAL(0, mbedtls_test_read_mpi_core(&X, &X_limbs, input_X)); 495 TEST_EQUAL(X_limbs, N_limbs); 643 size_t X_limbs = 0; 647 TEST_EQUAL(0, mbedtls_test_read_mpi_core(&X, &X_limbs, input_X)); 651 X, X_limbs * sizeof(mbedtls_mpi_uint)); 670 size_t X_limbs = 0; 674 TEST_EQUAL(0, mbedtls_test_read_mpi_core(&X, &X_limbs, input_X)); 678 X, X_limbs * sizeof(mbedtls_mpi_uint));
|
D | test_suite_ecp.function | 1570 int (*curve_func)(mbedtls_mpi_uint *X, size_t X_limbs);
|