diff options
Diffstat (limited to 'src/crypto/chacha20-ssse3-x86_64.S')
-rw-r--r-- | src/crypto/chacha20-ssse3-x86_64.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/chacha20-ssse3-x86_64.S b/src/crypto/chacha20-ssse3-x86_64.S index f1fe3c9..483f79a 100644 --- a/src/crypto/chacha20-ssse3-x86_64.S +++ b/src/crypto/chacha20-ssse3-x86_64.S @@ -164,7 +164,7 @@ ENTRY(chacha20_asm_4block_xor_ssse3) # done with the slightly better performing SSSE3 byte shuffling, # 7/12-bit word rotation uses traditional shift+OR. - mov %rsp,%r11 + lea 8(%rsp),%r10 sub $0x80,%rsp and $~63,%rsp @@ -629,7 +629,7 @@ ENTRY(chacha20_asm_4block_xor_ssse3) pxor %xmm1,%xmm15 movdqu %xmm15,0xf0(%rsi) - mov %r11,%rsp + lea -8(%r10),%rsp ret ENDPROC(chacha20_asm_4block_xor_ssse3) |