aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-04-20 15:13:24 +0200
committerAndy Polyakov <appro@openssl.org>2015-05-13 17:14:00 +0200
commitd38f1b39f192fb29bb667825874d25beaf73c275 (patch)
tree0a32b412a475b4c6d70207b09aa14266db9ba697 /crypto/ec
parentd11582f133bf49d47054b97a0406b13fbeecbdef (diff)
downloadopenssl-d38f1b39f192fb29bb667825874d25beaf73c275.tar.gz
bn/asm/armv8-mont.pl: boost performance.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/asm/ecp_nistz256-armv8.pl17
1 files changed, 7 insertions, 10 deletions
diff --git a/crypto/ec/asm/ecp_nistz256-armv8.pl b/crypto/ec/asm/ecp_nistz256-armv8.pl
index 1c9eb6b3fa..9d1bce1460 100644
--- a/crypto/ec/asm/ecp_nistz256-armv8.pl
+++ b/crypto/ec/asm/ecp_nistz256-armv8.pl
@@ -14,19 +14,16 @@
# Original ECP_NISTZ256 submission targeting x86_64 is detailed in
# http://eprint.iacr.org/2013/816.
#
-# with/without -DECP_NISTZ256_ASM(*)
-# Apple A7 +140-590%
-# Cortex-A53 +135-720%
-# Cortex-A57 +145-570%
-# X-Gene +120-700%
-# Denver +150-740%
-#
-# (*) comparison is not really "fair", because it's compared to C
-# implementation, unlike other similar cases that is;
+# with/without -DECP_NISTZ256_ASM
+# Apple A7 +120-360%
+# Cortex-A53 +120-400%
+# Cortex-A57 +120-350%
+# X-Gene +200-330%
+# Denver +140-400%
#
# Ranges denote minimum and maximum improvement coefficients depending
# on benchmark. Lower coefficients are for ECDSA sign, server-side
-# operation. Keep in mind that +500% means 6x improvement.
+# operation. Keep in mind that +400% means 5x improvement.
$flavour = shift;
while (($output=shift) && ($output!~/^\w[\w\-]*\.\w+$/)) {}