Re: [PATCH 1/2] crypto: caam - remove double buffering for ahash

From: Herbert Xu
Date: Fri Dec 20 2019 - 02:05:44 EST


On Mon, Dec 09, 2019 at 06:59:55PM +0200, Andrei Botila wrote:
> Previously double buffering was used for storing previous and next
> "less-than-block-size" bytes. Double buffering can be removed by moving
> the copy of next "less-than-block-size" bytes after current request is
> executed by HW.
>
> Signed-off-by: Andrei Botila <andrei.botila@xxxxxxx>
> ---
> drivers/crypto/caam/caamhash.c | 158 ++++++++++++---------------------
> 1 file changed, 58 insertions(+), 100 deletions(-)

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