aboutsummaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "crypto: cryptd - process CRYPTO_ALG_INTERNAL"Mister Oyster2018-01-051-41/+8
| | | | This reverts commit 86a089f9d5daa70415ba2dae64f46850898822a3.
* Revert "crypto: cryptd - Add helpers to check whether a tfm is queued"Mister Oyster2018-01-051-114/+19
| | | | This reverts commit 491447aaa084df16062f9ffc730c8b8c8510ca8b.
* crypto: cryptd - Add helpers to check whether a tfm is queuedHerbert Xu2017-12-141-19/+114
| | | | | | | | | | | | | | This patch adds helpers to check whether a given tfm is currently queued. This is meant to be used by ablk_helper and similar entities to ensure that no reordering is introduced because of requests queued in cryptd with respect to requests being processed in softirq context. The per-cpu queue length limit is also increased to 1000 in line with network limits. Change-Id: I59aa3397d701a80dcff257d26635c83038839d93 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* crypto: cryptd - process CRYPTO_ALG_INTERNALStephan Mueller2017-12-141-8/+41
| | | | | | | | | | The cryptd is used as a wrapper around internal ciphers. Therefore, the cryptd must process the internal cipher by marking cryptd as internal if the underlying cipher is an internal cipher. Change-Id: I0c35f3b981337ae6427e8737a9a6f8d3016ccefc Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* crypto: cryptd - Assign statesize properlyWang, Rui Y2017-07-041-0/+1
| | | | | | | | | | | | | | | | commit 1a07834024dfca5c4bed5de8f8714306e0a11836 upstream. cryptd_create_hash() fails by returning -EINVAL. It is because after 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash drivers must have a non-zero statesize. This patch fixes the problem by properly assigning the statesize. Signed-off-by: Rui Wang <rui.y.wang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cc: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
* crypto: cryptd - initialize child shash_desc on importArd Biesheuvel2017-04-111-2/+7
| | | | | | | | | | | | | | commit 0bd2223594a4dcddc1e34b15774a3a4776f7749e upstream. When calling .import() on a cryptd ahash_request, the structure members that describe the child transform in the shash_desc need to be initialized like they are when calling .init() Cc: stable@vger.kernel.org Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
* 3.10.66 -> 3.10.67Jan Engelmohr2016-08-261-0/+1
|
* first commitMeizu OpenSource2016-08-151-0/+957