diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:41:33 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-07 18:25:56 +0100 |
commit | 6bd7a4d96c47068c63cbd2ca93f501816dc453c1 (patch) | |
tree | 8f47004988a5aff04383e5aadf0e9723dccc6c5e /crypto/bn/asm/ia64-mont.pl | |
parent | 8a67946e5bf1cd0fe0020e0f28cbf84642ec4132 (diff) |
Unified - adapt the generation of bignum assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/bn/build.info.
This also moves the assembler generating perl scripts to take the
output file name as last command line argument, where necessary.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/asm/ia64-mont.pl')
-rw-r--r-- | crypto/bn/asm/ia64-mont.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/asm/ia64-mont.pl b/crypto/bn/asm/ia64-mont.pl index e258658428..710ca3c1f4 100644 --- a/crypto/bn/asm/ia64-mont.pl +++ b/crypto/bn/asm/ia64-mont.pl @@ -60,6 +60,8 @@ # hereafter less for longer keys, while verify - by 74-13%. # DSA performance improves by 115-30%. +$output=pop; + if ($^O eq "hpux") { $ADDP="addp4"; for (@ARGV) { $ADDP="add" if (/[\+DD|\-mlp]64/); } @@ -846,6 +848,6 @@ copyright: stringz "Montgomery multiplication for IA-64, CRYPTOGAMS by <appro\@openssl.org>" ___ -$output=shift and open STDOUT,">$output"; +open STDOUT,">$output" if $output; print $code; close STDOUT; |