commit | 87421984b4d2e04cfe858849db10ac326d9f3aed | [log] [tgz] |
---|---|---|
author | Ryder Lee <ryder.lee@mediatek.com> | Fri Jan 20 13:41:11 2017 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jan 23 22:50:30 2017 +0800 |
tree | b8356d4297300ab8d2a554b422b622973ddb53f2 | |
parent | 382ae57d5e52a62e77d62e60e5be9a6526d40da0 [diff] |
crypto: mediatek - rework crypto request completion This patch introduces a new callback 'resume' in the struct mtk_aes_rec. This callback is run to resume/complete the processing of the crypto request when woken up by AES interrupts when DMA completion. This callback will help implementing the GCM mode support in further patches. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>