On Tue, Jul 28, 2009 at 05:07:11PM +0200, Roel Kluin wrote:
> In crypto_aes_expand_key() loop8(i) writes up to ctx->key_enc[8*i+15], at most
> 63. ctx->key_enc has length (15*16)/4 == 60, so the last 16 bytes of key_enc
> will overflow into ctx->key_dec.
> 
> Signed-off-by: Roel Kluin <roel.kl...@gmail.com>

This is already fixed by

commit 7b4ffcf953f091a815df081911c5e75c8a38418d
Author: Phil Carmody <ext-phil.2.carm...@nokia.com>
Date:   Fri Jul 24 13:59:17 2009 +0800

    crypto: aes - Undefined behaviour in crypto_aes_expand_key

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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