diff options
author | Andy Polyakov <appro@openssl.org> | 2017-03-12 15:32:59 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-03-13 18:46:11 +0100 |
commit | a25cef89fdf40c738f7e7a456f285217dc41fd6b (patch) | |
tree | 7f30ca57d198ff19b72d4d9ea11953b642c8e51d /crypto/poly1305/asm/poly1305-armv8.pl | |
parent | crypto/x86*cpuid.pl: move extended feature detection. (diff) | |
download | openssl-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-x | crypto/poly1305/asm/poly1305-armv8.pl | 4 |
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: |