Ovidiu Panait
c660aa7784
crypto: sahara - do not resize req->src when doing hash operations
...
[ Upstream commit a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298 ]
When testing sahara sha256 speed performance with tcrypt (mode=404) on
imx53-qsrb board, multiple "Invalid numbers of src SG." errors are
reported. This was traced to sahara_walk_and_recalc() resizing req->src
and causing the subsequent dma_map_sg() call to fail.
Now that the previous commit fixed sahara_sha_hw_links_create() to take
into account the actual request size, rather than relying on sg->length
values, the resize operation is no longer necessary.
Therefore, remove sahara_walk_and_recalc() and simplify associated logic.
Fixes: 5a2bb93f59 ("crypto: sahara - add support for SHA1/256")
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2024-01-25 15:35:18 -08:00
..
2024-01-10 17:16:47 +01:00
2024-01-25 15:35:15 -08:00
2024-01-20 11:51:48 +01:00
2023-12-08 08:52:17 +01:00
2023-12-20 17:01:46 +01:00
2023-12-13 18:45:33 +01:00
2024-01-20 11:51:46 +01:00
2024-01-01 12:42:31 +00:00
2024-01-20 11:51:47 +01:00
2023-10-26 09:42:37 +02:00
2023-11-28 17:20:00 +00:00
2024-01-20 11:51:42 +01:00
2023-11-28 17:19:36 +00:00
2023-09-12 15:49:20 +02:00
2024-01-20 11:51:47 +01:00
2023-10-02 13:13:15 +02:00
2024-01-25 15:35:14 -08:00
2024-01-25 15:35:15 -08:00
2024-01-25 15:35:18 -08:00
2024-01-10 17:17:02 +01:00
2023-11-20 11:59:00 +01:00
2024-01-10 17:16:59 +01:00
2023-12-08 08:52:19 +01:00
2024-01-25 15:35:12 -08:00
2024-01-10 17:17:00 +01:00
2024-01-20 11:51:43 +01:00
2023-10-24 19:32:39 +02:00
2024-01-01 12:42:46 +00:00
2024-01-20 11:51:48 +01:00
2024-01-20 11:51:45 +01:00
2023-11-20 11:59:08 +01:00
2023-09-04 11:26:29 -07:00
2024-01-20 11:51:42 +01:00
2024-01-20 11:51:49 +01:00
2024-01-20 11:51:46 +01:00
2023-11-28 17:20:06 +00:00
2024-01-25 15:35:12 -08:00
2024-01-10 17:16:57 +01:00
2024-01-10 17:16:55 +01:00
2024-01-20 11:51:44 +01:00
2024-01-01 12:42:36 +00:00
2024-01-10 17:16:57 +01:00
2023-12-03 07:33:02 +01:00
2023-10-23 09:39:46 +01:00
2024-01-20 11:51:48 +01:00
2023-09-05 10:11:01 -05:00
2023-11-28 17:20:05 +00:00
2024-01-20 11:51:48 +01:00
2024-01-10 17:17:02 +01:00
2023-11-20 11:59:17 +01:00
2023-11-28 17:20:03 +00:00
2023-12-13 18:45:29 +01:00
2024-01-10 17:17:01 +01:00
2024-01-25 15:35:15 -08:00
2024-01-20 11:51:44 +01:00
2023-12-20 17:01:59 +01:00
2023-11-20 11:59:19 +01:00
2024-01-20 11:51:41 +01:00
2024-01-01 12:42:44 +00:00
2023-12-13 18:45:03 +01:00
2023-11-28 17:20:08 +00:00
2024-01-20 11:51:48 +01:00
2024-01-20 11:51:49 +01:00
2023-11-20 11:59:31 +01:00
2024-01-25 15:35:13 -08:00
2024-01-10 17:16:57 +01:00
2024-01-20 11:51:46 +01:00
2024-01-25 15:35:14 -08:00
2023-11-28 17:20:00 +00:00
2023-11-08 11:56:20 +01:00
2023-12-13 18:45:25 +01:00
2023-11-28 17:19:51 +00:00
2023-11-20 11:59:34 +01:00
2023-11-20 11:59:07 +01:00
2023-09-04 15:12:26 -07:00
2024-01-20 11:51:44 +01:00
2023-09-04 15:08:52 -07:00
2023-11-20 11:59:30 +01:00
2024-01-20 11:51:44 +01:00
2024-01-01 12:42:45 +00:00
2023-11-28 17:19:41 +00:00
2024-01-20 11:51:42 +01:00
2024-01-25 15:35:15 -08:00
2023-11-20 11:59:32 +01:00
2023-09-27 10:55:29 -04:00
2023-12-13 18:45:11 +01:00
2024-01-25 15:35:15 -08:00
2024-01-01 12:42:46 +00:00
2023-12-13 18:45:33 +01:00
2024-01-01 12:42:37 +00:00
2024-01-20 11:51:48 +01:00
2024-01-01 12:42:41 +00:00
2024-01-20 11:51:41 +01:00
2023-12-08 08:52:25 +01:00
2023-11-28 17:19:49 +00:00
2023-11-20 11:59:38 +01:00
2023-11-20 11:59:30 +01:00
2024-01-05 15:19:41 +01:00
2023-09-13 10:48:42 +02:00
2023-11-28 17:20:11 +00:00
2023-12-03 07:33:07 +01:00
2023-09-08 11:24:34 -07:00
2023-09-13 11:09:21 +02:00