Searched refs:mbedtls_mpi_core_add_if (Results 1 – 4 of 4) sorted by relevance
/external/mbedtls/library/ |
D | bignum_mod_raw.c | 120 (void) mbedtls_mpi_core_add_if( X, N->p, N->limbs, (unsigned) c ); in mbedtls_mpi_mod_raw_sub() 142 (void) mbedtls_mpi_core_add_if( X, N->p, N->limbs, (unsigned) ( carry ^ borrow ) ); in mbedtls_mpi_mod_raw_add()
|
D | bignum_core.h | 332 mbedtls_mpi_uint mbedtls_mpi_core_add_if( mbedtls_mpi_uint *X,
|
D | bignum_core.c | 380 mbedtls_mpi_uint mbedtls_mpi_core_add_if( mbedtls_mpi_uint *X, in mbedtls_mpi_core_add_if() function
|
/external/mbedtls/tests/suites/ |
D | test_suite_bignum_core.function | 87 /** Verifies mbedtls_mpi_core_add_if(). 96 * \return 1 if mbedtls_mpi_core_add_if() passes this test, otherwise 0. 116 TEST_EQUAL( 0, mbedtls_mpi_core_add_if( X, B, limbs, 0 ) ); 120 TEST_EQUAL( carry, mbedtls_mpi_core_add_if( X, B, limbs, 1 ) ); 129 TEST_EQUAL( 0, mbedtls_mpi_core_add_if( X, X, limbs, 0 ) ); 133 TEST_EQUAL( carry, mbedtls_mpi_core_add_if( X, X, limbs, 1 ) ); 142 TEST_EQUAL( 0, mbedtls_mpi_core_add_if( X, A, limbs, 0 ) ); 146 TEST_EQUAL( carry, mbedtls_mpi_core_add_if( X, A, limbs, 1 ) );
|