diff options
Diffstat (limited to 'crypto/bf/asm/bf-586.pl')
-rw-r--r-- | crypto/bf/asm/bf-586.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bf/asm/bf-586.pl b/crypto/bf/asm/bf-586.pl index b74cfbafd4..319a638754 100644 --- a/crypto/bf/asm/bf-586.pl +++ b/crypto/bf/asm/bf-586.pl @@ -5,6 +5,9 @@ push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; require "cbc.pl"; +$output = pop; +open STDOUT,">$output"; + &asm_init($ARGV[0],"bf-586.pl",$ARGV[$#ARGV] eq "386"); $BF_ROUNDS=16; @@ -22,6 +25,8 @@ $tmp4="edx"; &cbc("BF_cbc_encrypt","BF_encrypt","BF_decrypt",1,4,5,3,-1,-1); &asm_finish(); +close STDOUT; + sub BF_encrypt { local($name,$enc)=@_; |