Home
last modified time | relevance | path

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

/mbedtls-3.7.0/tests/suites/
Dtest_suite_bignum_core.function8 /** Verifies mbedtls_mpi_core_add().
17 * \return 1 if mbedtls_mpi_core_add() passes this test, otherwise 0.
36 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, A, B, limbs));
41 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, B, limbs));
46 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, A, X, limbs));
53 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, A, A, limbs));
58 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, X, limbs));
64 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, B, A, limbs));
69 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, A, limbs));
74 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, B, X, limbs));
/mbedtls-3.7.0/library/
Dbignum_core.h329 mbedtls_mpi_uint mbedtls_mpi_core_add(mbedtls_mpi_uint *X,
Dbignum_mod_raw.c185 carry = mbedtls_mpi_core_add(X, A, B, N->limbs); in mbedtls_mpi_mod_raw_add()
Decp_curves_new.c5381 (void) mbedtls_mpi_core_add(X, X, addend_arr, P521_WIDTH); in mbedtls_ecp_mod_p521_raw()
5457 (void) mbedtls_mpi_core_add(X, X, carry, P255_WIDTH); in mbedtls_ecp_mod_p255_raw()
5552 (void) mbedtls_mpi_core_add(X, X, M, M_limbs); in mbedtls_ecp_mod_p448_raw()
5561 (void) mbedtls_mpi_core_add(X, X, Q, Q_limbs); in mbedtls_ecp_mod_p448_raw()
5570 (void) mbedtls_mpi_core_add(M, M, Q, Q_limbs); in mbedtls_ecp_mod_p448_raw()
5578 (void) mbedtls_mpi_core_add(X, X, M, M_limbs); in mbedtls_ecp_mod_p448_raw()
5605 (void) mbedtls_mpi_core_add(X, X, M, M_limbs); in mbedtls_ecp_mod_p448_raw()
5691 (void) mbedtls_mpi_core_add(X, X, M, P_limbs + R_limbs); in ecp_mod_koblitz()
Dbignum_core.c405 mbedtls_mpi_uint mbedtls_mpi_core_add(mbedtls_mpi_uint *X, in mbedtls_mpi_core_add() function
Dbignum.c1037 c = mbedtls_mpi_core_add(p, p, B->p, j); in mbedtls_mpi_add_abs()