Lines Matching defs:carry
465 mbedtls_mpi_uint c = 0; /* carry */
554 * We also look to see if there was any carry in the final additions in the
558 mbedtls_mpi_uint carry = T[AN_limbs];
566 * 1) T < N : (carry, borrow) = (0, 1): we want T
567 * 2) N <= T < R : (carry, borrow) = (0, 0): we want X
568 * 3) T >= R : (carry, borrow) = (1, 1): we want X
570 * and (carry, borrow) = (1, 0) can't happen.
572 * So the correct return value is already in X if (carry ^ borrow) = 0,
573 * but is in (the lower AN_limbs limbs of) T if (carry ^ borrow) = 1.
575 mbedtls_ct_memcpy_if(mbedtls_ct_bool(carry ^ borrow),
846 mbedtls_mpi_uint c, /* doubles as carry */