/third_party/openssl/crypto/ec/asm/ |
D | ecp_nistz256-x86.pl | 136 &lea ("esi",&DWP(0,"edi")); 159 &mov ("ebp",&DWP(0,"esi")); 161 &mov ("ebx",&DWP(4,"esi")); 164 &mov ("ecx",&DWP(8,"esi")); 169 &mov (&DWP(0,"edi"),"eax"); 171 &mov (&DWP(4,"edi"),"ebx"); 172 &mov (&DWP(8,"edi"),"ecx"); 174 &mov ("eax",&DWP(12,"esi")); 175 &mov ("ebx",&DWP(16,"esi")); 177 &mov ("ecx",&DWP(20,"esi")); [all …]
|
/third_party/openssl/crypto/sha/asm/ |
D | sha256-586.pl | 115 $Aoff=&DWP(4,"esp"); 116 $Boff=&DWP(8,"esp"); 117 $Coff=&DWP(12,"esp"); 118 $Doff=&DWP(16,"esp"); 119 $Eoff=&DWP(20,"esp"); 120 $Foff=&DWP(24,"esp"); 121 $Goff=&DWP(28,"esp"); 122 $Hoff=&DWP(32,"esp"); 123 $Xoff=&DWP(36,"esp"); 128 &mov ("esi",&DWP(4*(9+15+16-14),"esp")); [all …]
|
D | sha512-586.pl | 71 $Tlo=&DWP(0,"esp"); $Thi=&DWP(4,"esp"); 72 $Alo=&DWP(8,"esp"); $Ahi=&DWP(8+4,"esp"); 73 $Blo=&DWP(16,"esp"); $Bhi=&DWP(16+4,"esp"); 74 $Clo=&DWP(24,"esp"); $Chi=&DWP(24+4,"esp"); 75 $Dlo=&DWP(32,"esp"); $Dhi=&DWP(32+4,"esp"); 76 $Elo=&DWP(40,"esp"); $Ehi=&DWP(40+4,"esp"); 77 $Flo=&DWP(48,"esp"); $Fhi=&DWP(48+4,"esp"); 78 $Glo=&DWP(56,"esp"); $Ghi=&DWP(56+4,"esp"); 79 $Hlo=&DWP(64,"esp"); $Hhi=&DWP(64+4,"esp"); 213 &add ("eax",&DWP(8*(9+15)+0,"esp")); [all …]
|
D | sha1-586.pl | 186 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi 214 &lea($f,&DWP(0x5a827999,$f,$e));# f+=F_00_19(b,c,d)+e 231 &lea($f,&DWP(0x5a827999,$f,$e));# f+=F_00_19(b,c,d)+e 258 &lea($f,&DWP($K,$f,$e)); # f+=e+K_XX_YY 275 &lea($f,&DWP($K,$f,$e)); # f+=e+K_XX_YY 303 &lea($f,&DWP(0x8f1bbcdc,$f,$e));# f+=K_40_59+e+(b&(c^d)) 319 &lea($f,&DWP(0x8f1bbcdc,$f,$tmp1));# f+=K_40_59+e+(b&(c^d)) 339 &lea ($tmp1,&DWP(&label("K_XX_XX")."-".&label("pic_point"),$tmp1)); 341 &mov ($A,&DWP(0,$T)); 342 &mov ($D,&DWP(4,$T)); [all …]
|
D | keccak1600-mmx.pl | 196 &lea ("ebx",&DWP(8,"ebx")) if ($y == 0); 290 &lea ("ebx",&DWP(-192,"ebx")); # rewind iotas 301 &lea ("ebx",&DWP(&label("iotas")."-".&label("pic_point"),"ebx")); 303 &lea ("esi",&DWP(100,"esi")); # size optimization 304 &lea ("edi",&DWP(8*5+100,"esp")); # size optimization 322 &lea ("ebx",&DWP(&label("iotas")."-".&label("pic_point"),"ebx")); 326 &lea ("esi",&DWP(100,"esi")); # size optimization 327 &mov (&DWP(-4,"ebp"),"edx"); # save bsz 337 &lea ("eax",&DWP(8,"eax")); 339 &lea ("edi",&DWP(8,"edi")); [all …]
|
/third_party/openssl/crypto/bn/asm/ |
D | x86-mont.pl | 58 $_num=&DWP(4*0,"esp"); # stack top layout 59 $_rp=&DWP(4*1,"esp"); 60 $_ap=&DWP(4*2,"esp"); 61 $_bp=&DWP(4*3,"esp"); 62 $_np=&DWP(4*4,"esp"); 63 $_n0=&DWP(4*5,"esp"); $_n0q=&QWP(4*5,"esp"); 64 $_sp=&DWP(4*6,"esp"); 65 $_bpend=&DWP(4*7,"esp"); 77 &lea ("ebp",&DWP(-$frame,"esp","edi",4)); # future alloca($frame+4*(num+2)) 108 &lea ("esp",&DWP(0,"ebp","eax")); [all …]
|
D | via-mont.pl | 101 $mZeroPrime=&DWP(0,"esp"); # these are specified by VIA 102 $A=&DWP(4,"esp"); 103 $B=&DWP(8,"esp"); 104 $T=&DWP(12,"esp"); 105 $M=&DWP(16,"esp"); 106 $scratch=&DWP(20,"esp"); 107 $rp=&DWP(24,"esp"); # these are mine 108 $sp=&DWP(28,"esp"); 139 &mov ("esi",&DWP(0,"esi")); # *n0 141 &lea ("ecx",&DWP($pad,"","ecx",4)); # ecx becomes vector size in bytes [all …]
|
D | bn-586.pl | 47 &bt(&DWP(0,"eax"),26); 58 &movd("mm3",&DWP(0,$r,"",0)); # mm3 = r[0] 60 &movd("mm2",&DWP(0,$a,"",0)); # mm2 = a[0] 62 &movd("mm4",&DWP(4,$a,"",0)); # mm4 = a[1] 64 &movd("mm6",&DWP(8,$a,"",0)); # mm6 = a[2] 66 &movd("mm7",&DWP(12,$a,"",0)); # mm7 = a[3] 69 &movd("mm3",&DWP(4,$r,"",0)); # mm3 = r[1] 71 &movd("mm5",&DWP(8,$r,"",0)); # mm5 = r[2] 73 &movd("mm4",&DWP(12,$r,"",0)); # mm4 = r[3] 75 &movd(&DWP(0,$r,"",0),"mm1"); [all …]
|
D | x86-gf2m.pl | 68 &lea ($a2,&DWP(0,$a,$a)); 70 &lea ($a4,&DWP(0,$a2,$a2)); 71 &mov (&DWP(0*4,"esp"),0); 75 &mov (&DWP(1*4,"esp"),$a1); # a1 79 &mov (&DWP(2*4,"esp"),$a2); # a2 81 &mov (&DWP(3*4,"esp"),$a1); # a1^a2 85 &mov (&DWP(4*4,"esp"),$a4); # a4 89 &mov (&DWP(5*4,"esp"),$a1); # a1^a4 93 &mov (&DWP(6*4,"esp"),$a2); # a2^a4 95 &mov (&DWP(7*4,"esp"),$a4); # a1^a2^a4 [all …]
|
/third_party/openssl/crypto/camellia/asm/ |
D | cmll-x86.pl | 63 $__ra=&DWP(0,"esp"); # return address 64 $__s0=&DWP(4,"esp"); # s0 backing store 65 $__s1=&DWP(8,"esp"); # s1 backing store 66 $__s2=&DWP(12,"esp"); # s2 backing store 67 $__s3=&DWP(16,"esp"); # s3 backing store 68 $__end=&DWP(20,"esp"); # pointer to end/start of key schedule 72 $_end=&DWP(16,"esp"); 73 $_esp=&DWP(20,"esp"); 94 &xor ($t1,&DWP($seed+$i*$scale+4,$key)); # t1^=key[1] 96 &mov ($t3,&DWP($SBOX3_3033,$Tbl,$idx,8)); # t3=SBOX3_3033[0] [all …]
|
/third_party/openssl/crypto/aes/asm/ |
D | aes-586.pl | 217 $__ra=&DWP(0,"esp"); # return address 218 $__s0=&DWP(4,"esp"); # s0 backing store 219 $__s1=&DWP(8,"esp"); # s1 backing store 220 $__s2=&DWP(12,"esp"); # s2 backing store 221 $__s3=&DWP(16,"esp"); # s3 backing store 222 $__key=&DWP(20,"esp"); # pointer to key schedule 223 $__end=&DWP(24,"esp"); # pointer to end of key schedule 224 $__tbl=&DWP(28,"esp"); # %ebp backing store 228 $_tbl=&DWP(24,"esp"); 229 $_esp=&DWP(28,"esp"); [all …]
|
D | vpaes-x86.pl | 170 &add ($const,&DWP(0,"esp")); 192 &mov ($round,&DWP(240,$key)); 204 &lea ($base,&DWP($k_mc_backward,$const)); 278 &lea ($base,&DWP($k_dsbd,$const)); 279 &mov ($round,&DWP(240,$key)); 297 &lea ($magic,&DWP($k_sr-$k_dsbd,$base,$magic)); 380 &add ($const,&DWP(0,"esp")); 386 &lea ($base,&DWP($k_ipt,$const)); 511 &lea ($base,&DWP($k_deskew,$const)); 518 &lea ($base,&DWP($k_opt,$const)); # prepare to output transform [all …]
|
D | aesni-x86.pl | 132 &lea ($key,&DWP(32,$key)); 139 &lea ($key,&DWP(16,$key)); 152 &lea ($key,&DWP(0x30,$key)); 155 &lea ($key,&DWP(0x20,$key)); 157 &lea ($key,&DWP(0x20,$key)); 196 &mov ($rounds,&DWP(240,$key)); 215 &mov ($rounds,&DWP(240,$key)); 253 &lea ($key,&DWP(32,$key,$rounds)); 285 &lea ($key,&DWP(32,$key,$rounds)); 326 &lea ($key,&DWP(32,$key,$rounds)); [all …]
|
/third_party/openssl/crypto/chacha/asm/ |
D | chacha-x86.pl | 104 &mov (&DWP(4*$cp,"esp"),$c_) if ($ai>0 && $ai<3); 106 &mov (&DWP(4*$bp,"esp"),$b_) if ($i!=0); 108 &mov ($c_,&DWP(4*$cn,"esp")) if ($ai>0 && $ai<3); 110 &mov ($d_,&DWP(4*$dn,"esp")) if ($di!=$dn); 112 &mov ($b_,&DWP(4*$bn,"esp")) if ($i<7); 113 &mov ($b_,&DWP(128,"esp")) if ($i==7); # loop counter 116 &mov (&DWP(4*$ai,"esp"),$a); 118 &mov ($a,&DWP(4*$an,"esp")); 120 &mov (&DWP(4*$di,"esp"),$d) if ($di!=$dn); 145 &test (&DWP(0,"ebp"),1<<24); # test FXSR bit [all …]
|
/third_party/openssl/crypto/perlasm/ |
D | cbc.pl | 66 &mov($in, &DWP(0,"ebx","",0));# iv[0] 67 &mov($out, &DWP(4,"ebx","",0));# iv[1] 109 &mov("eax", &DWP($data_off,"esp","",0)); # load iv[0] 110 &mov("ebx", &DWP($data_off+4,"esp","",0)); # load iv[1] 120 &mov("ecx", &DWP(0,$in,"",0)); # load first 4 bytes 121 &mov("edx", &DWP(4,$in,"",0)); # second 4 bytes 129 &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call 130 &mov(&DWP($data_off+4,"esp","",0), "ebx"); # 134 &mov("eax", &DWP($data_off,"esp","",0)); 135 &mov("ebx", &DWP($data_off+4,"esp","",0)); [all …]
|
/third_party/openssl/engines/asm/ |
D | e_padlock-x86.pl | 117 &mov ("ecx",&DWP(240,"edx")); 119 &mov ("eax",&DWP(0,"edx")); 121 &mov (&DWP(0,"edx"),"eax"); 122 &lea ("edx",&DWP(4,"edx")); 139 &lea ("eax",($::win32 or $::coff) ? &DWP(&label("padlock_saved_context")) : 140 &DWP(&label("padlock_saved_context")."-".&label("verify_pic_point"))); 144 &lea ("esp",&DWP(4,"esp")); 149 &add ("eax",&DWP(0,"esp")) if(!($::win32 or $::coff));# &padlock_saved_context 150 &bt (&DWP(4,"esp"),30); # eflags 152 &cmp ($ctx,&DWP(0,"eax")); [all …]
|
/third_party/openssl/crypto/poly1305/asm/ |
D | poly1305-x86.pl | 92 &mov (&DWP(4*0,"edi"),"eax"); # zero hash value 93 &mov (&DWP(4*1,"edi"),"eax"); 94 &mov (&DWP(4*2,"edi"),"eax"); 95 &mov (&DWP(4*3,"edi"),"eax"); 96 &mov (&DWP(4*4,"edi"),"eax"); 97 &mov (&DWP(4*5,"edi"),"eax"); # is_base2_26 107 &lea ("eax",&DWP("poly1305_blocks-".&label("pic_point"),"ebx")); 108 &lea ("edx",&DWP("poly1305_emit-".&label("pic_point"),"ebx")); 111 &mov ("ecx",&DWP(0,"edi")); 116 &lea ("eax",&DWP("_poly1305_blocks_sse2-".&label("pic_point"),"ebx")); [all …]
|
/third_party/openssl/crypto/rc4/asm/ |
D | rc4-586.pl | 88 &mov ($ty,&DWP(0,$dat,$yy,4)); 89 &mov (&DWP(0,$dat,$yy,4),$tx); 90 &mov (&DWP(0,$dat,$xx,4),$ty); 96 &mov ($tx,&DWP(0,$dat,$xx,4)); 100 &$func ($out,&DWP(0,$dat,$ty,4)); 116 &lea (@XX[1],&DWP(1,@XX[0])); 121 &mov ($ty,&DWP(0,$dat,$yy,4)); 122 &mov (&DWP(0,$dat,$yy,4),$tx); 124 &mov (&DWP(0,$dat,$XX[0],4),$ty); 127 &mov ($tx,&DWP(0,$dat,@XX[1],4)); [all …]
|
/third_party/openssl/crypto/ |
D | x86cpuid.pl | 32 &mov (&DWP(8,"esi"),"eax"); # clear extended feature flags 140 &mov (&DWP(8,"edi"),"ebx"); # save extended feature flag 157 &and (&DWP(8,"edi"),0xffffffdf); # clear AVX2 170 &bt (&DWP(0,"ecx"),4); 182 &bt (&DWP(0,"ecx"),4); 200 &sub ("eax",&DWP(0,"esp")); 201 &sbb ("edx",&DWP(4,"esp")); 225 &mov ("eax",&DWP(4,"esp")); 226 &mov ("ecx",&DWP(8,"esp")); 229 &mov ("edx",&DWP(0,"ecx")); [all …]
|
/third_party/openssl/crypto/modes/asm/ |
D | ghash-x86.pl | 157 &mov ($Zhh,&DWP(4,$Htbl,$Zll)); 158 &mov ($Zhl,&DWP(0,$Htbl,$Zll)); 159 &mov ($Zlh,&DWP(12,$Htbl,$Zll)); 160 &mov ($Zll,&DWP(8,$Htbl,$Zll)); 180 &xor ($Zhh,&DWP($off+16,"esp",$rem,4)); 189 &xor ($Zll,&DWP(8,$Htbl,$rem)); 190 &xor ($Zlh,&DWP(12,$Htbl,$rem)); 191 &xor ($Zhl,&DWP(0,$Htbl,$rem)); 192 &xor ($Zhh,&DWP(4,$Htbl,$rem)); 211 &xor ($Zhh,&DWP($off+16,"esp",$rem,4)); [all …]
|
/third_party/openssl/crypto/whrlpool/asm/ |
D | wp-mmx.pl | 75 { if ($SCALE==2) { &lea(@_[0],&DWP(0,@_[1],@_[1])); } 76 elsif ($SCALE==8) { &lea(@_[0],&DWP(0,"",@_[1],8)); } 103 &lea ("ebx",&DWP(128,"esp")); 104 &mov (&DWP(0,"ebx"),"esi"); # save parameter block 105 &mov (&DWP(4,"ebx"),"edi"); 106 &mov (&DWP(8,"ebx"),"ebp"); 107 &mov (&DWP(16,"ebx"),"eax"); # saved stack pointer 112 &lea ($tbl,&DWP(&label("table")."-".&label("pic_point"),$tbl)); 124 &mov (&DWP(12,"ebx"),"esi"); # zero round counter 128 &mov ("eax",&DWP(0,"esp")); [all …]
|
/third_party/openssl/crypto/rc5/asm/ |
D | rc5-586.pl | 51 &mov($A,&DWP(0,$tmp4,"",0)); 52 &mov($B,&DWP(4,$tmp4,"",0)); 55 &mov($r, &DWP(0,$S,"",0)); 61 &add($A, &DWP(4+0,$S,"",0)); 62 &add($B, &DWP(4+4,$S,"",0)); 67 &mov($tmp1, &DWP(12+$i*8,$S,"",0)); 73 &mov($tmp1, &DWP(16+$i*8,$S,"",0)); 93 &mov($tmp1, &DWP($i*8+8,$S,"",0)); 99 &mov($tmp1, &DWP($i*8+4,$S,"",0)); 105 &sub($B, &DWP(4+4,$S,"",0)); [all …]
|
/third_party/openssl/crypto/des/asm/ |
D | desboth.pl | 28 &mov($L,&DWP(0,"ebx","",0)); 29 &mov($R,&DWP(4,"ebx","",0)); 40 &mov(&DWP(4,"ebx","",0),$R); 42 &mov(&DWP(0,"ebx","",0),"edx"); 48 &mov(&DWP(4,"ebx","",0),$R); 50 &mov(&DWP(0,"ebx","",0),"edx"); 68 &mov($L,&DWP(0,"ebx","",0)); 69 &mov($R,&DWP(4,"ebx","",0)); 75 &mov(&DWP(0,"ebx","",0),"eax"); 76 &mov(&DWP(4,"ebx","",0),$R);
|
D | des-586.pl | 57 &lea("edx",&DWP(128,"ecx")); 95 &lea("ecx",&DWP(128,"ecx")); 145 &mov("eax",&DWP(0,$R,"",0)); 147 &mov($L,&DWP(4,$R,"",0)); 160 &mov($R,&DWP(0,"eax","",0)); 163 &mov($L,&DWP(4,"eax","",0)); 171 &lea ($trans,&DWP(&label("des_sptrans")."-".&label("pic_point"),$trans)); 190 &mov(&DWP(0,"edx","",0),"eax"); 191 &mov(&DWP(4,"edx","",0),$R); 200 &mov(&DWP(0,"eax","",0),$L); [all …]
|
/third_party/openssl/crypto/bf/asm/ |
D | bf-586.pl | 52 &mov($L,&DWP(0,$tmp2,"",0)); 53 &mov($R,&DWP(4,$tmp2,"",0)); 61 &mov($tmp2,&DWP(0,$P,"",0)); 76 &mov($tmp4,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 80 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 94 &mov($tmp4,&DWP(0,$P,"",0)); 98 &mov(&DWP(4,$tmp1,"",0),$L); 100 &mov(&DWP(0,$tmp1,"",0),$R); 108 &mov( $tmp4, &DWP(&n2a($i*4),$P,"",0)); # for next round 122 &mov( $tmp1, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4)); [all …]
|