diff options
author | Linus Torvalds | 2017-10-30 09:31:15 -0700 |
---|---|---|
committer | Linus Torvalds | 2017-10-30 09:31:15 -0700 |
commit | 1960e8eabcba2749db9443adb2a5d93e4dabf590 (patch) | |
tree | 17a757b4d80872d99be54dfd2caa0d83d3c00125 /arch/x86/crypto/chacha20-ssse3-x86_64.S | |
parent | 0b07194bb55ed836c2cc7c22e866b87a14681984 (diff) | |
parent | 4635742d1cef5ee5f217f89310a8782ebb4e25dd (diff) |
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu:
"This fixes an objtool regression"
* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: x86/chacha20 - satisfy stack validation 2.0
Diffstat (limited to 'arch/x86/crypto/chacha20-ssse3-x86_64.S')
-rw-r--r-- | arch/x86/crypto/chacha20-ssse3-x86_64.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/crypto/chacha20-ssse3-x86_64.S b/arch/x86/crypto/chacha20-ssse3-x86_64.S index 3f511a7d73b8..512a2b500fd1 100644 --- a/arch/x86/crypto/chacha20-ssse3-x86_64.S +++ b/arch/x86/crypto/chacha20-ssse3-x86_64.S @@ -160,7 +160,7 @@ ENTRY(chacha20_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 @@ -625,6 +625,6 @@ ENTRY(chacha20_4block_xor_ssse3) pxor %xmm1,%xmm15 movdqu %xmm15,0xf0(%rsi) - mov %r11,%rsp + lea -8(%r10),%rsp ret ENDPROC(chacha20_4block_xor_ssse3) |