From 577583519b147ec60e8e241ee12471c2a9c53183 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 12 Feb 2016 11:28:22 +0100 Subject: [PATCH] ec/asm/ecp_nistz256-armv8.pl: fix test_ssl spurious errors. RT#4237 Reviewed-by: Matt Caswell --- crypto/ec/asm/ecp_nistz256-armv8.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/ec/asm/ecp_nistz256-armv8.pl b/crypto/ec/asm/ecp_nistz256-armv8.pl index 9d1bce1460..ce6b69e8da 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 -- 2.25.1