vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S in rbnacl-libsodium-1.0.10 vs vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S in rbnacl-libsodium-1.0.11

- old
+ new

@@ -39,10 +39,12 @@ movq 32(%rsi),%rsi movq %r9,16(%rdi) movq %rax,24(%rdi) movq %rsi,32(%rdi) mov %rdx,%rsi + +.p2align 4 ._loop: sub $1,%rsi mov %rcx,%rax mul %rcx add %rcx,%rcx @@ -152,9 +154,10 @@ lea (%rax,%r9),%rcx and %rdx,%r10 movq %r10,32(%rdi) cmp $0,%rsi jne ._loop + movq %rcx,0(%rdi) movq %r8,8(%rdi) movq 0(%rsp),%r11 movq 8(%rsp),%r12 movq 16(%rsp),%r13