blob: b48fa341648d1766a49bf4553e3149836d264c66 [file] [log] [blame]
David McCulloughf0be44f2012-09-07 04:17:02 +08001#
2# Arch-specific CryptoAPI modules.
3#
4
5obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o
Ard Biesheuvele4e7f102013-09-16 18:31:38 +02006obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
David McCulloughf0be44f2012-09-07 04:17:02 +08007obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o
Jussi Kivilinna60468252014-07-29 17:14:14 +01008obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o
Jussi Kivilinnac8611d72014-07-29 17:15:24 +01009obj-$(CONFIG_CRYPTO_SHA512_ARM_NEON) += sha512-arm-neon.o
David McCulloughf0be44f2012-09-07 04:17:02 +080010
Ard Biesheuvele4e7f102013-09-16 18:31:38 +020011aes-arm-y := aes-armv4.o aes_glue.o
12aes-arm-bs-y := aesbs-core.o aesbs-glue.o
13sha1-arm-y := sha1-armv4-large.o sha1_glue.o
Jussi Kivilinna60468252014-07-29 17:14:14 +010014sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o
Jussi Kivilinnac8611d72014-07-29 17:15:24 +010015sha512-arm-neon-y := sha512-armv7-neon.o sha512_neon_glue.o
Ard Biesheuvele4e7f102013-09-16 18:31:38 +020016
17quiet_cmd_perl = PERL $@
18 cmd_perl = $(PERL) $(<) > $(@)
19
20$(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl
21 $(call cmd,perl)
22
23.PRECIOUS: $(obj)/aesbs-core.S