/external/openssl/crypto/bn/asm/ |
via-mont.pl | 92 $mZeroPrime=&DWP(0,"esp"); # these are specified by VIA 93 $A=&DWP(4,"esp"); 94 $B=&DWP(8,"esp"); 95 $T=&DWP(12,"esp"); 96 $M=&DWP(16,"esp"); 97 $scratch=&DWP(20,"esp"); 98 $rp=&DWP(24,"esp"); # these are mine 99 $sp=&DWP(28,"esp"); 100 # &DWP(32,"esp") # 32 byte scratch area 101 # &DWP(64+(4*$num+$pad)*0,"esp") # padded tp[num [all...] |
x86-mont.pl | 49 $_num=&DWP(4*0,"esp"); # stack top layout 50 $_rp=&DWP(4*1,"esp"); 51 $_ap=&DWP(4*2,"esp"); 52 $_bp=&DWP(4*3,"esp"); 53 $_np=&DWP(4*4,"esp"); 54 $_n0=&DWP(4*5,"esp"); $_n0q=&QWP(4*5,"esp"); 55 $_sp=&DWP(4*6,"esp"); 56 $_bpend=&DWP(4*7,"esp"); 69 &lea ("esp",&DWP(-$frame,"esp","edi",4)); # alloca($frame+4*(num+2)) 89 &mov ("eax",&DWP(0*4,"esi"));# BN_ULONG *r [all...] |
bn-586.pl | 36 &bt(&DWP(0,"eax"),26); 47 &movd("mm3",&DWP(0,$r,"",0)); # mm3 = r[0] 49 &movd("mm2",&DWP(0,$a,"",0)); # mm2 = a[0] 51 &movd("mm4",&DWP(4,$a,"",0)); # mm4 = a[1] 53 &movd("mm6",&DWP(8,$a,"",0)); # mm6 = a[2] 55 &movd("mm7",&DWP(12,$a,"",0)); # mm7 = a[3] 58 &movd("mm3",&DWP(4,$r,"",0)); # mm3 = r[1] 60 &movd("mm5",&DWP(8,$r,"",0)); # mm5 = r[2] 62 &movd("mm4",&DWP(12,$r,"",0)); # mm4 = r[3] 64 &movd(&DWP(0,$r,"",0),"mm1") [all...] |
x86-gf2m.pl | 59 &lea ($a2,&DWP(0,$a,$a)); 61 &lea ($a4,&DWP(0,$a2,$a2)); 62 &mov (&DWP(0*4,"esp"),0); 66 &mov (&DWP(1*4,"esp"),$a1); # a1 70 &mov (&DWP(2*4,"esp"),$a2); # a2 72 &mov (&DWP(3*4,"esp"),$a1); # a1^a2 76 &mov (&DWP(4*4,"esp"),$a4); # a4 80 &mov (&DWP(5*4,"esp"),$a1); # a1^a4 84 &mov (&DWP(6*4,"esp"),$a2); # a2^a4 86 &mov (&DWP(7*4,"esp"),$a4); # a1^a2^a [all...] |
co-586.pl | 26 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 27 # &mov("edx",&DWP($bi*4,$b,"",0)); 31 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 40 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 54 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 55 # &mov("edx",&DWP($bi*4,$b,"",0)); 62 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next [all...] |
/external/openssl/crypto/sha/asm/ |
sha256-586.pl | 36 $Aoff=&DWP(0,"esp"); 37 $Boff=&DWP(4,"esp"); 38 $Coff=&DWP(8,"esp"); 39 $Doff=&DWP(12,"esp"); 40 $Eoff=&DWP(16,"esp"); 41 $Foff=&DWP(20,"esp"); 42 $Goff=&DWP(24,"esp"); 43 $Hoff=&DWP(28,"esp"); 44 $Xoff=&DWP(32,"esp"); 56 &mov (&DWP(4*(8+15),"esp"),$T) if ($in_16_63); # save X[0 [all...] |
sha512-586.pl | 46 $Tlo=&DWP(0,"esp"); $Thi=&DWP(4,"esp"); 47 $Alo=&DWP(8,"esp"); $Ahi=&DWP(8+4,"esp"); 48 $Blo=&DWP(16,"esp"); $Bhi=&DWP(16+4,"esp"); 49 $Clo=&DWP(24,"esp"); $Chi=&DWP(24+4,"esp"); 50 $Dlo=&DWP(32,"esp"); $Dhi=&DWP(32+4,"esp") [all...] |
sha1-586.pl | 154 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi 182 &lea($f,&DWP(0x5a827999,$f,$e));# f+=F_00_19(b,c,d)+e 199 &lea($f,&DWP(0x5a827999,$f,$e));# f+=F_00_19(b,c,d)+e 226 &lea($f,&DWP($K,$f,$e)); # f+=e+K_XX_YY 243 &lea($f,&DWP($K,$f,$e)); # f+=e+K_XX_YY 271 &lea($f,&DWP(0x8f1bbcdc,$f,$e));# f+=K_40_59+e+(b&(c^d)) 287 &lea($f,&DWP(0x8f1bbcdc,$f,$tmp1));# f+=K_40_59+e+(b&(c^d)) 306 &lea ($tmp1,&DWP(&label("K_XX_XX")."-".&label("pic_point"),$tmp1)); 308 &mov ($A,&DWP(0,$T)); 309 &mov ($D,&DWP(4,$T)) [all...] |
/external/openssl/crypto/perlasm/ |
cbc.pl | 59 &mov($in, &DWP(0,"ebx","",0));# iv[0] 60 &mov($out, &DWP(4,"ebx","",0));# iv[1] 102 &mov("eax", &DWP($data_off,"esp","",0)); # load iv[0] 103 &mov("ebx", &DWP($data_off+4,"esp","",0)); # load iv[1] 113 &mov("ecx", &DWP(0,$in,"",0)); # load first 4 bytes 114 &mov("edx", &DWP(4,$in,"",0)); # second 4 bytes 122 &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call 123 &mov(&DWP($data_off+4,"esp","",0), "ebx"); # 127 &mov("eax", &DWP($data_off,"esp","",0)); 128 &mov("ebx", &DWP($data_off+4,"esp","",0)) [all...] |
/external/openssl/crypto/des/asm/ |
desboth.pl | 21 &mov($L,&DWP(0,"ebx","",0)); 22 &mov($R,&DWP(4,"ebx","",0)); 33 &mov(&DWP(4,"ebx","",0),$R); 35 &mov(&DWP(0,"ebx","",0),"edx"); 41 &mov(&DWP(4,"ebx","",0),$R); 43 &mov(&DWP(0,"ebx","",0),"edx"); 61 &mov($L,&DWP(0,"ebx","",0)); 62 &mov($R,&DWP(4,"ebx","",0)); 68 &mov(&DWP(0,"ebx","",0),"eax"); 69 &mov(&DWP(4,"ebx","",0),$R) [all...] |
/external/openssl/crypto/ |
x86cpuid.pl | 148 &bt (&DWP(0,"ecx"),4); 160 &bt (&DWP(0,"ecx"),4); 178 &sub ("eax",&DWP(0,"esp")); 179 &sbb ("edx",&DWP(4,"esp")); 203 &mov ("eax",&DWP(4,"esp")); 204 &mov ("ecx",&DWP(8,"esp")); 207 &mov ("edx",&DWP(0,"ecx")); 213 &cmp ("edx",&DWP(0,"ecx")); 229 &mov ("ecx",&DWP(0,"ecx")); 230 &bt (&DWP(0,"ecx"),1) [all...] |
/external/openssl/crypto/rc4/asm/ |
rc4-586.pl | 78 &mov ($ty,&DWP(0,$dat,$yy,4)); 79 &mov (&DWP(0,$dat,$yy,4),$tx); 80 &mov (&DWP(0,$dat,$xx,4),$ty); 86 &mov ($tx,&DWP(0,$dat,$xx,4)); 90 &$func ($out,&DWP(0,$dat,$ty,4)); 106 &lea (@XX[1],&DWP(1,@XX[0])); 111 &mov ($ty,&DWP(0,$dat,$yy,4)); 112 &mov (&DWP(0,$dat,$yy,4),$tx); 114 &mov (&DWP(0,$dat,$XX[0],4),$ty); 117 &mov ($tx,&DWP(0,$dat,@XX[1],4)) [all...] |
/external/openssl/crypto/aes/asm/ |
aes-586.pl | 207 $__ra=&DWP(0,"esp"); # return address 208 $__s0=&DWP(4,"esp"); # s0 backing store 209 $__s1=&DWP(8,"esp"); # s1 backing store 210 $__s2=&DWP(12,"esp"); # s2 backing store 211 $__s3=&DWP(16,"esp"); # s3 backing store 212 $__key=&DWP(20,"esp"); # pointer to key schedule 213 $__end=&DWP(24,"esp"); # pointer to end of key schedule 214 $__tbl=&DWP(28,"esp"); # %ebp backing store 218 $_tbl=&DWP(24,"esp"); 219 $_esp=&DWP(28,"esp") [all...] |
vpaes-x86.pl | 160 &add ($const,&DWP(0,"esp")); 182 &mov ($round,&DWP(240,$key)); 195 &lea ($base,&DWP($k_mc_backward,$const)); 268 &mov ($round,&DWP(240,$key)); 269 &lea ($base,&DWP($k_dsbd,$const)); 287 &lea ($magic,&DWP($k_sr-$k_dsbd,$base,$magic)); 371 &add ($const,&DWP(0,"esp")); 377 &lea ($base,&DWP($k_ipt,$const)); 502 &lea ($base,&DWP($k_deskew,$const)); 509 &lea ($base,&DWP($k_opt,$const)); # prepare to output transfor [all...] |
aesni-x86.pl | 104 &lea ($key,&DWP(32,$key)); 111 &lea ($key,&DWP(16,$key)); 124 &lea ($key,&DWP(0x30,$key)); 127 &lea ($key,&DWP(0x20,$key)); 129 &lea ($key,&DWP(0x20,$key)); 169 &mov ($rounds,&DWP(240,$key)); 185 &mov ($rounds,&DWP(240,$key)); 215 &lea ($key,&DWP(32,$key)); 229 &lea ($key,&DWP(32,$key)); 254 &lea ($key,&DWP(32,$key)) [all...] |
/external/openssl/crypto/bn/asm/x86/ |
add.pl | 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 34 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 59 &mov($tmp2,&DWP($i*4,$b,"",0));# *b 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|
mul_add.pl | 39 &mov("eax",&DWP($i,$a,"",0)); # *a 42 &mov($c,&DWP($i,$r,"",0)); # L(t)+= *r 46 &mov(&DWP($i,$r,"",0),"eax"); # *r= L(t); 67 &mov("eax",&DWP($i*4,$a,"",0));# *a 70 &mov($c,&DWP($i*4,$r,"",0)); # L(t)+= *r 75 &mov(&DWP($i*4,$r,"",0),"eax"); # *r= L(t);
|
sqr.pl | 26 &mov("eax",&DWP($i,$a,"",0)); # *a 29 &mov(&DWP($i*2,$r,"",0),"eax"); # 30 &mov(&DWP($i*2+4,$r,"",0),"edx");# 47 &mov("eax",&DWP($i*4,$a,"",0)); # *a 50 &mov(&DWP($i*8,$r,"",0),"eax"); # 52 &mov(&DWP($i*8+4,$r,"",0),"edx");
|
sub.pl | 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 34 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 59 &mov($tmp2,&DWP($i*4,$b,"",0));# *b 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|
comba.pl | 14 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 15 # &mov("edx",&DWP($bi*4,$b,"",0)); 19 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 28 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 29 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 42 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 43 # &mov("edx",&DWP($bi*4,$b,"",0)); 50 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next [all...] |
mul.pl | 33 &mov("eax",&DWP($i,$a,"",0)); # *a 39 &mov(&DWP($i,$r,"",0),"eax"); # *r= L(t); 61 &mov("eax",&DWP($i*4,$a,"",0));# *a 66 &mov(&DWP($i*4,$r,"",0),"eax");# *r= L(t);
|
/external/openssl/crypto/bf/asm/ |
bf-686.pl | 36 &mov($L,&DWP(0,"eax","",0)); 37 &mov($R,&DWP(4,"eax","",0)); 50 &xor($L,&DWP(0,$P,"",0)); 61 &xor($R,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 64 &mov(&DWP(0,"eax","",0),$R); 65 &mov(&DWP(4,"eax","",0),$L); 70 &xor($L,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 80 &xor($R,&DWP(0,$P,"",0)); 83 &mov(&DWP(0,"eax","",0),$R); 84 &mov(&DWP(4,"eax","",0),$L) [all...] |
bf-586.pl | 41 &mov($L,&DWP(0,$tmp2,"",0)); 42 &mov($R,&DWP(4,$tmp2,"",0)); 50 &mov($tmp2,&DWP(0,$P,"",0)); 65 &mov($tmp4,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 69 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 83 &mov($tmp4,&DWP(0,$P,"",0)); 87 &mov(&DWP(4,$tmp1,"",0),$L); 89 &mov(&DWP(0,$tmp1,"",0),$R); 97 &mov( $tmp4, &DWP(&n2a($i*4),$P,"",0)); # for next round 111 &mov( $tmp1, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4)) [all...] |
/external/openssl/crypto/modes/asm/ |
ghash-x86.pl | 138 &mov ($Zhh,&DWP(4,$Htbl,$Zll)); 139 &mov ($Zhl,&DWP(0,$Htbl,$Zll)); 140 &mov ($Zlh,&DWP(12,$Htbl,$Zll)); 141 &mov ($Zll,&DWP(8,$Htbl,$Zll)); 161 &xor ($Zhh,&DWP($off+16,"esp",$rem,4)); 170 &xor ($Zll,&DWP(8,$Htbl,$rem)); 171 &xor ($Zlh,&DWP(12,$Htbl,$rem)); 172 &xor ($Zhl,&DWP(0,$Htbl,$rem)); 173 &xor ($Zhh,&DWP(4,$Htbl,$rem)); 192 &xor ($Zhh,&DWP($off+16,"esp",$rem,4)) [all...] |
/external/openssl/crypto/md5/asm/ |
md5-586.pl | 48 &mov($tmp2,&DWP($xo[$ki]*4,$K,"",0)) if $pos < 0; # very first one 56 &lea($a,&DWP($t,$a,$tmp2,1)); 66 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); 77 &lea($a,&DWP($t,$a,$tmp2,1)); 82 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); 108 &lea($a,&DWP($t,$a,$tmp2,1)); 114 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)); 123 &lea($a,&DWP($t,$a,$tmp2,1)); 129 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); 151 &lea($a,&DWP($t,$a,$tmp2,1)) [all...] |