lkml.org 
[lkml]   [2013]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@redhat.com>
    > Tested-by: Dave Jones <davej@redhat.com>
    > Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

    Applied to crypto. Thanks!
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


    \
     
     \ /
      Last update: 2013-06-13 09:21    [W:6.201 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site