crypto: mediatek - Add crypto driver support for some MediaTek chips
authorRyder Lee <ryder.lee@mediatek.com>
Mon, 19 Dec 2016 02:20:44 +0000 (10:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Dec 2016 09:51:30 +0000 (17:51 +0800)
commit785e5c616c849ec3615b3e86427f736315008b75
tree93ed09c53c4374aef3e7d4c36aed790b54a59d6d
parent6207119444595d287b1e9e83a2066c17209698f3
crypto: mediatek - Add crypto driver support for some MediaTek chips

This adds support for the MediaTek hardware accelerator on
mt7623/mt2701/mt8521p SoC.

This driver currently implement:
- SHA1 and SHA2 family(HMAC) hash algorithms.
- AES block cipher in CBC/ECB mode with 128/196/256 bits keys.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/mediatek/Makefile [new file with mode: 0644]
drivers/crypto/mediatek/mtk-aes.c [new file with mode: 0644]
drivers/crypto/mediatek/mtk-platform.c [new file with mode: 0644]
drivers/crypto/mediatek/mtk-platform.h [new file with mode: 0644]
drivers/crypto/mediatek/mtk-regs.h [new file with mode: 0644]
drivers/crypto/mediatek/mtk-sha.c [new file with mode: 0644]