2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/crypto/mediatek
Ryder Lee 82445fe995 crypto: mediatek - make mtk_sha_xmit() more generic
This is a transitional patch. It merges mtk_sha_xmit() and mtk_sha_xmit2()
to make transmit function more generic.
In addition, res->buf and cryp->tmp_dma in mtk_sha_xmit() are useless, since
crypto engine writes the result digests into ctx->tfm.digest instead of
res->buf. It's better to remove it.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-03-16 17:58:53 +08:00
..
Makefile crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-aes.c crypto: mediatek - add MTK_* prefix and correct annotations. 2017-03-16 17:58:52 +08:00
mtk-platform.c crypto: mediatek - add MTK_* prefix and correct annotations. 2017-03-16 17:58:52 +08:00
mtk-platform.h crypto: mediatek - make mtk_sha_xmit() more generic 2017-03-16 17:58:53 +08:00
mtk-regs.h crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-sha.c crypto: mediatek - make mtk_sha_xmit() more generic 2017-03-16 17:58:53 +08:00