The branch master has been updated
       via  32bbb62ea634239e7cb91d6450ba23517082bab6 (commit)
      from  657a43f6629cf5296a55731af5fd80f6602679cf (commit)


- Log -----------------------------------------------------------------
commit 32bbb62ea634239e7cb91d6450ba23517082bab6
Author: Andy Polyakov <ap...@openssl.org>
Date:   Sun Nov 13 22:32:09 2016 +0100

    sha/asm/sha512-armv8.pl: fix big-endian support in __KERNEL__ case.
    
    In non-__KERNEL__ context 32-bit-style __ARMEB__/__ARMEL__ macros were
    set in arm_arch.h, which is shared between 32- and 64-bit builds. Since
    it's not included in __KERNEL__ case, we have to adhere to official
    64-bit pre-defines, __AARCH64EB__/__AARCH64EL__.
    
    [If we are to share more code, it would need similar adjustment.]
    
    Reviewed-by: Rich Salz <rs...@openssl.org>
    Reviewed-by: Richard Levitte <levi...@openssl.org>

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

Summary of changes:
 crypto/sha/asm/sha512-armv8.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/sha/asm/sha512-armv8.pl b/crypto/sha/asm/sha512-armv8.pl
index ffae5f2..c55efb3 100644
--- a/crypto/sha/asm/sha512-armv8.pl
+++ b/crypto/sha/asm/sha512-armv8.pl
@@ -102,7 +102,7 @@ my 
($T0,$T1,$T2)=(@X[($i-8)&15],@X[($i-9)&15],@X[($i-10)&15]);
    $T0=@X[$i+3] if ($i<11);
 
 $code.=<<___   if ($i<16);
-#ifndef        __ARMEB__
+#ifndef        __AARCH64EB__
        rev     @X[$i],@X[$i]                   // $i
 #endif
 ___
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to