diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:45:39 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 11:09:26 +0100 |
commit | db1983980b1a8978f65ce631aae48b5769a803c6 (patch) | |
tree | 46350f5b49b2701ef3d66c7180016367342680c6 /crypto/cast/asm | |
parent | df0cb57ca3528ed0dd5ba47e77d724dc761a454d (diff) |
Unified - adapt the generation of cast assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/cast/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/cast/asm')
-rw-r--r-- | crypto/cast/asm/cast-586.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/cast/asm/cast-586.pl b/crypto/cast/asm/cast-586.pl index ec2eab179d..267d69976d 100644 --- a/crypto/cast/asm/cast-586.pl +++ b/crypto/cast/asm/cast-586.pl @@ -11,6 +11,9 @@ push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; require "cbc.pl"; +$output=pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],"cast-586.pl",$ARGV[$#ARGV] eq "386"); $CAST_ROUNDS=16; @@ -36,6 +39,8 @@ $S4="CAST_S_table3"; &asm_finish(); +close STDOUT; + sub CAST_encrypt { local($name,$enc)=@_; |