blob: 81cda39860c5c7ad90a6710727011ec79296e5d8 [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
8
Ard Biesheuvele4e7f102013-09-16 18:31:38 +02009aes-arm-y := aes-armv4.o aes_glue.o
10aes-arm-bs-y := aesbs-core.o aesbs-glue.o
11sha1-arm-y := sha1-armv4-large.o sha1_glue.o
12
13quiet_cmd_perl = PERL $@
14 cmd_perl = $(PERL) $(<) > $(@)
15
16$(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl
17 $(call cmd,perl)
18
19.PRECIOUS: $(obj)/aesbs-core.S