]> 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)
commit350f09352c74e1d4dba4c7e6d6cfcbeb6ec29e5c
tree52f64bb18d0fa9867c6a70fb0546293b57c0a03d
parent3c94b6cfb8c3be5af75db8e18d6a5439b0083b5a
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