[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130613065838.GA1691@gondor.apana.org.au>
Date: Thu, 13 Jun 2013 14:58:38 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jussi Kivilinna <jussi.kivilinna@....fi>
Cc: linux-crypto@...r.kernel.org, Dave Jones <davej@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: aesni_intel - fix accessing of unaligned memory
On Tue, Jun 11, 2013 at 10:25:22PM +0300, Jussi Kivilinna wrote:
> The new XTS code for aesni_intel uses input buffers directly as memory operands
> for pxor instructions, which causes crash if those buffers are not aligned to
> 16 bytes.
>
> Patch changes XTS code to handle unaligned memory correctly, by loading memory
> with movdqu instead.
>
> Reported-by: Dave Jones <davej@...hat.com>
> Tested-by: Dave Jones <davej@...hat.com>
> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@....fi>
Applied to crypto. Thanks!
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists