commit | 82445fe995f4b1edf131157a7328796d5aec1efb | [log] [tgz] |
---|---|---|
author | Ryder Lee <ryder.lee@mediatek.com> | Thu Mar 09 10:11:14 2017 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Mar 16 17:58:53 2017 +0800 |
tree | 820e89322c58b738fe082f1358568db27e8c23e0 | |
parent | b7a2be388b5574428170e1a22f800f1d71cbfd64 [diff] |
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>