AW: [PATCH] crypto: caam: do not register AES-XTS mode on LP units
From: Sven Ebenfeld
Date: Mon Nov 07 2016 - 12:58:20 EST
> -----Ursprüngliche Nachricht-----
> Von: Horia Geanta Neag [mailto:horia.geanta@xxxxxxx]
> Gesendet: Montag, 7. November 2016 08:14
> An: Sven Ebenfeld <sven.ebenfeld@xxxxxxxxx>; linux-
> crypto@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Cc: herbert@xxxxxxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; Cata Vasile
> <cata.vasile@xxxxxxx>
> Betreff: Re: [PATCH] crypto: caam: do not register AES-XTS mode on LP
units
>
> On 11/5/2016 1:17 AM, Sven Ebenfeld wrote:
> > When using AES-XTS on a Wandboard, we receive a Mode error:
> > caam_jr 2102000.jr1: 20001311: CCB: desc idx 19: AES: Mode error.
> >
> > Due to the Security Reference Manual, the Low Power AES units
> s/Due to/According to
>
> > of the i.MX6 do not support the XTS mode. Therefore we should try to
> > provide them them in the API.
> >
> Rephrase: Therefore we mustn't register XTS implementations to Crypto API
> in this case.
>
> > Signed-off-by: Sven Ebenfeld <sven.ebenfeld@xxxxxxxxx>
> Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx>
>
> Please send the patch to -stable and mention the offending commit:
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.4+
> Fixes: c6415a6016bf "crypto: caam - add support for acipher xts(aes)"
>
> Thanks,
> Horia
Thanks, I've sent a v2.
Sven
Attachment:
smime.p7s
Description: S/MIME cryptographic signature