Thread (2 messages) 2 messages, 2 authors, 2015-09-10

Re: [PATCH] crypto: sun4i-ss Fix a possible driver hang with ciphers

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2015-09-10 09:27:05
Also in: linux-arm-kernel, lkml

On Wed, Sep 09, 2015 at 02:27:07PM +0200, LABBE Corentin wrote:
The sun4i_ss_opti_poll function cipher data until the output miter have
a length of 0.
If the crypto API client, give more SGs than necessary this could result
in an infinite loop.
Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll().

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Applied.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help