/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...] |
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"); 51 &add ($T,&DWP(4*(8+15+16-9),"esp")) if ($in_16_63); # T += X[-7 [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 | 68 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi 91 &lea($f,&DWP(0x5a827999,$f,$e));# f+=K_00_19+e 118 &lea($f,&DWP($K,$f,$tmp1)); # f+=K_20_39+e 140 &lea($f,&DWP(0x8f1bbcdc,$f,$e));# f+=K_40_59+e 160 &mov($E,&DWP(16,$tmp1));# pre-load E 167 &mov($A,&DWP(4*($i+0),$T)); 168 &mov($B,&DWP(4*($i+1),$T)); 169 &mov($C,&DWP(4*($i+2),$T)); 170 &mov($D,&DWP(4*($i+3),$T)); 182 &mov($A,&DWP(0,$tmp1)); # load SHA_CT [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...] |
x86gas.pl | 70 sub ::DWP 92 sub ::QWP { &::DWP(@_); } 93 sub ::BP { &::DWP(@_); } 193 &::mov($dst,&::DWP("$indirect-$reflabel",$base)); 197 { &::lea($dst,&::DWP("_GLOBAL_OFFSET_TABLE_+[.-$reflabel]", 199 &::mov($dst,&::DWP("$sym\@GOT",$dst)); 203 { &::lea($dst,&::DWP($sym)); }
|
/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...] |
crypt586.pl | 38 #else { &lea("edx",&DWP("DES_SPtrans")); } 69 &mov(&DWP(0,"edx","",0),"eax"); 70 &mov(&DWP(4,"edx","",0),$L); 96 &mov( $tmp1, &DWP(&n2a($S*4),$trans,"",0)); # 2 98 &mov( $tmp2, &DWP(&n2a(($S+1)*4),$trans,"",0)); # 2 111 &xor( $L, &DWP(" ",$trans,$tmp1,0)); 113 &xor( $L, &DWP("0x200",$trans,$tmp2,0)); 116 &xor( $L, &DWP("0x100",$trans,$tmp1,0)); 119 &xor( $L, &DWP("0x300",$trans,$tmp2,0)); 123 &mov( $tmp1, &DWP("0x600",$trans,$tmp1,0)) [all...] |
des-586.pl | 47 &lea("edx",&DWP(128,"ecx")); 85 &lea("ecx",&DWP(128,"ecx")); 135 &mov("eax",&DWP(0,$R,"",0)); 137 &mov($L,&DWP(4,$R,"",0)); 150 &mov($R,&DWP(0,"eax","",0)); 153 &mov($L,&DWP(4,"eax","",0)); 161 &lea ($trans,&DWP(&label("DES_SPtrans")."-".&label("pic_point"),$trans)); 180 &mov(&DWP(0,"edx","",0),"eax"); 181 &mov(&DWP(4,"edx","",0),$R); 190 &mov(&DWP(0,"eax","",0),$L) [all...] |
/external/openssl/crypto/ |
x86cpuid.pl | 117 &bt (&DWP(0,"ecx"),4); 129 &bt (&DWP(0,"ecx"),4); 147 &sub ("eax",&DWP(0,"esp")); 148 &sbb ("edx",&DWP(4,"esp")); 172 &mov ("eax",&DWP(4,"esp")); 173 &mov ("ecx",&DWP(8,"esp")); 176 &mov ("edx",&DWP(0,"ecx")); 182 &cmp ("edx",&DWP(0,"ecx")); 198 &mov ("ecx",&DWP(0,"ecx")); 199 &bt (&DWP(0,"ecx"),1) [all...] |
/external/openssl/crypto/rc4/asm/ |
rc4-586.pl | 50 &mov ($ty,&DWP(0,$dat,$yy,4)); 51 &mov (&DWP(0,$dat,$yy,4),$tx); 52 &mov (&DWP(0,$dat,$xx,4),$ty); 58 &mov ($tx,&DWP(0,$dat,$xx,4)); 62 &$func ($out,&DWP(0,$dat,$ty,4)); 82 &lea ($tx,&DWP(0,$inp,$ty)); 89 &cmp (&DWP(256,$dat),-1); 92 &mov ($tx,&DWP(0,$dat,$xx,4)); 97 &lea ($ty,&DWP(-4,$inp,$ty)); 104 &xor ($out,&DWP(0,$inp)) [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...] |
/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/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...] |
/external/openssl/crypto/ripemd/asm/ |
rmd-586.pl | 135 &lea($a, &DWP($K,$a,$tmp2,1)); 155 &lea($a, &DWP($K,$a,$tmp1,1)); 162 &lea($a, &DWP($K,$a,$tmp2,1)); 186 &lea($a, &DWP($K,$a,$tmp2,1)); 202 &lea($a, &DWP($K,$a,$tmp1,1)); 226 &lea($a, &DWP($K,$a,$tmp2)); 243 &lea($a, &DWP($K,$a,$tmp2)); 274 &lea($a, &DWP($K,$a,$tmp2,1)); 290 &lea($a, &DWP($K,$a,$tmp1,1)); 315 &mov($A, &DWP( 0,$tmp2,"",0)) [all...] |