s390x asm pack: fix typos.
authorAndy Polyakov <appro@openssl.org>
Thu, 12 Apr 2012 06:46:49 +0000 (06:46 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 12 Apr 2012 06:46:49 +0000 (06:46 +0000)
crypto/modes/asm/ghash-s390x.pl
crypto/rc4/asm/rc4-s390x.pl

index 48cb08d3383b60da6a61313e2fdf603f61de3ca3..6a40d5d89c0cd25ca6e884746f58b25ccf726bba 100644 (file)
@@ -138,7 +138,7 @@ $code.=<<___ if(!$softonly);
 .align 32
 .Lsoft_ghash:
 ___
-$cdoe.=<<___ if ($flavour =~ /3[12]/);
+$code.=<<___ if ($flavour =~ /3[12]/);
        llgfr   $len,$len
 ___
 $code.=<<___;
index 1aa754820c64e905cf75956c27aff6866e172dae..7528ece13c308eb7d17a3ff2b39e5f9741dcf7cf 100644 (file)
@@ -171,10 +171,10 @@ $ikey="%r7";
 $iinp="%r8";
 
 $code.=<<___;
-.globl RC4_set_key
-.type  RC4_set_key,\@function
+.globl private_RC4_set_key
+.type  private_RC4_set_key,\@function
 .align 64
-RC4_set_key:
+private_RC4_set_key:
        stm${g} %r6,%r8,6*$SIZE_T($sp)
        lhi     $cnt,256
        la      $idx,0(%r0)
@@ -210,7 +210,7 @@ RC4_set_key:
 .Ldone:
        lm${g}  %r6,%r8,6*$SIZE_T($sp)
        br      $rp
-.size  RC4_set_key,.-RC4_set_key
+.size  private_RC4_set_key,.-private_RC4_set_key
 
 ___
 }