aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/poly1305-sse2-x86_64.S
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-21 17:46:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-21 17:46:31 +0200
commitb02dee146bfe6d750afa11a76cef006ed1fb9f1d (patch)
tree2b883cd29035c01416404abbd5aa79be0de4d394 /src/crypto/poly1305-sse2-x86_64.S
parentwg-quick: use src routing for default routes in v6 (diff)
downloadwireguard-monolithic-historical-b02dee146bfe6d750afa11a76cef006ed1fb9f1d.tar.xz
wireguard-monolithic-historical-b02dee146bfe6d750afa11a76cef006ed1fb9f1d.zip
chacha20poly1305: move constants to rodata
Diffstat (limited to 'src/crypto/poly1305-sse2-x86_64.S')
-rw-r--r--src/crypto/poly1305-sse2-x86_64.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crypto/poly1305-sse2-x86_64.S b/src/crypto/poly1305-sse2-x86_64.S
index 97fa41f..2a3a4e6 100644
--- a/src/crypto/poly1305-sse2-x86_64.S
+++ b/src/crypto/poly1305-sse2-x86_64.S
@@ -11,10 +11,11 @@
#include <linux/linkage.h>
-.data
+.section .rodata.cst16.ANMASK, "aM", @progbits, 16
.align 16
-
ANMASK: .octa 0x0000000003ffffff0000000003ffffff
+.section .rodata.cst16.ORMASK, "aM", @progbits, 16
+.align 16
ORMASK: .octa 0x00000000010000000000000001000000
.text