crypto: async - Use kzfree for requests
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Jul 2009 14:22:14 +0000 (22:22 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 12 Jul 2009 02:46:03 +0000 (10:46 +0800)
commitaef73cfcb913eae3d0deeb60eb385f75039db40b
tree3529010110c3dba2c1cc375b6cfb30d04153b73d
parent57cfe44bccb0e38ddb44a34a42f517deef1f4e82
crypto: async - Use kzfree for requests

This patch changes the kfree call to kzfree for async requests.
As the request may contain sensitive data it needs to be zeroed
before it can be reallocated by others.

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