David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 1 | # |
| 2 | # Arch-specific CryptoAPI modules. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 6 | obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o |
David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 7 | obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 8 | obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o |
Jussi Kivilinna | c8611d7 | 2014-07-29 17:15:24 +0100 | [diff] [blame] | 9 | obj-$(CONFIG_CRYPTO_SHA512_ARM_NEON) += sha512-arm-neon.o |
Ard Biesheuvel | 864cbee | 2015-03-10 09:47:45 +0100 | [diff] [blame^] | 10 | obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o |
David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 11 | |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 12 | aes-arm-y := aes-armv4.o aes_glue.o |
| 13 | aes-arm-bs-y := aesbs-core.o aesbs-glue.o |
| 14 | sha1-arm-y := sha1-armv4-large.o sha1_glue.o |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 15 | sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o |
Jussi Kivilinna | c8611d7 | 2014-07-29 17:15:24 +0100 | [diff] [blame] | 16 | sha512-arm-neon-y := sha512-armv7-neon.o sha512_neon_glue.o |
Ard Biesheuvel | 864cbee | 2015-03-10 09:47:45 +0100 | [diff] [blame^] | 17 | sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 18 | |
| 19 | quiet_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 |