summaryrefslogtreecommitdiff
path: root/arch/powerpc/crypto/crc32c-vpmsum_glue.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-04-12 21:25:31 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 22:15:04 +0800
commit0edf8593eb0985c88aa668b00befcdc1183d004d (patch)
tree0a4ab720a812938442bde197429b5b8ad183b353 /arch/powerpc/crypto/crc32c-vpmsum_glue.c
parent0a877e354a2c09435c8aea3fd2188cdef3c149f7 (diff)
crypto: cavium - remove bogus code handling cryptd
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>
Diffstat (limited to 'arch/powerpc/crypto/crc32c-vpmsum_glue.c')
0 files changed, 0 insertions, 0 deletions