Home
last modified time | relevance | path

Searched refs:carry (Results 1 – 19 of 19) sorted by relevance

/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_mul128MTo256M.c51 uint_fast8_t carry; in softfloat_mul128MTo256M() local
73 carry = (wordZ < (uint32_t) dwordProd); in softfloat_mul128MTo256M()
76 wordZ = zPtr[indexWord( 5, 1 )] + (uint32_t) dwordProd + carry; in softfloat_mul128MTo256M()
78 carry = in softfloat_mul128MTo256M()
79 carry ? (wordZ <= (uint32_t) dwordProd) in softfloat_mul128MTo256M()
83 wordZ = zPtr[indexWord( 5, 2 )] + (uint32_t) dwordProd + carry; in softfloat_mul128MTo256M()
85 carry = in softfloat_mul128MTo256M()
86 carry ? (wordZ <= (uint32_t) dwordProd) in softfloat_mul128MTo256M()
92 carry = in softfloat_mul128MTo256M()
93 carry ? (wordZ <= (uint32_t) dwordProd) in softfloat_mul128MTo256M()
[all …]
A Ds_addF128M.c71 uint_fast8_t carry; in softfloat_addF128M() local
138 carry = 0; in softfloat_addF128M()
143 carry = ! wordSigZ; in softfloat_addF128M()
145 carry = in softfloat_addF128M()
150 carry, in softfloat_addF128M()
153 wordSigZ = sig96A + sig96B + carry; in softfloat_addF128M()
158 carry = in softfloat_addF128M()
167 wordSigZ = sig96A + ~sig96B + carry; in softfloat_addF128M()
170 carry = in softfloat_addF128M()
177 wordSigZ = sig96B + ~sig96A + carry; in softfloat_addF128M()
[all …]
A Ds_add256M.c49 uint_fast8_t carry; in softfloat_add256M() local
53 carry = 0; in softfloat_add256M()
56 wordZ = wordA + bPtr[index] + carry; in softfloat_add256M()
59 carry = carry ? (wordZ <= wordA) : (wordZ < wordA); in softfloat_add256M()
A Ds_addM.c53 uint_fast8_t carry; in softfloat_addM() local
58 carry = 0; in softfloat_addM()
61 wordZ = wordA + bPtr[index] + carry; in softfloat_addM()
64 carry = carry ? (wordZ <= wordA) : (wordZ < wordA); in softfloat_addM()
A Ds_addCarryM.c49 uint_fast8_t carry, in softfloat_addCarryM() argument
60 wordZ = wordA + bPtr[index] + carry; in softfloat_addCarryM()
62 carry = carry ? (wordZ <= wordA) : (wordZ < wordA); in softfloat_addCarryM()
66 return carry; in softfloat_addCarryM()
A Ds_addComplCarryM.c49 uint_fast8_t carry, in softfloat_addComplCarryM() argument
60 wordZ = wordA + ~bPtr[index] + carry; in softfloat_addComplCarryM()
62 carry = carry ? (wordZ <= wordA) : (wordZ < wordA); in softfloat_addComplCarryM()
66 return carry; in softfloat_addComplCarryM()
A Df128M_roundToInt.c81 uint_fast8_t carry; in f128M_roundToInt() local
162 carry = (wordZ < wordA); in f128M_roundToInt()
172 wordZ = aWPtr[index] + carry; in f128M_roundToInt()
173 carry &= ! wordZ; in f128M_roundToInt()
182 carry = 0; in f128M_roundToInt()
189 carry = (wordZ < wordA); in f128M_roundToInt()
198 wordZ = aWPtr[index] + carry; in f128M_roundToInt()
200 carry &= ! wordZ; in f128M_roundToInt()
A Ds_negXM.c47 uint_fast8_t carry; in softfloat_negXM() local
52 carry = 1; in softfloat_negXM()
54 word = ~zPtr[index] + carry; in softfloat_negXM()
58 if ( word ) carry = 0; in softfloat_negXM()
A Ds_mulAddF128M.c80 uint_fast8_t carry; in softfloat_mulAddF128M() local
188 carry = 0; in softfloat_mulAddF128M()
192 carry = ! wordSig; in softfloat_mulAddF128M()
198 carry, in softfloat_mulAddF128M()
228 carry = 0; in softfloat_mulAddF128M()
230 carry = ! wordSig; in softfloat_mulAddF128M()
233 carry = in softfloat_mulAddF128M()
238 carry, in softfloat_mulAddF128M()
254 carry = in softfloat_mulAddF128M()
299 if ( carry != doSub ) { in softfloat_mulAddF128M()
A Ds_mul128By32.c48 uint_fast32_t carry; in softfloat_mul128By32() local
52 carry = (uint32_t) ((uint_fast32_t) (z.v0>>32) - (uint_fast32_t) mid); in softfloat_mul128By32()
53 z.v64 = a64 * b + (uint_fast32_t) ((mid + carry)>>32); in softfloat_mul128By32()
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
A Dtweetnacl.c354 i64 carry,i,j; in modL() local
356 carry = 0; in modL()
358 x[j] += carry - 16 * x[i] * L[j - (i - 32)]; in modL()
359 carry = (x[j] + 128) >> 8; in modL()
360 x[j] -= carry << 8; in modL()
362 x[j] += carry; in modL()
365 carry = 0; in modL()
367 x[j] += carry - (x[31] >> 4) * L[j]; in modL()
368 carry = x[j] >> 8; in modL()
371 FOR(j,32) x[j] -= carry * L[j]; in modL()
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/
A Drabbit.c108 p_instance->c[0] = (ulong32)(p_instance->c[0] + 0x4D34D34D + p_instance->carry); in _rabbit_next_state()
116 p_instance->carry = (p_instance->c[7] < c_old[7]); in _rabbit_next_state()
201 st->master_ctx.carry = 0; in rabbit_setup()
218 st->work_ctx.carry = st->master_ctx.carry; in rabbit_setup()
261 st->work_ctx.carry = st->master_ctx.carry; in rabbit_setiv()
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/include/
A Dprimitives.h564 uint_fast32_t carry; in softfloat_mul128By32() local
567 carry = (uint32_t) ((uint_fast32_t) (z.v0>>32) - (uint_fast32_t) mid); in softfloat_mul128By32()
568 z.v64 = a64 * b + (uint_fast32_t) ((mid + carry)>>32); in softfloat_mul128By32()
924 uint_fast8_t carry,
940 uint_fast8_t carry,
950 …efine softfloat_addComplCarry96M( aPtr, bPtr, carry, zPtr ) softfloat_addComplCarryM( 3, aPtr, bPt… argument
/optee_os/lib/libmbedtls/mbedtls/library/
A Decp_curves.c914 static inline void add64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *src, mbedtls_mpi_uint *carry ) in add64() argument
923 *carry += c; in add64()
927 static inline void carry64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *carry ) in carry64() argument
932 *dst += *carry; in carry64()
933 *carry = ( *dst < *carry ); in carry64()
1019 static inline void add32( uint32_t *dst, uint32_t src, signed char *carry ) in add32() argument
1022 *carry += ( *dst < src ); in add32()
1025 static inline void sub32( uint32_t *dst, uint32_t src, signed char *carry ) in sub32() argument
1027 *carry -= ( *dst < src ); in sub32()
A Dbignum.c1514 mbedtls_mpi_uint carry; in mbedtls_mpi_sub_abs() local
1539 carry = mpi_sub_hlp( n, X->p, A->p, B->p ); in mbedtls_mpi_sub_abs()
1540 if( carry != 0 ) in mbedtls_mpi_sub_abs()
/optee_os/core/arch/arm/crypto/
A Daes_modes_armv8a_ce_a32.S345 rev ip, ip @ ... to handle the carry
/optee_os/lib/libmbedtls/mbedtls/
A DLICENSE98 (b) You must cause any modified files to carry prominent notices
A DChangeLog3793 with carry rollover (found by Ruslan Yushchenko)
3849 with carry rollover
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1086 ulong32 carry; member

Completed in 33 milliseconds