aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/asm/des-586.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:46:42 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commit6d33da3487143023b176ebe8164cf05df6f5fbf6 (patch)
tree0b18492857b715fa53a9898946f07d338b63132b /crypto/des/asm/des-586.pl
parent73d2fb66efdb63d419f0663b3f41b7db4b14fcd3 (diff)
downloadopenssl-6d33da3487143023b176ebe8164cf05df6f5fbf6.tar.gz
Unified - adapt the generation of des assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/des/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/des/asm/des-586.pl')
-rw-r--r--crypto/des/asm/des-586.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/des/asm/des-586.pl b/crypto/des/asm/des-586.pl
index bd6a7dd6b7..e56eae47dd 100644
--- a/crypto/des/asm/des-586.pl
+++ b/crypto/des/asm/des-586.pl
@@ -15,6 +15,9 @@ require "desboth.pl";
# format.
#
+$output=pop;
+open STDOUT,">$output";
+
&asm_init($ARGV[0],"des-586.pl");
$L="edi";
@@ -39,6 +42,8 @@ $small_footprint=1 if (grep(/\-DOPENSSL_SMALL_FOOTPRINT/,@ARGV));
&asm_finish();
+close STDOUT;
+
sub DES_encrypt_internal()
{
&function_begin_B("_x86_DES_encrypt");