crypto: mediatek - move HW control data to transformation context
authorRyder Lee <ryder.lee@mediatek.com>
Fri, 20 Jan 2017 05:41:08 +0000 (13:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jan 2017 14:50:29 +0000 (22:50 +0800)
commita873996238e4019c54c49b56fcc1fef35a93da41
tree959aac5506e3e641aa8c3b684b88ba59e6b06ebf
parente183914af00e15eb41ae666d44e323bfa154be13
crypto: mediatek - move HW control data to transformation context

This patch moves hardware control block members from
mtk_*_rec to transformation context and refines related
definition. This makes operational context to manage its
own control information easily for each DMA transfer.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mediatek/mtk-aes.c
drivers/crypto/mediatek/mtk-platform.h
drivers/crypto/mediatek/mtk-sha.c