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