Skip to content
Commit f176e632 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: tcrypt - Fix AEAD chunk testing



My changeset 4b22f0dd

	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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f3c85bc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment