aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rc5/asm/rc5-586.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:49:09 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commitac9888e5a9cc7b581323614c615b669f655512a1 (patch)
tree7dfec0c8aff9bb50d00db1d6bd401055316e3c13 /crypto/rc5/asm/rc5-586.pl
parentfe7f8263afc2ad906ac9b834ae6dc7a2ed25c6b7 (diff)
downloadopenssl-ac9888e5a9cc7b581323614c615b669f655512a1.tar.gz
Unified - adapt the generation of rc5 assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/rc5/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/rc5/asm/rc5-586.pl')
-rw-r--r--crypto/rc5/asm/rc5-586.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/rc5/asm/rc5-586.pl b/crypto/rc5/asm/rc5-586.pl
index 61ac6effc6..a0d85f2ba9 100644
--- a/crypto/rc5/asm/rc5-586.pl
+++ b/crypto/rc5/asm/rc5-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],"rc5-586.pl");
$RC5_MAX_ROUNDS=16;
@@ -22,6 +25,8 @@ $tmp4="edx";
&cbc("RC5_32_cbc_encrypt","RC5_32_encrypt","RC5_32_decrypt",0,4,5,3,-1,-1);
&asm_finish();
+close STDOUT;
+
sub RC5_32_encrypt
{
local($name,$enc)=@_;