From 1398093d14a6b1b4064f3dd5513ec67c38683193 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 21 May 2017 17:46:31 +0200 Subject: chacha20poly1305: move constants to rodata Signed-off-by: Jason A. Donenfeld --- src/crypto/poly1305-sse2-x86_64.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/crypto/poly1305-sse2-x86_64.S') 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 -.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 -- cgit v1.2.3