Skip to content

Commit

Permalink
Fix typos in wp-mmx.pl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Polyakov committed Nov 30, 2005
1 parent c173d09 commit a3344c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crypto/whrlpool/asm/wp-mmx.pl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#
# (*) I've sketched even non-MMX assembler, but for the record
# I've failed to beat the Intel compiler on P4, without using
* MMX that is...
# MMX that is...
# (**) ... on AMD on the other hand non-MMX assembler was observed
# to perform significantly better, but I figured this MMX
# implementation is even faster anyway, so why bother? As for
Expand Down Expand Up @@ -106,9 +106,9 @@ ()

for($i=0;$i<8;$i++) { &movq(@mm[$i],&QWP($i*8,"esi")); } # L=H
&set_label("outerloop");
for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=H
for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=L
for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"edi")); } # L^=inp
for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } #S=L
for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } # S=L

&xor ("esi","esi");
&mov (&DWP(12,"ebx"),"esi"); # zero round counter
Expand Down

0 comments on commit a3344c8

Please sign in to comment.