diff options
Diffstat (limited to 'libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S')
-rw-r--r-- | libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S b/libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S index 9ecea1b088..0406b29da9 100644 --- a/libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S +++ b/libs/libsodium/src/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S @@ -1,5 +1,8 @@ #ifdef HAVE_AMD64_ASM
+#include "private/asm_cet.h"
+#include "salsa20_xmm6-asm_namespace.h"
+
.text
.p2align 5
@@ -15,6 +18,8 @@ ASM_HIDE_SYMBOL _stream_salsa20_xmm6 #endif
stream_salsa20_xmm6:
_stream_salsa20_xmm6:
+
+_CET_ENDBR
mov %rsp,%r11
and $31,%r11
add $512,%r11
@@ -56,6 +61,7 @@ ASM_HIDE_SYMBOL _stream_salsa20_xmm6_xor_ic stream_salsa20_xmm6_xor_ic:
_stream_salsa20_xmm6_xor_ic:
+_CET_ENDBR
mov %rsp,%r11
and $31,%r11
add $512,%r11
|