summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@free-electrons.com>2016-10-05 09:56:33 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-10-21 11:03:40 +0800
commitf34dad1721642989336283c9e6c3b8f6b23fa67c (patch)
tree964d554027cf46c7d2602a7970e82faccd264e24 /drivers/phy
parent0c99620f0ac13a51f2f78cf62e6b551a09f8b1f1 (diff)
crypto: marvell - Don't break chain for computable last ahash requests
Currently, the driver breaks chain for all kind of hash requests in order to don't override intermediate states of partial ahash updates. However, some final ahash requests can be directly processed by the engine, and so without intermediate state. This is typically the case for most for the HMAC requests processed via IPSec. This commits adds a TDMA descriptor to copy context for these of requests into the "op" dma pool, then it allow to chain these requests at the DMA level. The 'complete' operation is also updated to retrieve the MAC digest from the right location. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions