Re: [PATCH] crypto: caam - Remove broken arc4 support

From
Horia Geantă <horia.geanta@nxp.com>
Date
2020-07-16 08:09:17
Reply to
Herbert Xu, 2020-07-02
On 7/2/2020 7:36 AM, Herbert Xu wrote:
The arc4 algorithm requires storing state in the request context
in order to allow more than one encrypt/decrypt operation.  As this
driver does not seem to do that, it means that using it for more
than one operation is broken.

Fixes: eaed71a44ad9 ("crypto: caam - add ecb(*) support")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Given the circumstances, it's not feasible to fix arc4 in caam.

Link: https://lore.kernel.org/linux-crypto/CAMj1kXGvMe_A_iQ43Pmygg9xaAM-RLy=_M=v+eg--8xNmv9P+w@mail.gmail.com (local)
Link: https://lore.kernel.org/linux-crypto/20200702101947.682-1-ardb@kernel.org (local)
Acked-by: Horia Geantă <horia.geanta@nxp.com>

Horia
Thread (18 messages) 18 messages, 3 authors, last reply 2020-07-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help