summaryrefslogtreecommitdiffstats
path: root/linux-aarch64/crypto/modes/ghashv8-armx.S
diff options
context:
space:
mode:
Diffstat (limited to 'linux-aarch64/crypto/modes/ghashv8-armx.S')
-rw-r--r--linux-aarch64/crypto/modes/ghashv8-armx.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-aarch64/crypto/modes/ghashv8-armx.S b/linux-aarch64/crypto/modes/ghashv8-armx.S
index 1bfb263..2da617f 100644
--- a/linux-aarch64/crypto/modes/ghashv8-armx.S
+++ b/linux-aarch64/crypto/modes/ghashv8-armx.S
@@ -1,7 +1,12 @@
#include "arm_arch.h"
.text
+#ifdef __clang__
+.arch armv8-a
+.arch_extension crypto
+#else
.arch armv8-a+crypto
+#endif
.global gcm_init_v8
.type gcm_init_v8,%function
.align 4