crypto: skcipher - Add separate walker for AEAD decryption
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 13:14:07 +0000 (21:14 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Dec 2016 13:06:17 +0000 (21:06 +0800)
The AEAD decrypt interface includes the authentication tag in
req->cryptlen.  Therefore we need to exlucde that when doing
a walk over it.

This patch adds separate walker functions for AEAD encryption
and decryption.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

No differences found