Home
last modified time | relevance | path

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

/optee_os-3.20.0/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_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 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_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 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_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()
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()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dtweetnacl.c351 i64 carry,i,j; in modL() local
353 carry = 0; in modL()
355 x[j] += carry - 16 * x[i] * L[j - (i - 32)]; in modL()
356 carry = (x[j] + 128) >> 8; in modL()
357 x[j] -= carry << 8; in modL()
359 x[j] += carry; in modL()
362 carry = 0; in modL()
364 x[j] += carry - (x[31] >> 4) * L[j]; in modL()
365 carry = x[j] >> 8; in modL()
368 FOR(j,32) x[j] -= carry * L[j]; in modL()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/
A Drabbit.c101 p_instance->c[0] = (ulong32)(p_instance->c[0] + 0x4D34D34D + p_instance->carry); in ss_rabbit_next_state()
109 p_instance->carry = (p_instance->c[7] < c_old[7]); in ss_rabbit_next_state()
194 st->master_ctx.carry = 0; in rabbit_setup()
211 st->work_ctx.carry = st->master_ctx.carry; in rabbit_setup()
254 st->work_ctx.carry = st->master_ctx.carry; in rabbit_setiv()
/optee_os-3.20.0/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-3.20.0/lib/libmbedtls/mbedtls/library/
A Decp_curves.c916 static inline void add64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *src, mbedtls_mpi_uint *carry ) in add64() argument
925 *carry += c; in add64()
929 static inline void carry64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *carry ) in carry64() argument
934 *dst += *carry; in carry64()
935 *carry = ( *dst < *carry ); in carry64()
1021 static inline void add32( uint32_t *dst, uint32_t src, signed char *carry ) in add32() argument
1024 *carry += ( *dst < src ); in add32()
1027 static inline void sub32( uint32_t *dst, uint32_t src, signed char *carry ) in sub32() argument
1029 *carry -= ( *dst < src ); in sub32()
A Dbignum.c1259 mbedtls_mpi_uint carry; in mbedtls_mpi_sub_abs() local
1284 carry = mpi_sub_hlp( n, X->p, A->p, B->p ); in mbedtls_mpi_sub_abs()
1285 if( carry != 0 ) in mbedtls_mpi_sub_abs()
/optee_os-3.20.0/core/arch/arm/crypto/
A Daes_modes_armv8a_ce_a32.S345 rev ip, ip @ ... to handle the carry
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DLICENSE98 (b) You must cause any modified files to carry prominent notices
A DChangeLog4008 with carry rollover (found by Ruslan Yushchenko)
4064 with carry rollover
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1098 ulong32 carry; member

Completed in 34 milliseconds