diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-02 10:40:47 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-09 14:01:33 +0200 |
commit | 28389575a8cf933a5f3c378556b9f4d3cce0efd2 (patch) | |
tree | a5279edab102a586cda55f12c628c8455d9c76ab /drivers/crypto/sunxi-ss | |
parent | crypto: inside-secure - fix the sha state length in hmac_sha1_setkey (diff) | |
download | linux-28389575a8cf933a5f3c378556b9f4d3cce0efd2.tar.xz linux-28389575a8cf933a5f3c378556b9f4d3cce0efd2.zip |
crypto: ixp4xx - Fix error handling path in 'aead_perform()'
In commit 0f987e25cb8a, the source processing has been moved in front of
the destination processing, but the error handling path has not been
modified accordingly.
Free resources in the correct order to avoid some leaks.
Cc: <stable@vger.kernel.org>
Fixes: 0f987e25cb8a ("crypto: ixp4xx - Fix false lastlen uninitialised warning")
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/crypto/sunxi-ss')
0 files changed, 0 insertions, 0 deletions