Home | History | Annotate | Download | only in asm

Lines Matching refs:tmp1

128 $tmp1="ebp";
143 if ($n==0) { &mov($tmp1,$a); }
144 else { &mov($a,$tmp1); }
145 &rotl($tmp1,5); # tmp1=ROTATE(a,5)
147 &add($tmp1,$e); # tmp1+=e;
154 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi
157 &add($f,$tmp1); } # f+=tmp1
158 else { &add($tmp1,$f); } # f becomes a in next round
159 &mov($tmp1,$a) if ($alt && $n==15);
171 &and($tmp1,$c); # tmp1 to hold F_00_19(b,c,d), b&=c^d
173 &xor($tmp1,$d); # tmp1=F_00_19(b,c,d)
176 &add($e,$tmp1); # e+=F_00_19(b,c,d)
178 &mov($tmp1,$a); # b in next round
186 &mov($tmp1,$c); # tmp1 to hold F_00_19(b,c,d)
188 &xor($tmp1,$d);
190 &and($tmp1,$b);
193 &xor($tmp1,$d); # tmp1=F_00_19(b,c,d)
194 &add($e,$tmp1); # e+=F_00_19(b,c,d)
195 &mov($tmp1,$a);
198 &rotl($tmp1,5); # ROTATE(a,5)
201 &add($f,$tmp1); # f+=ROTATE(a,5)
213 &xor($tmp1,$c); # tmp1 to hold F_20_39(b,c,d), b^=c
215 &xor($tmp1,$d); # tmp1 holds F_20_39(b,c,d)
217 &add($e,$tmp1); # e+=F_20_39(b,c,d)
220 &mov($tmp1,$a); # b in next round
225 &and($tmp1,$b) if($n==39);
231 &mov($tmp1,$b); # tmp1 to hold F_20_39(b,c,d)
233 &xor($tmp1,$c);
235 &xor($tmp1,$d); # tmp1 holds F_20_39(b,c,d)
238 &add($e,$tmp1); # e+=F_20_39(b,c,d)
240 &mov($tmp1,$a);
241 &rotl($tmp1,5); # ROTATE(a,5)
245 &add($f,$tmp1); # f+=ROTATE(a,5)
256 &add($e,$tmp1); # e+=b&(c^d)
258 &mov($tmp1,$d);
263 &and($tmp1,$c);
265 &add($e,$tmp1); # e+=c&d
266 &mov($tmp1,$a); # b in next round
270 &and($tmp1,$b) if ($n<59);# tmp1 to hold F_40_59(b,c,d)
275 &mov($tmp1,$c); # tmp1 to hold F_40_59(b,c,d)
277 &xor($tmp1,$d);
279 &and($tmp1,$b);
282 &add($tmp1,$e); # b&(c^d)+=e
287 &lea($f,&DWP(0x8f1bbcdc,$f,$tmp1));# f+=K_40_59+e+(b&(c^d))
288 &mov($tmp1,$c);
290 &and($tmp1,$d);
292 &add($f,$tmp1); # f+=c&d
304 &blindpop($tmp1);
305 &picmeup($T,"OPENSSL_ia32cap_P",$tmp1,&label("pic_point"));
306 &lea ($tmp1,&DWP(&label("K_XX_XX")."-".&label("pic_point"),$tmp1));
324 &mov($tmp1,&wparam(0)); # SHA_CTX *c
331 &mov($E,&DWP(16,$tmp1));# pre-load E
354 &mov($A,&DWP(0,$tmp1)); # load SHA_CTX
355 &mov($B,&DWP(4,$tmp1));
356 &mov($C,&DWP(8,$tmp1));
357 &mov($D,&DWP(12,$tmp1));
368 &mov($tmp1,&wparam(0)); # re-load SHA_CTX*
371 &add($E,&DWP(0,$tmp1)); # E is last "A"...
372 &add($T,&DWP(4,$tmp1));
373 &add($A,&DWP(8,$tmp1));
374 &add($B,&DWP(12,$tmp1));
375 &add($C,&DWP(16,$tmp1));
377 &mov(&DWP(0,$tmp1),$E); # update SHA_CTX
379 &mov(&DWP(4,$tmp1),$T);
381 &mov(&DWP(8,$tmp1),$A);
383 &mov(&DWP(12,$tmp1),$B);
385 &mov(&DWP(16,$tmp1),$C);
419 my @T=($T,$tmp1);
428 &blindpop($tmp1);
429 &lea ($tmp1,&DWP(&label("K_XX_XX")."-".&label("pic_point"),$tmp1));
432 &movdqa (@X[3],&QWP(0,$tmp1)); # K_00_19
433 &movdqa (@X[4],&QWP(16,$tmp1)); # K_20_39
434 &movdqa (@X[5],&QWP(32,$tmp1)); # K_40_59
435 &movdqa (@X[6],&QWP(48,$tmp1)); # K_60_79
436 &movdqa (@X[2],&QWP(64,$tmp1)); # pbswap mask
861 my @T=($T,$tmp1);
870 &blindpop($tmp1);
871 &lea ($tmp1,&DWP(&label("K_XX_XX")."-".&label("pic_point"),$tmp1));
875 &vmovdqa(@X[3],&QWP(0,$tmp1)); # K_00_19
876 &vmovdqa(@X[4],&QWP(16,$tmp1)); # K_20_39
877 &vmovdqa(@X[5],&QWP(32,$tmp1)); # K_40_59
878 &vmovdqa(@X[6],&QWP(48,$tmp1)); # K_60_79
879 &vmovdqa(@X[2],&QWP(64,$tmp1)); # pbswap mask