blob: d92d05ba646edc957b9800c7399d1272cf43dd68 [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
Ard Biesheuvel864cbee2015-03-10 09:47:45 +010010obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o
David McCulloughf0be44f2012-09-07 04:17:02 +080011
Ard Biesheuvele4e7f102013-09-16 18:31:38 +020012aes-arm-y := aes-armv4.o aes_glue.o
13aes-arm-bs-y := aesbs-core.o aesbs-glue.o
14sha1-arm-y := sha1-armv4-large.o sha1_glue.o
Jussi Kivilinna60468252014-07-29 17:14:14 +010015sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o
Jussi Kivilinnac8611d72014-07-29 17:15:24 +010016sha512-arm-neon-y := sha512-armv7-neon.o sha512_neon_glue.o
Ard Biesheuvel864cbee2015-03-10 09:47:45 +010017sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o
Ard Biesheuvele4e7f102013-09-16 18:31:38 +020018
19quiet_cmd_perl = PERL $@
20 cmd_perl = $(PERL) $(<) > $(@)
21
22$(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl
23 $(call cmd,perl)
24
25.PRECIOUS: $(obj)/aesbs-core.S