summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/crypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/crypto/Makefile')
-rw-r--r--kernel/arch/powerpc/crypto/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/crypto/Makefile b/kernel/arch/powerpc/crypto/Makefile
new file mode 100644
index 000000000..9c221b69c
--- /dev/null
+++ b/kernel/arch/powerpc/crypto/Makefile
@@ -0,0 +1,17 @@
+#
+# powerpc/crypto/Makefile
+#
+# Arch-specific CryptoAPI modules.
+#
+
+obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
+obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o
+obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o
+obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o
+obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
+
+aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o
+md5-ppc-y := md5-asm.o md5-glue.o
+sha1-powerpc-y := sha1-powerpc-asm.o sha1.o
+sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o
+sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o