]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-sham - fix split update cases with cryptomgr tests
authorTero Kristo <t-kristo@ti.com>
Tue, 5 Nov 2019 14:00:57 +0000 (16:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:58 +0000 (16:36 +0800)
commit60a0894c323af7de0a1b69d64f7d81d13dd9b16c
tree52f64bb18d0fa9867c6a70fb0546293b57c0a03d
parenta9befcf46913bd70d1421ea6b77e8b47a8b70483
crypto: omap-sham - fix split update cases with cryptomgr tests

The updated crypto manager finds a couple of new bugs from the omap-sham
driver. Basically the split update cases fail to calculate the amount of
data to be sent properly, leading into failed results and hangs with the
hw accelerator.

To fix these, the buffer handling needs to be fixed, but we do some cleanup
for the code at the same time to cut away some unnecessary code so that
it is easier to fix.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c