summaryrefslogtreecommitdiffstats
path: root/crypto/poly1305/asm/poly1305-armv8.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-03-12 15:32:59 +0100
committerAndy Polyakov <appro@openssl.org>2017-03-13 18:46:11 +0100
commita25cef89fdf40c738f7e7a456f285217dc41fd6b (patch)
tree7f30ca57d198ff19b72d4d9ea11953b642c8e51d /crypto/poly1305/asm/poly1305-armv8.pl
parentcrypto/x86*cpuid.pl: move extended feature detection. (diff)
downloadopenssl-a25cef89fdf40c738f7e7a456f285217dc41fd6b.tar.xz
openssl-a25cef89fdf40c738f7e7a456f285217dc41fd6b.zip
poly1305/asm/poly1305-armv8.pl: ilp32-specific poly1305_init fix.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/poly1305/asm/poly1305-armv8.pl')
-rwxr-xr-xcrypto/poly1305/asm/poly1305-armv8.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/poly1305/asm/poly1305-armv8.pl b/crypto/poly1305/asm/poly1305-armv8.pl
index 607696cab2..0fc8667ac7 100755
--- a/crypto/poly1305/asm/poly1305-armv8.pl
+++ b/crypto/poly1305/asm/poly1305-armv8.pl
@@ -100,7 +100,11 @@ poly1305_init:
csel $d0,$d0,$r0,eq
csel $d1,$d1,$r1,eq
+#ifdef __ILP32__
+ stp w12,w13,[$len]
+#else
stp $d0,$d1,[$len]
+#endif
mov x0,#1
.Lno_key: