Re: [PATCH] crypto: aesni-intel - fix unaligned cbc decrypt for x86-32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 30, 2012 at 01:43:08AM +0200, Mathias Krause wrote:
> The 32 bit variant of cbc(aes) decrypt is using instructions requiring
> 128 bit aligned memory locations but fails to ensure this constraint in
> the code. Fix this by loading the data into intermediate registers with
> load unaligned instructions.
> 
> This fixes reported general protection faults related to aesni.
> 
> References: https://bugzilla.kernel.org/show_bug.cgi?id=43223
> Reported-by: Daniel <garkein@xxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxx [v2.6.39+]
> Signed-off-by: Mathias Krause <minipli@xxxxxxxxxxxxxx>

Patch applied to crypto.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux