summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mediatek/Makefile
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2016-12-19 03:20:44 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-27 10:51:30 +0100
commit785e5c616c849ec3615b3e86427f736315008b75 (patch)
tree93ed09c53c4374aef3e7d4c36aed790b54a59d6d /drivers/crypto/mediatek/Makefile
parentcrypto: algif_hash - avoid zero-sized array (diff)
downloadlinux-785e5c616c849ec3615b3e86427f736315008b75.tar.xz
linux-785e5c616c849ec3615b3e86427f736315008b75.zip
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>
Diffstat (limited to 'drivers/crypto/mediatek/Makefile')
-rw-r--r--drivers/crypto/mediatek/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/mediatek/Makefile b/drivers/crypto/mediatek/Makefile
new file mode 100644
index 000000000000..187be79c7f3e
--- /dev/null
+++ b/drivers/crypto/mediatek/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_CRYPTO_DEV_MEDIATEK) += mtk-crypto.o
+mtk-crypto-objs:= mtk-platform.o mtk-aes.o mtk-sha.o