Home
last modified time | relevance | path

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

12345678910>>...13

/external/openssl/crypto/bn/asm/
Dx86-mont.pl278 $carry="ebp";
281 &lea ($carry,&DWP(1,$num));
285 &and ($carry,1); # see if num is even
288 &or ($carry,"edx");
296 &mov ($carry,"edx");
298 &add ($carry,"eax");
303 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
306 &mov ($carry,"edx");
309 &add ("eax",$carry);
329 &mov ($carry,"edx");
[all …]
Dppc64-mont.pl99 $carry="r0";
271 li $carry,0
500 add $t0,$t0,$carry ; can not overflow
505 srdi $carry,$t0,16
506 add $t1,$t1,$carry
507 srdi $carry,$t1,16
514 add $t2,$t2,$carry
517 srdi $carry,$t2,16
521 add $t3,$t3,$carry
522 srdi $carry,$t3,16
[all …]
Dx86_64-mont.pl1037 my ($shift,$carry)=($a0,$a1);
1043 xor $carry,$carry
1049 mov $carry,24($tptr) # t[7]
1064 neg $carry # mov $carry,cf
1073 sbb $carry,$carry # mov cf,$carry
1081 neg $carry # mov $carry,cf
1089 sbb $carry,$carry # mov cf,$carry
1102 neg $carry # mov $carry,cf
1111 sbb $carry,$carry # mov cf,$carry
1119 neg $carry # mov $carry,cf
[all …]
/external/openssl/crypto/bn/
Dbn_nist.c360 int carry; in BN_nist_mod_192() local
427 carry = (int)(acc>>32); in BN_nist_mod_192()
434 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
436 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
438 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
441 if (carry > 0) in BN_nist_mod_192()
442 carry = (int)bn_sub_words(r_d,r_d,_nist_p_192[carry-1],BN_NIST_192_TOP); in BN_nist_mod_192()
444 carry = 1; in BN_nist_mod_192()
453 mask &= 0-(PTR_SIZE_INT)carry; in BN_nist_mod_192()
480 int carry; in BN_nist_mod_224() local
[all …]
Dbn_add.c108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; in BN_uadd() local
130 carry=bn_add_words(rp,ap,bp,min); in BN_uadd()
135 if (carry) in BN_uadd()
145 carry=0; in BN_uadd()
149 if (carry) in BN_uadd()
170 int i,carry; in BN_usub() local
195 carry=0; in BN_usub()
200 if (carry) in BN_usub()
202 carry=(t1 <= t2); in BN_usub()
207 carry=(t1 < t2); in BN_usub()
[all …]
Dbn_mont.c180 BN_ULONG *ap,*np,*rp,n0,v,carry; in BN_from_montgomery_word() local
208 for (carry=0, i=0; i<nl; i++, rp++) in BN_from_montgomery_word()
226 v = (v+carry+rp[nl])&BN_MASK2; in BN_from_montgomery_word()
227 carry |= (v != rp[nl]); in BN_from_montgomery_word()
228 carry &= (v <= rp[nl]); in BN_from_montgomery_word()
245 v=bn_sub_words(rp,ap,np,nl)-carry; in BN_from_montgomery_word()
269 if (bn_sub_words (rp,ap,np,nl)-carry) in BN_from_montgomery_word()
/external/kernel-headers/original/asm-mips/
Dchecksum.h106 int carry; in ip_fast_csum() local
110 carry = (csum < word[1]); in ip_fast_csum()
111 csum += carry; in ip_fast_csum()
114 carry = (csum < word[2]); in ip_fast_csum()
115 csum += carry; in ip_fast_csum()
118 carry = (csum < word[3]); in ip_fast_csum()
119 csum += carry; in ip_fast_csum()
124 carry = (csum < *word); in ip_fast_csum()
125 csum += carry; in ip_fast_csum()
/external/valgrind/main/VEX/switchback/
Dtest_emfloat.c531 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c);
533 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
534 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
770 static void Add16Bits(u16 *carry, in Add16Bits() argument
783 accum+=(u32)*carry; in Add16Bits()
784 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */ in Add16Bits()
816 static void ShiftMantLeft1(u16 *carry, in ShiftMantLeft1() argument
827 if(*carry) in ShiftMantLeft1()
829 *carry=new_carry; in ShiftMantLeft1()
841 static void ShiftMantRight1(u16 *carry, in ShiftMantRight1() argument
[all …]
/external/v8/src/
Dbignum.cc192 Chunk carry = 0; in AddBignum() local
196 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; in AddBignum()
198 carry = sum >> kBigitSize; in AddBignum()
202 while (carry != 0) { in AddBignum()
203 Chunk sum = bigits_[bigit_pos] + carry; in AddBignum()
205 carry = sum >> kBigitSize; in AddBignum()
260 DoubleChunk carry = 0; in MultiplyByUInt32() local
262 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry; in MultiplyByUInt32()
264 carry = (product >> kBigitSize); in MultiplyByUInt32()
266 while (carry != 0) { in MultiplyByUInt32()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dfips_prf_internal.c23 u32 carry; in fips186_2_prf() local
56 carry = 1; in fips186_2_prf()
58 carry += xkey[k] + xpos[k]; in fips186_2_prf()
59 xkey[k] = carry & 0xff; in fips186_2_prf()
60 carry >>= 8; in fips186_2_prf()
Dfips_prf_openssl.c32 u32 carry; in fips186_2_prf() local
65 carry = 1; in fips186_2_prf()
67 carry += xkey[k] + xpos[k]; in fips186_2_prf()
68 xkey[k] = carry & 0xff; in fips186_2_prf()
69 carry >>= 8; in fips186_2_prf()
Daes-omac1.c18 int i, carry; in gf_mulx() local
20 carry = pad[0] & 0x80; in gf_mulx()
24 if (carry) in gf_mulx()
/external/compiler-rt/lib/
Dudivsi3.c47 su_int carry = 0; in ARM_EABI_FNALIAS() local
52 q = (q << 1) | carry; in ARM_EABI_FNALIAS()
61 carry = s & 1; in ARM_EABI_FNALIAS()
64 q = (q << 1) | carry; in ARM_EABI_FNALIAS()
Dudivmoddi4.c228 su_int carry = 0; in __udivmoddi4() local
235 q.s.low = (q.s.low << 1) | carry; in __udivmoddi4()
244 carry = s & 1; in __udivmoddi4()
247 q.all = (q.all << 1) | carry; in __udivmoddi4()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DMessageProtocol.java60 private Byte carry; field in MessageProtocol
116 if( carry != null ) { in addBuffer()
117 byte high = carry; in addBuffer()
121 carry = null; in addBuffer()
130 carry = buffer.get(); in addBuffer()
/external/webkit/Source/JavaScriptCore/wtf/
Ddtoa.cpp206 unsigned long long carry; in multadd() local
208 uint32_t carry; in multadd()
214 carry = a; in multadd()
217 unsigned long long y = *x * (unsigned long long)m + carry; in multadd()
218 carry = y >> 32; in multadd()
222 uint32_t y = (xi & 0xffff) * m + carry; in multadd()
224 carry = z >> 16; in multadd()
229 if (carry) in multadd()
230 b.append((uint32_t)carry); in multadd()
344 unsigned long long carry, z; in mult() local
[all …]
/external/openssl/crypto/modes/
Dxts128.c102 unsigned int carry,res; in CRYPTO_xts128_encrypt() local
105 carry = (unsigned int)(tweak.u[0]>>63); in CRYPTO_xts128_encrypt()
107 tweak.u[1] = (tweak.u[1]<<1)|carry; in CRYPTO_xts128_encrypt()
138 unsigned int carry,res; in CRYPTO_xts128_encrypt() local
141 carry = (unsigned int)(tweak.u[0]>>63); in CRYPTO_xts128_encrypt()
143 tweak1.u[1] = (tweak.u[1]<<1)|carry; in CRYPTO_xts128_encrypt()
/external/llvm/lib/Support/
DAPInt.cpp239 bool carry = false; in add() local
242 dest[i] = x[i] + y[i] + carry; in add()
243 carry = dest[i] < limit || (carry && dest[i] == limit); in add()
245 return carry; in add()
294 uint64_t carry = 0; in mul_1() local
306 dest[i] = carry + lx * ly; in mul_1()
308 hasCarry = (dest[i] < carry) ? 1 : 0; in mul_1()
309 carry = hx * ly + (dest[i] >> 32) + (hasCarry ? (1ULL << 32) : 0); in mul_1()
312 hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0); in mul_1()
314 carry += (lx * hy) & 0xffffffffULL; in mul_1()
[all …]
/external/webkit/Source/WebCore/html/
DDateComponents.cpp244 int carry; in addMinute() local
248 carry = minute / 60; in addMinute()
251 carry = (59 - m_minute) / 60; in addMinute()
252 minute += carry * 60; in addMinute()
253 carry = -carry; in addMinute()
262 int hour = m_hour + carry; in addMinute()
264 carry = hour / 24; in addMinute()
267 carry = (23 - hour) / 24; in addMinute()
268 hour += carry * 24; in addMinute()
269 carry = -carry; in addMinute()
[all …]
/external/icu4c/i18n/
DdecNumber.c4914 uInt carry; /* carry (NB not uLong) */ in decMultiplyOp() local
5073 if (lcarry<FASTBASE) carry=(uInt)lcarry; /* [usual] */ in decMultiplyOp()
5078 carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); /* [inline] */ in decMultiplyOp()
5080 *(lp+1)+=carry; /* add to item above [inline] */ in decMultiplyOp()
5081 *lp-=((uLong)FASTBASE*carry); /* [inline] */ in decMultiplyOp()
6384 eInt carry=0; /* carry integer (could be Long) */ local
6420 carry+=*a;
6422 carry+=((eInt)*b)*m; /* [special-casing m=1/-1 */
6425 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */
6426 *c=(Unit)carry;
[all …]
/external/fdlibm/
Dk_rem_pio2.c170 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
215 n += 1; carry = 0;
218 if(carry==0) {
220 carry = 1; iq[i] = 0x1000000- j;
234 if(carry!=0) z -= ieee_scalbn(one,q0);
/external/chromium/base/third_party/dmg_fp/
Ddtoa.cc613 ULLong carry, y; variable
615 ULong carry, *x, y; variable
625 carry = a;
628 y = *x * (ULLong)m + carry;
629 carry = y >> 32;
634 y = (xi & 0xffff) * m + carry;
636 carry = z >> 16;
639 y = *x * m + carry;
640 carry = y >> 16;
646 if (carry) {
[all …]
/external/srec/srec/cfront/
Dhimul32.h128 asr_uint32_t oldlo, carry;
173 carry = lo < oldlo;
175 hi += carry + (mid >> 16);
/external/llvm/test/CodeGen/Thumb2/
Dthumb2-sbc.ll60 define i64 @livecarry(i64 %carry, i32 %digit) nounwind {
61 %ch = lshr i64 %carry, 32
62 %cl = and i64 %carry, 4294967295
/external/stressapptest/src/
Dpattern.h118 uint32 carry = (addition & crc) >> 31; in CrcIncrement() local
120 return crc + addition + carry; in CrcIncrement()

12345678910>>...13