[PATCH] crypto: ahash - Fix early termination in hash walk

2018-03-25 Thread Eli Cooper
off-by: Eli Cooper --- crypto/ahash.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/crypto/ahash.c b/crypto/ahash.c index 3a35d67de7d9..03cbe04c53b1 100644 --- a/crypto/ahash.c +++ b/crypto/ahash.c @@ -46,8 +46,11 @@ static int hash_walk_next(str

[PATCH] crypto: chacha20_4block_xor_ssse3: Align stack pointer to 64 bytes

2016-01-21 Thread Eli Cooper
This aligns the stack pointer in chacha20_4block_xor_ssse3 to 64 bytes. Fixes general protection faults and potential kernel panics. Cc: sta...@vger.kernel.org Signed-off-by: Eli Cooper --- arch/x86/crypto/chacha20-ssse3-x86_64.S | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff