linux-stable/drivers/crypto/inside-secure
Antoine Tenart ccc988d685 crypto: inside-secure - fix queued len computation
[ Upstream commit ccd65a206a ]

This patch fixes the queued len computation, which could theoretically
be wrong if req->len[1] - req->processed[1] > 1. Be future-proof here,
and fix it.

Fixes: b460edb623 ("crypto: inside-secure - sha512 support")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:53 +01:00
..
Makefile
safexcel.c treewide: Replace more open-coded allocation size multiplications 2018-10-05 18:06:30 -07:00
safexcel.h crypto: inside-secure - switch to SPDX identifiers 2018-07-20 13:51:22 +08:00
safexcel_cipher.c crypto: inside-secure - do not rely on the hardware last bit for result descriptors 2019-07-26 09:14:04 +02:00
safexcel_hash.c crypto: inside-secure - fix queued len computation 2020-01-27 14:50:53 +01:00
safexcel_ring.c crypto: inside-secure - switch to SPDX identifiers 2018-07-20 13:51:22 +08:00