[PATCH v4 08/17] crypto: sun8i-ce: move iv data to request context

LABBE Corentin clabbe at baylibre.com
Fri Aug 21 03:35:04 EDT 2020


On Fri, Jul 31, 2020 at 06:24:27PM +1000, Herbert Xu wrote:
> On Tue, Jul 21, 2020 at 07:06:22PM +0000, Corentin Labbe wrote:
> > Instead of storing IV data in the channel context, store them in the
> > request context.
> > Storing them in the channel structure was conceptualy wrong since they
> > are per request related.
> > 
> > Signed-off-by: Corentin Labbe <clabbe at baylibre.com>
> > ---
> >  .../allwinner/sun8i-ce/sun8i-ce-cipher.c      | 27 +++++++++----------
> >  drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h  | 10 ++++---
> >  2 files changed, 19 insertions(+), 18 deletions(-)
> 
> This patch doesn't apply against cryptodev.
> 

Hello

Since cryptodev now have 453431a54934 ("mm, treewide: rename kzfree() to kfree_sensitive()"), my serie should apply cleanly.

Thanks
Regards



More information about the linux-arm-kernel mailing list