summaryrefslogtreecommitdiffstats
path: root/crypto/poly1305/asm/poly1305-c64xplus.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-07 15:48:25 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-09 11:09:26 +0100
commit3aa3af68a52ed8e6fba9c5a7659943714593ac88 (patch)
treecb079d2a09a2cd24dcb1110a45bbef10827cdfd6 /crypto/poly1305/asm/poly1305-c64xplus.pl
parent6d33da3487143023b176ebe8164cf05df6f5fbf6 (diff)
Unified - adapt the generation of poly1305 assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/poly1305/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/poly1305/asm/poly1305-c64xplus.pl')
-rwxr-xr-xcrypto/poly1305/asm/poly1305-c64xplus.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/poly1305/asm/poly1305-c64xplus.pl b/crypto/poly1305/asm/poly1305-c64xplus.pl
index fc765e14fe..f750a6e5eb 100755
--- a/crypto/poly1305/asm/poly1305-c64xplus.pl
+++ b/crypto/poly1305/asm/poly1305-c64xplus.pl
@@ -19,6 +19,9 @@
# time dependent on input length. This module on the other hand is free
# from such limitation.
+$output=pop;
+open STDOUT,">$output";
+
($CTXA,$INPB,$LEN,$PADBIT)=("A4","B4","A6","B6");
($H0,$H1,$H2,$H3,$H4,$H4a)=("A8","B8","A10","B10","B2",$LEN);
($D0,$D1,$D2,$D3)= ("A9","B9","A11","B11");