summaryrefslogtreecommitdiffstats
path: root/crypto/842.c
diff options
context:
space:
mode:
authorSalman Qazi <sqazi@google.com>2012-10-05 23:24:14 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-10-15 16:33:20 +0200
commitba1ee070909fae01248b8117da1706f3cf2bfd1b (patch)
tree98d982702fdc17a9699387c59583e9a5ecf0b984 /crypto/842.c
parentcrypto: talitos - convert to use be16_add_cpu() (diff)
downloadlinux-ba1ee070909fae01248b8117da1706f3cf2bfd1b.tar.xz
linux-ba1ee070909fae01248b8117da1706f3cf2bfd1b.zip
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 <sqazi@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions