/external/openssl/crypto/sha/asm/ |
D | sha1-586.pl | 46 $tmp1="ebp"; 57 if ($n==0) { &mov($tmp1,$a); } 58 else { &mov($a,$tmp1); } 59 &rotl($tmp1,5); # tmp1=ROTATE(a,5) 61 &add($tmp1,$e); # tmp1+=e; 68 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi 70 if ($n==15) { &add($f,$tmp1); } # f+=tmp1 71 else { &add($tmp1,$f); } # f becomes a in next round 81 &mov($tmp1,$c); # tmp1 to hold F_00_19(b,c,d) 83 &xor($tmp1,$d); [all …]
|
D | sha512-sparcv9.pl | 109 $tmp1="%g4"; 141 srlx @X[$j+1],$tmp32,$tmp1 143 or $tmp1,@X[$j],@X[$j] 178 sllx @pair[0],$tmp0,$tmp1 181 or $tmp1,$tmp2,$tmp2 196 sllx @pair[0],$tmp0,$tmp1 199 or $tmp1,$tmp2,$tmp2 224 $SLL $e,`$SZ*8-@Sigma1[2]`,$tmp1 227 xor $tmp1,$h,$h 228 $SLL $e,`$SZ*8-@Sigma1[1]`,$tmp1 [all …]
|
D | sha1-sparcv9a.pl | 50 $tmp1="%i4"; 154 srl $a,27,$tmp1 158 add $tmp1,$e,$e 159 andn $d,$b,$tmp1 163 or $tmp1,$tmp3,$tmp1 165 add $tmp1,$e,$e 173 srl $a,27,$tmp1 177 add $tmp1,$e,$e 179 andn $d,$b,$tmp1 183 or $tmp1,$tmp3,$tmp1 [all …]
|
D | sha1-sparcv9.pl | 49 $tmp1="%i4"; 59 srl $a,27,$tmp1 62 add $tmp1,$e,$e 64 andn $d,$b,$tmp1 66 or $tmp1,$tmp0,$tmp1 75 add $tmp1,$e,$e 87 srl $a,27,$tmp1 93 srlx @X[($j+7)%8],32,$tmp1 96 or $tmp1,$Xi,$Xi 103 srl $a,27,$tmp1 !! [all …]
|
/external/dropbear/libtommath/ |
D | bn_mp_toom_sqr.c | 22 mp_int w0, w1, w2, w3, w4, tmp1, a0, a1, a2; in mp_toom_sqr() local 26 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, &a0, &a1, &a2, &tmp1, NULL)) != MP_OKAY) { in mp_toom_sqr() 60 if ((res = mp_mul_2(&a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 63 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 66 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 69 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 73 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr() 78 if ((res = mp_mul_2(&a2, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 81 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 84 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() [all …]
|
D | bn_mp_toom_mul.c | 27 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; in mp_toom_mul() local 33 &b2, &tmp1, &tmp2, NULL)) != MP_OKAY) { in mp_toom_mul() 83 if ((res = mp_mul_2(&a0, &tmp1)) != MP_OKAY) { in mp_toom_mul() 86 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 89 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 92 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul() 109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul() 114 if ((res = mp_mul_2(&a2, &tmp1)) != MP_OKAY) { in mp_toom_mul() 117 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 120 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul() [all …]
|
/external/openssl/crypto/md5/asm/ |
D | md5-586.pl | 20 $tmp1="edi"; 47 &mov($tmp1,$C) if $pos < 0; 53 &xor($tmp1,$d); # F function - part 2 55 &and($tmp1,$b); # F function - part 3 58 &xor($tmp1,$d); # F function - part 4 60 &add($a,$tmp1); 61 &mov($tmp1,&Np($c)) if $pos < 1; # next tmp1 for R0 62 &mov($tmp1,&Np($c)) if $pos == 1; # next tmp1 for R1 79 &xor($tmp1,$b); # G function - part 2 80 &and($tmp1,$d); # G function - part 3 [all …]
|
/external/openssl/crypto/bf/asm/ |
D | bf-586.pl | 15 $tmp1="eax"; 44 &xor( $tmp1, $tmp1); 58 &BF_ENCRYPT($i+1,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 62 &BF_ENCRYPT($i+2,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 77 &BF_ENCRYPT($i,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 80 &BF_ENCRYPT($i-1,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 87 &mov(&DWP(4,$tmp1,"",0),$L); 89 &mov(&DWP(0,$tmp1,"",0),$R); 95 local($i,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,$enc)=@_; 105 &movb( &LB($tmp1), &HB($tmp2)); # A [all …]
|
D | bf-686.pl | 15 $tmp1="eax"; 43 &xor( $tmp1, $tmp1); 55 &BF_ENCRYPT($i+1,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3); 59 &BF_ENCRYPT($i+2,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3); 75 &BF_ENCRYPT($i,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3); 78 &BF_ENCRYPT($i-1,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3); 93 local($i,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3)=@_; 98 &movb( &LB($tmp1), &HB($R)); 104 &mov( $tot, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4)); 107 &movb( &LB($tmp1), &HB($R)); [all …]
|
/external/openssl/crypto/ripemd/asm/ |
D | rmd-586.pl | 19 $tmp1="eax"; 85 &xor($tmp1, $d) if $o == -1; 87 &xor($tmp1, $b); 90 &add($a, $tmp1); 91 &mov($tmp1, &Np($c)); # NEXT 98 &xor($tmp1, $d); 100 &xor($tmp1, $b); 101 &add($a, $tmp1); 102 &mov($tmp1, &Np($c)) if $o <= 0; 103 &mov($tmp1, -1) if $o == 1; [all …]
|
/external/openssl/crypto/des/asm/ |
D | crypt586.pl | 79 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_; 90 &mov( $tmp1, $u); 91 &shl( $tmp1, 16); # 1 94 &xor( $u, $tmp1); # 2 96 &mov( $tmp1, &DWP(&n2a($S*4),$trans,"",0)); # 2 97 &xor( $u, $tmp1); 104 &xor( $tmp1, $tmp1); # 1 107 &movb( &LB($tmp1), &LB($u) ); 111 &xor( $L, &DWP(" ",$trans,$tmp1,0)); 112 &movb( &LB($tmp1), &LB($t) ); [all …]
|
/external/openssl/crypto/bn/asm/ |
D | bn-586.pl | 434 $tmp1="ecx"; 452 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 454 &add($tmp1,$c); 457 &add($tmp1,$tmp2); 459 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 477 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 479 &add($tmp1,$c); 482 &add($tmp1,$tmp2); 485 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 506 $tmp1="ecx"; [all …]
|
/external/jpeg/ |
D | jidctint.c | 152 INT32 tmp0, tmp1, tmp2, tmp3; variable 217 tmp1 = (z2 - z3) << CONST_BITS; 221 tmp11 = tmp1 + tmp2; 222 tmp12 = tmp1 - tmp2; 229 tmp1 = DEQUANTIZE(inptr[DCTSIZE*5], quantptr[DCTSIZE*5]); 234 z2 = tmp1 + tmp2; 236 z4 = tmp1 + tmp3; 240 tmp1 = MULTIPLY(tmp1, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ 252 tmp1 += z2 + z4; 262 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS); [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_wtengine.c | 81 EAS_I32 tmp1; in WT_VoiceGain() local 124 tmp1 = *pMixBuffer; in WT_VoiceGain() 130 tmp1 += tmp0; in WT_VoiceGain() 131 *pMixBuffer++ = tmp1; in WT_VoiceGain() 134 tmp1 = *pMixBuffer; in WT_VoiceGain() 140 tmp1 += tmp0; in WT_VoiceGain() 141 *pMixBuffer++ = tmp1; in WT_VoiceGain() 147 tmp1 = *pMixBuffer; in WT_VoiceGain() 150 tmp1 += tmp2; in WT_VoiceGain() 151 *pMixBuffer++ = tmp1; in WT_VoiceGain() [all …]
|
D | ARM-E_interpolate_noloop_gnu.s | 50 tmp1 .req r8 label 78 LDRSB tmp1, [pPhaseAccum, #1] @ tmp1 = x1 81 LDRSH tmp1, [pPhaseAccum, #2] @ tmp1 = x1 86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 87 SMULBB tmp1, phaseFrac, tmp1 @ tmp1 = phaseFrac * tmp2 102 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6)) 105 STRH tmp1, [pOutputBuffer], #NEXT_OUTPUT_PCM @ *pOutputBuffer++ = interpolated result
|
D | ARM-E_interpolate_loop_gnu.s | 46 tmp1 .req r5 label 86 LDRSB tmp1, [pPhaseAccum, #1] @ tmp1 = x1 89 LDRSH tmp1, [pPhaseAccum, #2] @ tmp1 = x1 94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 95 SMULBB tmp1, phaseFrac, tmp1 @ tmp1 = phaseFrac * tmp2 110 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6)) 113 STRH tmp1, [pOutputBuffer], #NEXT_OUTPUT_PCM @ *pOutputBuffer++ = interpolated result
|
D | ARM-E_voice_gain_gnu.s | 46 tmp1 .req r5 label 86 LDR tmp1, [pWTFrame, #m_gainTarget] 94 SMULBB gainIncLeft, tmp1, gainIncLeft 102 SMULBB gainIncRight, tmp1, gainIncRight 110 LDR tmp1, [pMixBuffer] 114 SMLAWB tmp1, gainLeft, tmp0, tmp1 120 STR tmp1, [pMixBuffer], #4 148 LDR tmp1, [pMixBuffer] @ get left channel output sample 153 ADD tmp1, tmp0, tmp1 154 STR tmp1, [pMixBuffer], #4 @ save and bump pointer
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_wtengine.c | 81 EAS_I32 tmp1; in WT_VoiceGain() local 124 tmp1 = *pMixBuffer; in WT_VoiceGain() 130 tmp1 += tmp0; in WT_VoiceGain() 131 *pMixBuffer++ = tmp1; in WT_VoiceGain() 134 tmp1 = *pMixBuffer; in WT_VoiceGain() 140 tmp1 += tmp0; in WT_VoiceGain() 141 *pMixBuffer++ = tmp1; in WT_VoiceGain() 147 tmp1 = *pMixBuffer; in WT_VoiceGain() 150 tmp1 += tmp2; in WT_VoiceGain() 151 *pMixBuffer++ = tmp1; in WT_VoiceGain() [all …]
|
D | ARM-E_interpolate_loop_gnu.s | 46 tmp1 .req r5 label 86 LDRSB tmp1, [pPhaseAccum, #1] @ tmp1 = x1 89 LDRSH tmp1, [pPhaseAccum, #2] @ tmp1 = x1 94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 95 SMULBB tmp1, phaseFrac, tmp1 @ tmp1 = phaseFrac * tmp2 110 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6)) 113 STRH tmp1, [pOutputBuffer], #NEXT_OUTPUT_PCM @ *pOutputBuffer++ = interpolated result
|
D | ARM-E_interpolate_noloop_gnu.s | 50 tmp1 .req r8 label 78 LDRSB tmp1, [pPhaseAccum, #1] @ tmp1 = x1 81 LDRSH tmp1, [pPhaseAccum, #2] @ tmp1 = x1 86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0 87 SMULBB tmp1, phaseFrac, tmp1 @ tmp1 = phaseFrac * tmp2 102 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6)) 105 STRH tmp1, [pOutputBuffer], #NEXT_OUTPUT_PCM @ *pOutputBuffer++ = interpolated result
|
D | ARM-E_voice_gain_gnu.s | 46 tmp1 .req r5 label 86 LDR tmp1, [pWTFrame, #m_gainTarget] 94 SMULBB gainIncLeft, tmp1, gainIncLeft 102 SMULBB gainIncRight, tmp1, gainIncRight 110 LDR tmp1, [pMixBuffer] 114 SMLAWB tmp1, gainLeft, tmp0, tmp1 120 STR tmp1, [pMixBuffer], #4 148 LDR tmp1, [pMixBuffer] @ get left channel output sample 153 ADD tmp1, tmp0, tmp1 154 STR tmp1, [pMixBuffer], #4 @ save and bump pointer
|
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
D | milenage.c | 45 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f1() local 50 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f1() 51 if (aes_128_encrypt_block(k, tmp1, tmp1)) in milenage_f1() 66 tmp3[i] ^= tmp1[i]; in milenage_f1() 70 if (aes_128_encrypt_block(k, tmp3, tmp1)) in milenage_f1() 73 tmp1[i] ^= opc[i]; in milenage_f1() 75 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1() 77 os_memcpy(mac_s, tmp1 + 8, 8); /* f1* */ in milenage_f1() 97 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f2345() local 102 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f2345() [all …]
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_make_key.c | 31 void *p, *q, *tmp1, *tmp2, *tmp3; in rsa_make_key() local 49 if ((err = mp_init_multi(&p, &q, &tmp1, &tmp2, &tmp3, NULL)) != CRYPT_OK) { in rsa_make_key() 59 … if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = p-1 */ in rsa_make_key() 60 …if ((err = mp_gcd( tmp1, tmp3, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = gcd(p-1,… in rsa_make_key() 66 … if ((err = mp_sub_d( q, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = q-1 */ in rsa_make_key() 67 …if ((err = mp_gcd( tmp1, tmp3, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = gcd(q-1, … in rsa_make_key() 73 …if ((err = mp_lcm( tmp1, tmp2, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = lcm(p… in rsa_make_key() 81 …if ((err = mp_invmod( key->e, tmp1, key->d)) != CRYPT_OK) { goto errkey; } /* key->d = 1… in rsa_make_key() 86 …if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = q-1… in rsa_make_key() 88 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod… in rsa_make_key() [all …]
|
/external/openssl/crypto/bn/asm/x86/ |
D | add.pl | 15 $tmp1="ecx"; 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 35 &add($tmp1,$c); 38 &add($tmp1,$tmp2); 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 60 &add($tmp1,$c); 63 &add($tmp1,$tmp2); 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|
D | sub.pl | 15 $tmp1="ecx"; 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 35 &sub($tmp1,$c); 38 &sub($tmp1,$tmp2); 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 60 &sub($tmp1,$c); 63 &sub($tmp1,$tmp2); 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|