From 7b6c15ef62b8b0e4552f586184f4e90bf07d3c23 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 12 Mar 2017 15:32:59 +0100 Subject: [PATCH] poly1305/asm/poly1305-armv8.pl: ilp32-specific poly1305_init fix. Reviewed-by: Rich Salz (cherry picked from commit a25cef89fdf40c738f7e7a456f285217dc41fd6b) --- crypto/poly1305/asm/poly1305-armv8.pl | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.25.1