crypto: hisilicon/sgl - fix the soft sg map to hardware sg
authorKai Ye <yekai13@huawei.com>
Fri, 9 Apr 2021 09:04:03 +0000 (17:04 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Apr 2021 11:16:34 +0000 (21:16 +1000)
commit4b95e17b8fcce5a137403f508fc77cad7d014c68
treec4f23604f5284cf4625ca84f53a1344208b48ca4
parent197272b8f0bb8de37248a30469262a79edb8e512
crypto: hisilicon/sgl - fix the soft sg map to hardware sg

The buffer of the hardware sge needs to be initialized by
soft sgl.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sgl.c