commit | 34bc085c839cef85e3e795b1cee29514f69c3081 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Nov 30 21:14:07 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Dec 01 21:06:17 2016 +0800 |
tree | ba6239d07314f1b3bbcef5f6a3fcc4f2a078b65b | |
parent | 81126d1a8bc23c72a13c05c4308dc6951afc3b45 [diff] |
crypto: skcipher - Add separate walker for AEAD decryption 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>