Re: [PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-23 Thread Arnd Bergmann
On Wed, Sep 23, 2020 at 8:08 PM LABBE Corentin wrote: > On Wed, Sep 23, 2020 at 04:00:32PM +0200, Arnd Bergmann wrote: > > On Sun, Sep 20, 2020 at 8:37 PM Corentin Labbe wrote: > > > diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c > > >

Re: [PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-23 Thread LABBE Corentin
On Wed, Sep 23, 2020 at 04:00:32PM +0200, Arnd Bergmann wrote: > On Sun, Sep 20, 2020 at 8:37 PM Corentin Labbe wrote: > > > > Ciphers produce invalid results on BE. > > Key and IV need to be written in LE. > > > > Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System > >

Re: [PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-23 Thread Arnd Bergmann
On Sun, Sep 20, 2020 at 8:37 PM Corentin Labbe wrote: > > Ciphers produce invalid results on BE. > Key and IV need to be written in LE. > > Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System > crypto accelerator") > Cc: > Signed-off-by: Corentin Labbe > --- >

[PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-20 Thread Corentin Labbe
Ciphers produce invalid results on BE. Key and IV need to be written in LE. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 ++-- 1 file changed,