crypto: ccree - zero out internal struct before use
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 18 Apr 2019 13:38:54 +0000 (16:38 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:15 +0000 (15:38 +0800)
commit9f31eb6e08cc1b0eb3926eebf4c51467479a7722
treeb2ba8f104dceda539fa3370040cf75bcdbf885fb
parent03963caeb0dd77b1ead84a5ec913a7d28e8fe816
crypto: ccree - zero out internal struct before use

We did not zero out the internal struct before use causing problem
in some rare error code paths.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_aead.c