summaryrefslogtreecommitdiffstats
path: root/crypto/sm3
diff options
context:
space:
mode:
authorEvgeny Karpov <eukarpov@gmail.com>2023-08-07 14:28:20 +0200
committerTomas Mraz <tomas@openssl.org>2023-10-10 15:37:41 +0200
commit636ee1d0b864f29a70573a4894958958e940c01e (patch)
tree25259c1d4acdc3223eae9b74c1a9dd98c73eff7c /crypto/sm3
parent2b8d81534479b161dda063477272363fb2caef08 (diff)
* Enable extra Arm64 optimization on Windows for GHASH, RAND and AES
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21673)
Diffstat (limited to 'crypto/sm3')
-rw-r--r--crypto/sm3/sm3_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sm3/sm3_local.h b/crypto/sm3/sm3_local.h
index cb5a187a12..18e10890eb 100644
--- a/crypto/sm3/sm3_local.h
+++ b/crypto/sm3/sm3_local.h
@@ -34,7 +34,7 @@
} while (0)
#if defined(OPENSSL_SM3_ASM)
-# if defined(__aarch64__)
+# if defined(__aarch64__) || defined(_M_ARM64)
# include "crypto/arm_arch.h"
# define HWSM3_CAPABLE (OPENSSL_armcap_P & ARMV8_SM3)
void ossl_hwsm3_block_data_order(SM3_CTX *c, const void *p, size_t num);