summaryrefslogtreecommitdiff
path: root/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
diff options
context:
space:
mode:
Diffstat (limited to 'linux-x86_64/crypto/fipsmodule/rsaz-avx2.S')
-rw-r--r--linux-x86_64/crypto/fipsmodule/rsaz-avx2.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S b/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
index e6db7f6e..8dd5137e 100644
--- a/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
+++ b/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
@@ -1,4 +1,13 @@
+#if defined(__has_feature)
+#if __has_feature(memory_sanitizer) && !defined(OPENSSL_NO_ASM)
+#define OPENSSL_NO_ASM
+#endif
+#endif
+
#if defined(__x86_64__) && !defined(OPENSSL_NO_ASM)
+#if defined(BORINGSSL_PREFIX)
+#include <boringssl_prefix_symbols_asm.h>
+#endif
.text
.globl rsaz_1024_sqr_avx2