From: Andy Polyakov Date: Sun, 12 Mar 2017 14:32:59 +0000 (+0100) Subject: poly1305/asm/poly1305-armv8.pl: ilp32-specific poly1305_init fix. X-Git-Tag: OpenSSL_1_1_0f~153 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b6c15ef62b8b0e4552f586184f4e90bf07d3c23;p=oweals%2Fopenssl.git poly1305/asm/poly1305-armv8.pl: ilp32-specific poly1305_init fix. Reviewed-by: Rich Salz (cherry picked from commit a25cef89fdf40c738f7e7a456f285217dc41fd6b) --- 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: