crypto: tcrypt - Fix AEAD chunk testing
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Jul 2008 08:23:51 +0000 (16:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 13 Aug 2008 10:08:36 +0000 (20:08 +1000)
commitf176e632efad33aeb2d3c5ddfa86861c0d60553c
tree23da81862b250c2b063ec6b120b1ae3e9d6e5e9b
parentf3c85bc1bc72b4cc8d58664a490a9d42bdb6565a
crypto: tcrypt - Fix AEAD chunk testing

My changeset 4b22f0ddb6564210c9ded7ba25b2a1007733e784

crypto: tcrpyt - Remove unnecessary kmap/kunmap calls

introduced a typo that broke AEAD chunk testing.  In particular,
axbuf should really be xbuf.

There is also an issue with testing the last segment when encrypting.
The additional part produced by AEAD wasn't tested.  Similarly, on
decryption the additional part of the AEAD input is mistaken for
corruption.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c