diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:49:34 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 11:09:26 +0100 |
commit | fe7f8263afc2ad906ac9b834ae6dc7a2ed25c6b7 (patch) | |
tree | cdd2c2d33d13fd4be1840ce238e0e61bced5f9f9 /crypto/ripemd/asm/rmd-586.pl | |
parent | Unified - adapt the generation of md5 assembler to use GENERATE (diff) | |
download | openssl-fe7f8263afc2ad906ac9b834ae6dc7a2ed25c6b7.tar.xz openssl-fe7f8263afc2ad906ac9b834ae6dc7a2ed25c6b7.zip |
Unified - adapt the generation of ripemd assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/ripemd/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: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/ripemd/asm/rmd-586.pl')
-rw-r--r-- | crypto/ripemd/asm/rmd-586.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ripemd/asm/rmd-586.pl b/crypto/ripemd/asm/rmd-586.pl index e8b2bc2db2..fd32a73606 100644 --- a/crypto/ripemd/asm/rmd-586.pl +++ b/crypto/ripemd/asm/rmd-586.pl @@ -9,6 +9,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; +$output=pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],$0); $A="ecx"; @@ -60,6 +63,8 @@ $KR3=0x7A6D76E9; &ripemd160_block("ripemd160_block_asm_data_order"); &asm_finish(); +close STDOUT; + sub Xv { local($n)=@_; |