Make a few more asm modules conform: last argument is output file
authorRichard Levitte <levitte@openssl.org>
Sat, 10 Feb 2018 07:47:51 +0000 (08:47 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 8 Mar 2018 18:31:41 +0000 (19:31 +0100)
Fixes #5310

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5315)

crypto/rc4/asm/rc4-c64xplus.pl
crypto/sha/asm/keccak1600-armv4.pl
crypto/sha/asm/keccak1600-avx2.pl
crypto/sha/asm/keccak1600-avx512.pl
crypto/sha/asm/keccak1600-avx512vl.pl
crypto/sha/asm/keccak1600-c64x.pl

index 9f282fe45e55f1f741098904aa7f6ec4ee341abf..8aa3fc4ce8b09fc4c88f5cb97da674e8bc3eb5f9 100644 (file)
@@ -186,5 +186,7 @@ rc4_options:
        .align  4
 ___
 
+$output=pop;
+open STDOUT,">$output";
 print $code;
 close STDOUT;
index 16d23931342c05e447b83523de629147205d815e..a9ad3cbc3f8e0c2c766225f9ce3e1ae96a8a31e7 100755 (executable)
@@ -1573,6 +1573,9 @@ ___
     }
 }
 
+$output=pop;
+open STDOUT,">$output";
+
 foreach (split($/,$code)) {
        s/\`([^\`]*)\`/eval $1/ge;
 
index 82ca67287b84f8b596bfe8c350415606c363f329..2a63dd6cb7a8e047a1bbfa1a1773ace9bd9d1957 100755 (executable)
@@ -476,5 +476,7 @@ iotas:
 .asciz "Keccak-1600 absorb and squeeze for AVX2, CRYPTOGAMS by <appro\@openssl.org>"
 ___
 
+$output=pop;
+open STDOUT,">$output";
 print $code;
 close STDOUT;
index 6766f975514796b2aa460cb741fd7b2ba6ff2aba..bde2aa134ac85aa313718aaf1bc91080e5e010ed 100755 (executable)
@@ -545,5 +545,7 @@ iotas:
 .asciz "Keccak-1600 absorb and squeeze for AVX-512F, CRYPTOGAMS by <appro\@openssl.org>"
 ___
 
+$output=pop;
+open STDOUT,">$output";
 print $code;
 close STDOUT;
index 53f1e847d15a3ebf393f2dd7aba86d7aeb7cb688..9c202fbaae4443db259d26b9f1b0498c346eaf1a 100755 (executable)
@@ -386,5 +386,7 @@ iotas:
 .asciz "Keccak-1600 absorb and squeeze for AVX512VL, CRYPTOGAMS by <appro\@openssl.org>"
 ___
 
+$output=pop;
+open STDOUT,">$output";
 print $code;
 close STDOUT;
index 585f64b7392508c399b76c4edc4f488668bd34e3..d13471fabd6b68e846846e78c696cafc271fdbcb 100755 (executable)
@@ -879,4 +879,7 @@ iotas:
        .align  4
 ___
 
+$output=pop;
+open STDOUT,">$output";
 print $code;
+close STDOUT;