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

2020-11-16 Thread Arnd Bergmann
On Mon, Nov 16, 2020 at 2:53 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 v3 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-11-16 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,