• Herbert Xu's avatar
    crypto: tcrypt - Fix AEAD chunk testing · f176e632
    Herbert Xu authored
    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>
    f176e632
tcrypt.c 48.6 KB