commit | e67ffe0af4d450e95e5f9bb7d081500e30777857 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 22 23:17:58 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jan 25 22:42:11 2016 +0800 |
tree | 98409c608f62e24177d8ee1b92c76d3861fbf5dc | |
parent | b3614763059b82c26bdd02ffcb1c016c1132aad0 [diff] |
crypto: hash - Add helpers to zero stack request/descriptor As the size of an ahash_request or shash_desc is variable, it's awkward to zero them explicitly. This patch adds helpers to do that which should be used when they are created on the stack. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>