Re: [PATCH] crypto/hisilicon: Add null judgment to the callback interface

From: Herbert Xu
Date: Thu Sep 29 2022 - 22:50:12 EST


On Fri, Sep 30, 2022 at 10:43:20AM +0800, Longfang Liu wrote:
> The algorithm acceleration function interface provided by the
> current crypto subsystem is in asynchronous mode, but some users
> will call it in synchronous mode, thus not providing a callback
> interface for the "base.complete" of the request.

Please give more details. Who is calling the callback functions
in synchronous mode?

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt