Herbert Xu 31bd44e768 crypto: cryptd - Use correct tfm object for AEAD tracking
The AEAD code path incorrectly uses the child tfm to track the
cryptd refcnt, and then potentially frees the child tfm.

Fixes: 81760ea6a95a ("crypto: cryptd - Add helpers to check...")
Reported-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-08-31 22:50:40 +08:00
..
2016-07-01 23:45:11 +08:00
2016-07-18 17:35:38 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:40 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:44 +08:00
2016-07-18 17:35:42 +08:00
2016-07-18 17:35:40 +08:00