Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/evp Don't define the...



details:   https://anonhg.NetBSD.org/src/rev/20ea7fe844a6
branches:  trunk
changeset: 831048:20ea7fe844a6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 09 01:33:57 2018 +0000

description:
Don't define the v8 functions for v7!

diffstat:

 crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c309faef1843 -r 20ea7fe844a6 crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c
--- a/crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c       Thu Mar 08 23:27:12 2018 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c       Fri Mar 09 01:33:57 2018 +0000
@@ -981,13 +981,15 @@
 
 #if defined(OPENSSL_CPUID_OBJ) && defined(AES_ASM) && (defined(__arm__) || defined(__arm) || defined(__aarch64__))
 # include "arm_arch.h"
-# if __ARM_MAX_ARCH__>=7
+# if __ARM_MAX_ARCH__>= 7
 #  if defined(BSAES_ASM)
 #   define BSAES_CAPABLE (OPENSSL_armcap_P & ARMV7_NEON)
 #  endif
 #  if defined(VPAES_ASM)
 #   define VPAES_CAPABLE (OPENSSL_armcap_P & ARMV7_NEON)
 #  endif
+# endif
+# if __ARM_MAX_ARCH__>= 8
 #  define HWAES_CAPABLE (OPENSSL_armcap_P & ARMV8_AES)
 #  define HWAES_set_encrypt_key aes_v8_set_encrypt_key
 #  define HWAES_set_decrypt_key aes_v8_set_decrypt_key



Home | Main Index | Thread Index | Old Index