diff options
author | Andy Polyakov <appro@openssl.org> | 2014-06-06 20:50:43 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-06-10 23:34:53 +0200 |
commit | a00caa0257825f68d95cf655fe1b74976dd71177 (patch) | |
tree | 7352ffbd2640b2d1eb476372665ea5cafa1a9430 /crypto | |
parent | 4672acfa7d56a38daef2415ec2c5bc5e1f00f49e (diff) |
sha[1|512]-armv8.pl: get instruction endianness right.
Submitted by: Ard Biesheuvel.
(cherry picked from commit cd91fd7c32428c0deb503f19b8061e0980476876)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/sha/asm/sha1-armv8.pl | 2 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-armv8.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/asm/sha1-armv8.pl b/crypto/sha/asm/sha1-armv8.pl index 8453297da2..c1f552b6b3 100644 --- a/crypto/sha/asm/sha1-armv8.pl +++ b/crypto/sha/asm/sha1-armv8.pl @@ -312,7 +312,7 @@ ___ $arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o && - sprintf ".long\t0x%08x\t//%s %s", + sprintf ".inst\t0x%08x\t//%s %s", $opcode{$mnemonic}|$1|($2<<5)|($3<<16), $mnemonic,$arg; } diff --git a/crypto/sha/asm/sha512-armv8.pl b/crypto/sha/asm/sha512-armv8.pl index ca0ee4e745..6935ed6521 100644 --- a/crypto/sha/asm/sha512-armv8.pl +++ b/crypto/sha/asm/sha512-armv8.pl @@ -393,7 +393,7 @@ ___ $arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o && - sprintf ".long\t0x%08x\t//%s %s", + sprintf ".inst\t0x%08x\t//%s %s", $opcode{$mnemonic}|$1|($2<<5)|($3<<16), $mnemonic,$arg; } |