[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Andy Polyakov appro at openssl.org
Sat Feb 27 20:36:05 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  a3762a92d6222bf50bb45178999cbcf31d57da5e (commit)
      from  5361af815d1cf6510202bb0ff32fa98af50e1ba7 (commit)


- Log -----------------------------------------------------------------
commit a3762a92d6222bf50bb45178999cbcf31d57da5e
Author: Andy Polyakov <appro at openssl.org>
Date:   Wed Feb 24 20:07:06 2016 +0100

    modes/asm/ghash-x86_64.pl: refine GNU assembler version detection.
    
    Even though AVX support was added in GAS 2.19 vpclmulqdq was apparently
    added in 2.20.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit d3cdab17362b9ab0f1a0525b736c862937a9cd2f)

-----------------------------------------------------------------------

Summary of changes:
 crypto/modes/asm/aesni-gcm-x86_64.pl | 2 +-
 crypto/modes/asm/ghash-x86_64.pl     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/modes/asm/aesni-gcm-x86_64.pl b/crypto/modes/asm/aesni-gcm-x86_64.pl
index fc7710f..980cfd2 100644
--- a/crypto/modes/asm/aesni-gcm-x86_64.pl
+++ b/crypto/modes/asm/aesni-gcm-x86_64.pl
@@ -43,7 +43,7 @@ die "can't locate x86_64-xlate.pl";
 
 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
 		=~ /GNU assembler version ([2-9]\.[0-9]+)/) {
-	$avx = ($1>=2.19) + ($1>=2.22);
+	$avx = ($1>=2.20) + ($1>=2.22);
 }
 
 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) &&
diff --git a/crypto/modes/asm/ghash-x86_64.pl b/crypto/modes/asm/ghash-x86_64.pl
index 4ff2d39..f889f20 100644
--- a/crypto/modes/asm/ghash-x86_64.pl
+++ b/crypto/modes/asm/ghash-x86_64.pl
@@ -92,7 +92,7 @@ die "can't locate x86_64-xlate.pl";
 
 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
 		=~ /GNU assembler version ([2-9]\.[0-9]+)/) {
-	$avx = ($1>=2.19) + ($1>=2.22);
+	$avx = ($1>=2.20) + ($1>=2.22);
 }
 
 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) &&


More information about the openssl-commits mailing list