From: Salman Qazi Date: Fri, 5 Oct 2012 21:24:14 +0000 (-0700) Subject: crypto: vmac - Make VMAC work when blocks aren't aligned X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~7^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba1ee070909fae01248b8117da1706f3cf2bfd1b;p=pandora-kernel.git crypto: vmac - Make VMAC work when blocks aren't aligned 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed