Re: [PATCH] crypto: Make VMAC work when blocks aren't aligned

From: Herbert Xu
Date: Mon Oct 15 2012 - 10:34:14 EST


On Fri, Oct 05, 2012 at 02:24:14PM -0700, Salman Qazi wrote:
> VMAC implementation, as it is, does not work with blocks that
> are not multiples of 128-bytes. Furthermore, this is a problem
> when using the implementation on scatterlists, even
> when the complete plain text is 128-byte multiple, as the pieces
> that get passed to vmac_update can be pretty much any size.
>
> I also added test cases for unaligned blocks.
>
> Signed-off-by: Salman Qazi <sqazi@xxxxxxxxxx>

Patch applied. 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/