summaryrefslogtreecommitdiff
path: root/crypto/anubis.c
diff options
context:
space:
mode:
authorSalman Qazi <sqazi@google.com>2012-10-05 14:24:14 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2012-10-15 22:33:20 +0800
commitc64be048592b1f6bac765250d1aa27ad4116d860 (patch)
tree5c595d1b0632570635b841005d0b29e9094790da /crypto/anubis.c
parent2901ec2ef1c191bca0c8d743f00e5d33cb152f63 (diff)
downloadlinux-crypto-c64be048592b1f6bac765250d1aa27ad4116d860.tar.gz
linux-crypto-c64be048592b1f6bac765250d1aa27ad4116d860.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/anubis.c')
0 files changed, 0 insertions, 0 deletions