]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: chcr - Remove dynamic allocation
authorHarsh Jain <harsh@chelsio.com>
Tue, 29 Nov 2016 13:30:38 +0000 (19:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 12:01:47 +0000 (20:01 +0800)
commit44fce12a3464c35b5c6a36b6db379745ff502b82
tree1ab37b1b09380f77fc0e02224bb42398e74a520a
parent18f0aa06a3c90b249e8b3a423e67dbfb0c784688
crypto: chcr - Remove dynamic allocation

Remove malloc/free in hash operation and allocate
 memory in chcr_ahash_req_ctx structure.

Signed-off-by: Jitendra Lulla <JLULLA@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h