diff options
author | Andy Polyakov <appro@openssl.org> | 2010-07-08 15:03:42 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-07-08 15:03:42 +0000 |
commit | 396df7311e599e6fa0d6500e644194e57cd655d2 (patch) | |
tree | 5d251cba48c519505eda00b59c65a85f28ff55d2 /crypto/sha/asm | |
parent | f04f3873f87d7b181913b2c423f44278792195d9 (diff) |
crypto/*/Makefile: unify "catch-all" assembler make rules and harmonize
ARM assembler modules.
Diffstat (limited to 'crypto/sha/asm')
-rw-r--r-- | crypto/sha/asm/sha1-armv4-large.pl | 2 | ||||
-rw-r--r-- | crypto/sha/asm/sha256-armv4.pl | 2 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-armv4.pl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/asm/sha1-armv4-large.pl b/crypto/sha/asm/sha1-armv4-large.pl index c85fdb261e..4a3b3d5e6f 100644 --- a/crypto/sha/asm/sha1-armv4-large.pl +++ b/crypto/sha/asm/sha1-armv4-large.pl @@ -39,7 +39,7 @@ # small and always slower. # [***] which is also ~35% better than compiler generated code. -$output=shift; +while (($output=shift) && ($output!~/^\w[\w\-]*\.\w+$/)) {} open STDOUT,">$output"; $ctx="r0"; diff --git a/crypto/sha/asm/sha256-armv4.pl b/crypto/sha/asm/sha256-armv4.pl index 48d846deec..db87434f91 100644 --- a/crypto/sha/asm/sha256-armv4.pl +++ b/crypto/sha/asm/sha256-armv4.pl @@ -13,7 +13,7 @@ # lute" terms is ~2250 cycles per 64-byte block or ~35 cycles per # byte. -$output=shift; +while (($output=shift) && ($output!~/^\w[\w\-]*\.\w+$/)) {} open STDOUT,">$output"; $ctx="r0"; $t0="r0"; diff --git a/crypto/sha/asm/sha512-armv4.pl b/crypto/sha/asm/sha512-armv4.pl index 4fbb94a914..7d27f0b78d 100644 --- a/crypto/sha/asm/sha512-armv4.pl +++ b/crypto/sha/asm/sha512-armv4.pl @@ -22,7 +22,7 @@ $hi=0; $lo=4; # ==================================================================== -$output=shift; +while (($output=shift) && ($output!~/^\w[\w\-]*\.\w+$/)) {} open STDOUT,">$output"; $ctx="r0"; |