summaryrefslogtreecommitdiffstats
path: root/crypto/modes/asm/ghash-armv4.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-07-08 15:03:42 +0000
committerAndy Polyakov <appro@openssl.org>2010-07-08 15:03:42 +0000
commit396df7311e599e6fa0d6500e644194e57cd655d2 (patch)
tree5d251cba48c519505eda00b59c65a85f28ff55d2 /crypto/modes/asm/ghash-armv4.pl
parentf04f3873f87d7b181913b2c423f44278792195d9 (diff)
crypto/*/Makefile: unify "catch-all" assembler make rules and harmonize
ARM assembler modules.
Diffstat (limited to 'crypto/modes/asm/ghash-armv4.pl')
-rw-r--r--crypto/modes/asm/ghash-armv4.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl
index 5385d39d5b..45d79b6000 100644
--- a/crypto/modes/asm/ghash-armv4.pl
+++ b/crypto/modes/asm/ghash-armv4.pl
@@ -39,6 +39,9 @@
# *native* byte order on current platform. See gcm128.c for working
# example...
+while (($output=shift) && ($output!~/^\w[\w\-]*\.\w+$/)) {}
+open STDOUT,">$output";
+
$Xi="r0"; # argument block
$Htbl="r1";
$inp="r2";
@@ -59,9 +62,6 @@ $nhi="r14";
$rem_4bit=$inp; # used in gcm_gmult_4bit
$cnt=$len;
-$output=shift;
-open STDOUT,">$output";
-
sub Zsmash() {
my $i=12;
my @args=@_;