Searched refs:borrow (Results 1 – 5 of 5) sorted by relevance
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
| H A D | s_sub256M.c | 49 uint_fast8_t borrow; in softfloat_sub256M() local 53 borrow = 0; in softfloat_sub256M() 57 zPtr[index] = wordA - wordB - borrow; in softfloat_sub256M() 59 borrow = borrow ? (wordA <= wordB) : (wordA < wordB); in softfloat_sub256M()
|
| H A D | s_subM.c | 53 uint_fast8_t borrow; in softfloat_subM() local 58 borrow = 0; in softfloat_subM() 62 zPtr[index] = wordA - wordB - borrow; in softfloat_subM() 64 borrow = borrow ? (wordA <= wordB) : (wordA < wordB); in softfloat_subM()
|
| H A D | s_remStepMBy32.c | 58 uint_fast8_t borrow; in softfloat_remStepMBy32() local 69 borrow = (wordShiftedRem < wordProd); in softfloat_remStepMBy32() 77 zPtr[index] = wordShiftedRem - wordProd - borrow; in softfloat_remStepMBy32() 79 borrow = in softfloat_remStepMBy32() 80 borrow ? (wordShiftedRem <= wordProd) in softfloat_remStepMBy32()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | bignum_mod_raw.c | 184 mbedtls_mpi_uint carry, borrow; in mbedtls_mpi_mod_raw_add() local 186 borrow = mbedtls_mpi_core_sub(X, X, N->p, N->limbs); in mbedtls_mpi_mod_raw_add() 187 (void) mbedtls_mpi_core_add_if(X, N->p, N->limbs, (unsigned) (carry ^ borrow)); in mbedtls_mpi_mod_raw_add() 272 mbedtls_mpi_uint borrow = mbedtls_mpi_core_sub(X, X, N->p, N->limbs); in mbedtls_mpi_mod_raw_neg() local 273 (void) mbedtls_mpi_core_add_if(X, N->p, N->limbs, (unsigned) borrow); in mbedtls_mpi_mod_raw_neg()
|
| H A D | bignum_core.c | 559 mbedtls_mpi_uint borrow = mbedtls_mpi_core_sub(X, T, N, AN_limbs); in mbedtls_mpi_core_montmul() local 575 mbedtls_ct_memcpy_if(mbedtls_ct_bool(carry ^ borrow), in mbedtls_mpi_core_montmul()
|