summaryrefslogtreecommitdiff
path: root/crypto/modes/asm/ghashp8-ppc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/modes/asm/ghashp8-ppc.pl')
-rwxr-xr-xcrypto/modes/asm/ghashp8-ppc.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/modes/asm/ghashp8-ppc.pl b/crypto/modes/asm/ghashp8-ppc.pl
index e76a58c..71457cf 100755
--- a/crypto/modes/asm/ghashp8-ppc.pl
+++ b/crypto/modes/asm/ghashp8-ppc.pl
@@ -118,9 +118,9 @@ $code=<<___;
le?vperm $IN,$IN,$IN,$lemask
vxor $zero,$zero,$zero
- vpmsumd $Xl,$IN,$Hl # H.lo稾i.lo
- vpmsumd $Xm,$IN,$H # H.hi稾i.lo+H.lo稾i.hi
- vpmsumd $Xh,$IN,$Hh # H.hi稾i.hi
+ vpmsumd $Xl,$IN,$Hl # H.lo路Xi.lo
+ vpmsumd $Xm,$IN,$H # H.hi路Xi.lo+H.lo路Xi.hi
+ vpmsumd $Xh,$IN,$Hh # H.hi路Xi.hi
vpmsumd $t2,$Xl,$xC2 # 1st phase
@@ -178,11 +178,11 @@ $code=<<___;
.align 5
Loop:
subic $len,$len,16
- vpmsumd $Xl,$IN,$Hl # H.lo稾i.lo
+ vpmsumd $Xl,$IN,$Hl # H.lo路Xi.lo
subfe. r0,r0,r0 # borrow?-1:0
- vpmsumd $Xm,$IN,$H # H.hi稾i.lo+H.lo稾i.hi
+ vpmsumd $Xm,$IN,$H # H.hi路Xi.lo+H.lo路Xi.hi
and r0,r0,$len
- vpmsumd $Xh,$IN,$Hh # H.hi稾i.hi
+ vpmsumd $Xh,$IN,$Hh # H.hi路Xi.hi
add $inp,$inp,r0
vpmsumd $t2,$Xl,$xC2 # 1st phase