Messages in this thread | | | Date | Fri, 20 Dec 2019 15:05:34 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 1/2] crypto: caam - remove double buffering for ahash |
| |
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@nxp.com> > --- > drivers/crypto/caam/caamhash.c | 158 ++++++++++++--------------------- > 1 file changed, 58 insertions(+), 100 deletions(-)
All applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |