Files
libpqcrypto/libpqcrypto-gnu-stack.patch

740 lines
33 KiB
Diff

Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/armv6/32/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/armv6/32/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/armv6/32/poly1305.S
@@ -340,3 +340,4 @@ ldmfd sp!, {r4-r8, lr}
bx lr
FN_END poly1305_auth_armv6
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx/32/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/avx/32/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx/32/poly1305.S
@@ -1073,3 +1073,4 @@ popl %esi
ret
FN_END poly1305_init_ext_avx
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx/64/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/avx/64/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx/64/poly1305.S
@@ -870,3 +870,4 @@ popq %r14
popq %rbp
ret
FN_END poly1305_auth_avx
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx2/32/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/avx2/32/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx2/32/poly1305.S
@@ -1038,3 +1038,4 @@ popl %esi
ret
FN_END poly1305_init_ext_avx2
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx2/64/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/avx2/64/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/avx2/64/poly1305.S
@@ -1089,3 +1089,4 @@ popq %r12
ret
FN_END poly1305_init_ext_avx2
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/neon/32/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/neon/32/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/neon/32/poly1305.S
@@ -697,3 +697,5 @@ mov sp, r8
ldmfd sp!, {r4-r8, lr}
bx lr
FN_END poly1305_auth_neon
+
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/sse2/32/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/sse2/32/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/sse2/32/poly1305.S
@@ -1166,3 +1166,4 @@ movl 4(%esp), %eax
jmp poly1305_init_ext_sse2_9
FN_END poly1305_init_ext_sse2
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/sse2/64/poly1305.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/moon/sse2/64/poly1305.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/moon/sse2/64/poly1305.S
@@ -962,3 +962,4 @@ FN_END poly1305_auth_sse2
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/amd64-ssse3/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/amd64-ssse3/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/amd64-ssse3/chacha.S
@@ -1548,3 +1548,4 @@ mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/armv6/32/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/armv6/32/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/armv6/32/chacha.S
@@ -500,3 +500,4 @@ ldmfd sp!, {r4-r6, lr}
bx lr
FN_END xchacha_armv6
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/avx/32/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/avx/32/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/avx/32/chacha.S
@@ -856,3 +856,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/avx/64/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/avx/64/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/avx/64/chacha.S
@@ -620,3 +620,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/avx2/32/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/avx2/32/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/avx2/32/chacha.S
@@ -1396,3 +1396,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/avx2/64/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/avx2/64/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/avx2/64/chacha.S
@@ -1027,3 +1027,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/neon/32/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/neon/32/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/neon/32/chacha.S
@@ -895,3 +895,4 @@ ldmfd sp!, {r4-r6, lr}
bx lr
FN_END xchacha_neon
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/sse2/64/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/sse2/64/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/sse2/64/chacha.S
@@ -733,3 +733,4 @@ popq %rbp
ret
FN_END xchacha_sse2
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/ssse3/64/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/ssse3/64/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/ssse3/64/chacha.S
@@ -691,3 +691,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/xop/32/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/xop/32/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/xop/32/chacha.S
@@ -673,3 +673,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/chacha20/moon/xop/64/chacha.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/chacha20/moon/xop/64/chacha.S
+++ libpqcrypto-20180314/crypto_stream/chacha20/moon/xop/64/chacha.S
@@ -557,3 +557,4 @@ chacha_constants:
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/salsa20/amd64_xmm6/stream.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/salsa20/amd64_xmm6/stream.S
+++ libpqcrypto-20180314/crypto_stream/salsa20/amd64_xmm6/stream.S
@@ -4786,3 +4786,4 @@ add $64,%rsi
# qhasm: goto bytesbetween1and255
jmp ._bytesbetween1and255
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_stream/salsa20/x86_xmm5/stream.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_stream/salsa20/x86_xmm5/stream.S
+++ libpqcrypto-20180314/crypto_stream/salsa20/x86_xmm5/stream.S
@@ -5074,3 +5074,4 @@ add $64,%esi
# qhasm: goto bytesbetween1and255
jmp ._bytesbetween1and255
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/amd64/constants.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/amd64/constants.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/amd64/constants.S
@@ -104,3 +104,4 @@ crypto_onetimeauth_poly1305_amd64_hoffse
crypto_onetimeauth_poly1305_amd64_rounding:
.byte 0x7f
.byte 0x13
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/x86/constants.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/x86/constants.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/x86/constants.S
@@ -104,3 +104,4 @@ crypto_onetimeauth_poly1305_x86_hoffset3
crypto_onetimeauth_poly1305_x86_rounding:
.byte 0x7f
.byte 0x13
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/amd64/auth.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/amd64/auth.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/amd64/auth.S
@@ -2784,3 +2784,4 @@ add %r11,%rsp
xor %rax,%rax
xor %rdx,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/avx/auth.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/avx/auth.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/avx/auth.S
@@ -672,3 +672,4 @@ mulq %foo # (rax, rdx) := foo*rax (l,h)
K = GF(2**130-5)
R.<x> = K[]
*/
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_onetimeauth/poly1305/x86/auth.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_onetimeauth/poly1305/x86/auth.S
+++ libpqcrypto-20180314/crypto_onetimeauth/poly1305/x86/auth.S
@@ -2776,3 +2776,4 @@ movl 16(%esp),%ebp
add %eax,%esp
xor %eax,%eax
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/work_cswap.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/work_cswap.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/work_cswap.S
@@ -481,3 +481,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/work_cswap.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/work_cswap.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/work_cswap.S
@@ -385,3 +385,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/donna/asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/donna/asm.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/donna/asm.S
@@ -756,3 +756,4 @@ pop %r13
pop %rbp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/ladder_base.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/ladder_base.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/ladder_base.S
@@ -6723,3 +6723,4 @@ movq 1552(%rsp),%r13
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_sign/dilithium2/avx2/pointwise_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_sign/dilithium2/avx2/pointwise_mul.S
+++ libpqcrypto-20180314/crypto_sign/dilithium2/avx2/pointwise_mul.S
@@ -111,3 +111,4 @@ vmovdqa %ymm4,32(%rdi)
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/ladderstep.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/ladderstep.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/ladderstep.S
@@ -7193,3 +7193,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/ladderstep.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/ladderstep.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/ladderstep.S
@@ -6577,3 +6577,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/ladder.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/ladder.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/ladder.S
@@ -7486,3 +7486,4 @@ movq 1848(%rsp),%r14
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_square.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/fe25519_square.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_square.S
@@ -747,3 +747,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_square.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/fe25519_square.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_square.S
@@ -637,3 +637,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_pack.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/fe51_pack.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_pack.S
@@ -1039,3 +1039,4 @@ movq 8(%rsp),%r12
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/fe25519_mul.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_mul.S
@@ -944,3 +944,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/fe25519_mul.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_mul.S
@@ -863,3 +863,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_freeze.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/fe25519_freeze.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/fe25519_freeze.S
@@ -430,3 +430,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_freeze.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/fe25519_freeze.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/fe25519_freeze.S
@@ -320,3 +320,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_nsquare.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/fe51_nsquare.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_nsquare.S
@@ -797,3 +797,4 @@ movq 48(%rsp),%rbp
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/consts.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/consts.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/consts.S
@@ -42,3 +42,4 @@ MASK4_1: .quad 0xFFFF0000FFFF0000, 0xFFF
MASK5_0: .quad 0x00000000FFFFFFFF, 0x00000000FFFFFFFF
MASK5_1: .quad 0xFFFFFFFF00000000, 0xFFFFFFFF00000000
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/consts.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-51/consts.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-51/consts.S
@@ -19,3 +19,4 @@ _121666_213: .quad 996687872
_2P0: .quad 0xFFFFFFFFFFFDA
_2P1234: .quad 0xFFFFFFFFFFFFE
_38: .quad 38
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/consts.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/amd64-64/consts.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/amd64-64/consts.S
@@ -10,3 +10,4 @@
_121666: .quad 121666
_38: .quad 38
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/consts.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/consts.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/consts.S
@@ -63,3 +63,4 @@ subc2: .quad 0x07FFFFFE, 0x03FFFFFE
REDMASK51: .quad 0x0007FFFFFFFFFFFF
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/sandy2x/fe51_mul.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/sandy2x/fe51_mul.S
@@ -948,3 +948,4 @@ add %r11,%rsp
mov %rdi,%rax
mov %rsi,%rdx
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec_reduce_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/vec_reduce_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec_reduce_asm.S
@@ -513,3 +513,4 @@ or %rdi,%rax
# qhasm: return r
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_84_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_84_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_84_701_shufbytes.S
@@ -4654,3 +4654,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec128_mul_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/vec128_mul_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec128_mul_asm.S
@@ -1816,3 +1816,4 @@ movdqu %xmm0,0(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/sse/vec128_mul_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/sse/vec128_mul_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/sse/vec128_mul_asm.S
@@ -2127,3 +2127,4 @@ movdqu %xmm3,0(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_6_701_patience.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_6_701_patience.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_6_701_patience.S
@@ -553,3 +553,4 @@ pop %r13
pop %r14
pop %r15
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/update_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/update_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/update_asm.S
@@ -576,3 +576,4 @@ add %rdx,%rdi
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/sse/update_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/sse/update_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/sse/update_asm.S
@@ -511,3 +511,4 @@ movq %rcx,200(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_42_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_42_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_42_701_shufbytes.S
@@ -5973,3 +5973,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/cbds3.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/cbds3.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/cbds3.S
@@ -1612,3 +1612,4 @@ vpermq $216, %ymm5, %ymm6
vmovq %xmm6, 1392(%rdi)
movq $0, 1400(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_r2_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_r2_mul.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_r2_mul.S
@@ -465,3 +465,4 @@ vmovdqa %ymm2, 0(%rdi)
vmovdqa %ymm0, 32(%rdi)
vmovdqa %ymm8, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_rq_mul.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_mul.S
@@ -8456,3 +8456,4 @@ vmovdqu %ymm11, 1320(%rdi)
mov %r8, %rsp
pop %r12
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_mul_xm1.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_rq_mul_xm1.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_mul_xm1.S
@@ -276,3 +276,4 @@ vpand mask_mod8192_omit_lowest(%rip), %y
vpxor %ymm3, %ymm4, %ymm3
vmovdqa %ymm3, 0(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_to_s3.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_rq_to_s3.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_rq_to_s3.S
@@ -1191,3 +1191,4 @@ vpand %ymm15, %ymm5, %ymm14
vpxor %ymm14, %ymm0, %ymm5
vmovdqa %ymm5, 1376(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_inv.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_s3_inv.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_inv.S
@@ -5448,3 +5448,4 @@ pop %r14
pop %r13
pop %r12
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_mul.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_s3_mul.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_mul.S
@@ -901,3 +901,4 @@ vpand %ymm15, %ymm2, %ymm14
vpxor %ymm14, %ymm1, %ymm2
vmovdqa %ymm2, 1376(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.S
@@ -3117,3 +3117,4 @@ mov %rsp, %rsi
call poly_Rq_mul_xm1
mov %r8, %rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_12_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_12_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_12_701_shufbytes.S
@@ -7203,3 +7203,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_15_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_15_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_15_701_shufbytes.S
@@ -12746,3 +12746,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_168_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_168_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_168_701_shufbytes.S
@@ -7917,3 +7917,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_1_701_patience.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_1_701_patience.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_1_701_patience.S
@@ -136,3 +136,4 @@ pop %r13
pop %r14
pop %r15
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_27_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_27_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_27_701_shufbytes.S
@@ -5383,3 +5383,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_336_701_shufbytes.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_336_701_shufbytes.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_336_701_shufbytes.S
@@ -6737,3 +6737,4 @@ vmovdqu %ymm1, 0(%rdi)
vmovdqu %ymm2, 32(%rdi)
vmovdqu %ymm3, 64(%rdi)
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_3_701_patience.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/ntruhrss701/avx2/square_3_701_patience.S
+++ libpqcrypto-20180314/crypto_kem/ntruhrss701/avx2/square_3_701_patience.S
@@ -380,3 +380,4 @@ pop %r13
pop %r14
pop %r15
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/syndrome_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/syndrome_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/syndrome_asm.S
@@ -1459,3 +1459,4 @@ movdqu %xmm0,192(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/transpose_64x128_sp_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/transpose_64x128_sp_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/transpose_64x128_sp_asm.S
@@ -8145,3 +8145,4 @@ movdqa %xmm1,1008(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_ama_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/vec256_ama_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_ama_asm.S
@@ -2322,3 +2322,4 @@ vmovupd %ymm0,0(%rsi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_maa_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/vec256_maa_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_maa_asm.S
@@ -2322,3 +2322,4 @@ vmovupd %ymm0,0(%rsi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_mul_asm.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_kem/mceliece8192128/avx/vec256_mul_asm.S
+++ libpqcrypto-20180314/crypto_kem/mceliece8192128/avx/vec256_mul_asm.S
@@ -2127,3 +2127,4 @@ vmovupd %ymm3,0(%rdi)
# qhasm: return
add %r11,%rsp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/todouble.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/todouble.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/todouble.S
@@ -142,3 +142,4 @@ faddp %st(0),%st(1)
fstpl 72(%ecx)
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/const.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/const.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/const.S
@@ -149,3 +149,4 @@ out9offset:
rounding:
.byte 0x7f
.byte 0x13
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/fromdouble.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/fromdouble.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/fromdouble.S
@@ -193,3 +193,4 @@ movl %edx,28(%ecx)
movl 0(%esp),%ebp
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/init.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/init.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/init.S
@@ -11,3 +11,4 @@ sub %eax,%esp
fldcw rounding
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/mainloop.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/mainloop.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/mainloop.S
@@ -3988,3 +3988,4 @@ movl 172(%ecx),%edi
movl 176(%ecx),%ebp
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/mult.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/mult.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/mult.S
@@ -408,3 +408,4 @@ fstpl 72(%ecx)
movl 0(%esp),%ebp
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits
Index: libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/square.S
===================================================================
--- libpqcrypto-20180314.orig/crypto_scalarmult/x25519notpq/athlon/square.S
+++ libpqcrypto-20180314/crypto_scalarmult/x25519notpq/athlon/square.S
@@ -296,3 +296,4 @@ fstpl 64(%ecx)
fstpl 72(%ecx)
add %eax,%esp
ret
+.section .note.GNU-stack,"",%progbits