]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: caam - remove double buffering for ahash
authorAndrei Botila <andrei.botila@nxp.com>
Mon, 9 Dec 2019 16:59:55 +0000 (18:59 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2019 06:58:33 +0000 (14:58 +0800)
commit46b49abc5d0ada1e2ba8f872ad98fa742555bdb1
tree362e47d63b61162385e15813e08b2dcd37b67530
parent7f8c36fe9be46862c4f3c5302f769378028a34fa
crypto: caam - remove double buffering for ahash

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>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c