Home
last modified time | relevance | path

Searched hist:"6488 bce756861b94810e54f83416d5e74c0f18bf" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/crypto/
H A Dsha1_ssse3_asm.Sdiff 6488bce756861b94810e54f83416d5e74c0f18bf Mon Sep 18 21:42:06 CEST 2017 Josh Poimboeuf <jpoimboe@redhat.com> crypto: x86/sha1-ssse3 - 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.

Swap the usages of R12 and RBP. Use R12 for the REG_D register, and use
RBP to store the pre-aligned stack pointer.

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>