crypto: skcipher - Add helper to zero stack request
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jan 2016 15:21:10 +0000 (23:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 Jan 2016 14:42:12 +0000 (22:42 +0800)
commit1aaa753d918c48c603195a468766e6a2b32b87f9
tree5e5a893be728bd981bc3019308c6318f4d61915d
parente67ffe0af4d450e95e5f9bb7d081500e30777857
crypto: skcipher - Add helper to zero stack request

As the size of an skcipher_request is variable, it's awkward to
zero it explicitly.  This patch adds a helper to do that which
should be used when it is created on the stack.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/skcipher.h