[openssl-dev] [openssl.org #4237] Failed self-tests on AARCH64 (ARM64)

Andy Polyakov via RT rt at openssl.org
Thu Feb 11 20:46:34 UTC 2016


Hi,

> $ uname -a
> Linux hikey 3.18.0-linaro-hikey #1 SMP PREEMPT Mon Nov 30 00:11:03 UTC
> 2015 aarch64 GNU/Linux
> 
> $ make test
> ...
> ../test/recipes/80-test_dane.t ............ ok
> ../test/recipes/80-test_ocsp.t ............ ok
> ../test/recipes/80-test_ssl.t ............. 1/43
>     #   Failed test 'test sslv3 with client authentication via BIO pair'
>     #   at ../test/recipes/80-test_ssl.t line 345.
>     # Looks like you failed 1 test of 27.

Double-check attached patch and report back, please. Cheers.



-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4237
Please log in as guest with password guest if prompted

-------------- next part --------------
diff --git a/crypto/ec/asm/ecp_nistz256-armv8.pl b/crypto/ec/asm/ecp_nistz256-armv8.pl
index 9d1bce1..ce6b69e 100644
--- a/crypto/ec/asm/ecp_nistz256-armv8.pl
+++ b/crypto/ec/asm/ecp_nistz256-armv8.pl
@@ -1289,6 +1289,9 @@ $code.=<<___;
 	stp	$acc0,$acc1,[$rp_real,#$i]
 	stp	$acc2,$acc3,[$rp_real,#$i+16]
 ___
+$code.=<<___	if ($i == 0);
+	adr	$bp_real,.Lone_mont-64
+___
 }
 $code.=<<___;
 	ldp	$acc0,$acc1,[$ap_real,#$i]	// in1


More information about the openssl-dev mailing list