/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_mul128MTo256M.c | 51 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 D | s_add256M.c | 49 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 D | s_addM.c | 53 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 D | s_addCarryM.c | 49 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 D | s_addComplCarryM.c | 49 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 D | s_addF128M.c | 71 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 D | s_negXM.c | 47 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 D | f128M_roundToInt.c | 81 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 D | s_mul128By32.c | 48 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 D | s_mulAddF128M.c | 80 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 D | tweetnacl.c | 351 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 D | rabbit.c | 101 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 D | primitives.h | 564 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 D | ecp_curves.c | 916 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 D | bignum.c | 1259 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 D | aes_modes_armv8a_ce_a32.S | 345 rev ip, ip @ ... to handle the carry
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
A D | LICENSE | 98 (b) You must cause any modified files to carry prominent notices
|
A D | ChangeLog | 4008 with carry rollover (found by Ruslan Yushchenko) 4064 with carry rollover
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_cipher.h | 1098 ulong32 carry; member
|