The cavium crypto driver adds 'sizeof(struct ablkcipher_request)' to its request size because "the cryptd daemon uses this memory for request_ctx information". This is incorrect and unnecessary; cryptd doesn't require wrapped algorithms to reserve extra request space. So remove this. Also remove the unneeded memset() of the tfm context to 0. It's already zeroed on allocation. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cpt_common.h | ||
| cpt_hw_types.h | ||
| cptpf.h | ||
| cptpf_main.c | ||
| cptpf_mbox.c | ||
| cptvf.h | ||
| cptvf_algs.c | ||
| cptvf_algs.h | ||
| cptvf_main.c | ||
| cptvf_mbox.c | ||
| cptvf_reqmanager.c | ||
| request_manager.h | ||