diff options
author | Josh Poimboeuf | 2017-09-18 14:42:11 -0500 |
---|---|---|
committer | Herbert Xu | 2017-09-20 17:42:38 +0800 |
commit | 8f182f845d0fa26ecc18d3bdcc3d1077a0ea3a31 (patch) | |
tree | d8161aeaa48bc2f93de4eee69cfa9d535fbf5f18 /drivers | |
parent | ca04c823763e5b82c237cabe0c17f547ecdc6271 (diff) |
crypto: x86/twofish - Fix RBP usage
Using RBP as a temporary register breaks frame pointer convention and
breaks stack traces when unwinding from an interrupt in the crypto code.
Use R13 instead of RBP. Both are callee-saved registers, so the
substitution is straightforward.
Reported-by: Eric Biggers <ebiggers@google.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Tested-by: Eric Biggers <ebiggers@google.com>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions