summaryrefslogtreecommitdiffhomepage
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
commit1398093d14a6b1b4064f3dd5513ec67c38683193 (patch)
treec0b7a644838e3b0ded01496d597b418fcc6a1514 /src/crypto/poly1305-sse2-x86_64.S
parent1426d5b77c08af0d72a6a46d8e9226c4c4f7a505 (diff)
chacha20poly1305: move constants to rodata
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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