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 <gark...@mailueberfall.de>
> Cc: sta...@kernel.org [v2.6.39+]
> Signed-off-by: Mathias Krause <mini...@googlemail.com>

Have measured this against increasing alignmask to 15?

Thanks,
-- 
Email: Herbert Xu <herb...@gondor.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-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to