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

From
Horia Geantă <horia.geanta@nxp.com>
Date
2020-07-09 08:53:47
Reply to
Herbert Xu, 2020-07-09
On 7/9/2020 3:47 AM, Herbert Xu wrote:
On Wed, Jul 08, 2020 at 07:24:08PM +0300, Horia Geantă wrote:
quoted
I think the commit message should be updated to reflect this logic:
indeed, caam's implementation of ecb(arc4) is broken,
but instead of fixing it, crypto API-based ecb(arc4)
is removed completely from the kernel (hence from caam driver)
due to skcipher limitations in terms of handling the keystream.
Actually that's not quite true.  The reason I create this patch
in the first place is to remove this limitation from skcipher.
But the reason / context has changed in the meantime right?

If skcipher limitation is eliminated,
will it be possible to add ecb(arc4) implementation back in caam,
this time with the state stored in the request object?

My understanding is: no, if Ard's arc4 RFC series is merged.

Thanks,
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